New in 2.4: Test runs you can trust See what's new →

OAuth 2.0

OAuth 2.0: um servidor de autorização em memória para testar fluxos de cliente. Suporta o grant authorization code com PKCE, client credentials, password e refresh token, além de um recurso protegido, userinfo, introspecção (RFC 7662) e revogação (RFC 7009). A autorização é aprovada automaticamente como o usuário apibee.

Requisição de exemplo

Start the authorization code flow and issue a code (auto-approved as user apibee). Referência completa e botão Send (em inglês).

cURL
curl -X GET "https://api.testingapis.com/api/auth/oauth/authorize?response_type=code&client_id=apibee-public&redirect_uri=http://localhost:3000/callback&state=xyz&code_challenge=E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM&code_challenge_method=S256"
Executar no Studio