Zum Inhalt springen

Início da autorização OAuth (abre a tela de consentimento do app)

GET/oauth/authorize

Auth
Token erforderlich
Die Beschreibungen der Endpoints stammen aus der API-Spezifikation und sind vorerst auf Portugiesisch. Die Oberfläche drumherum ist übersetzt.

Valida o cliente, a `redirect_uri` (tem de ser uma das registradas), `response_type=code` e o PKCE (`code_challenge` com `code_challenge_method=S256`, obrigatório). Válido, redireciona (302) para a tela de consentimento do app (`{app}/_/mcp/authorize`) com os mesmos parâmetros. Cliente ou `redirect_uri` inválidos: 400, sem redirecionar. Os demais erros voltam para a `redirect_uri` com `error` e `state`. Público.

Parameter

NameOrtTypBeschreibung
response_typePflichtquerycode
client_idPflichtquerystring
redirect_uriPflichtquerystring
code_challengePflichtquerystring
code_challenge_methodPflichtqueryS256
stateoptionalquerystring
scopeoptionalquerystring
resourceoptionalquerystring

Antworten

StatusBeschreibung
302Para a tela de consentimento do app, ou de volta ao cliente com `error`.
400Cliente desconhecido ou `redirect_uri` não registrada.

curl-Beispiel

curl -X GET "https://api.memberfy.net/oauth/authorize" \
  -H "Authorization: Bearer $TOKEN"