Zum Hauptinhalt springen

Obtain authorization from the resource owner

GET/v2/oauth2/authorize/
API version
v2
Request method
GET
Operation ID
user-oauth-get-authorization

The OAuth 2.0 client requests authorization from the resource owner according to RFC6749. The authorization request is made indirectly via the authorization server as an intermediary.

Request

Responses

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/oauth2/authorize?grant_consent=true&grant_type=authorization_code&response_type=code&client_id=string&redirect_uri=string&scope=string&state=string&code_challenge=string&code_challenge_method=S256