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
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
response_typePflicht | query | code | |
client_idPflicht | query | string | |
redirect_uriPflicht | query | string | |
code_challengePflicht | query | string | |
code_challenge_methodPflicht | query | S256 | |
stateoptional | query | string | |
scopeoptional | query | string | |
resourceoptional | query | string |
Antworten
| Status | Beschreibung |
|---|---|
302 | Para a tela de consentimento do app, ou de volta ao cliente com `error`. |
400 | Cliente desconhecido ou `redirect_uri` não registrada. |
curl-Beispiel
curl -X GET "https://api.memberfy.net/oauth/authorize" \
-H "Authorization: Bearer $TOKEN"