Test an OAuth2 / OIDC login flow
Build an authorization-code request with PKCE, check it for common mistakes, validate the redirect you get back and prepare the token call. This page sends nothing: you open the generated link yourself. We only count anonymous visits (no cookies, no IP).
Use a test client and test accounts. Never paste client secrets or live tokens here. The generated verifier stays in this page until you close it.
1. Authorization request
No redirect URI of your own? For a test client you can register https://tools.adamant-solutions.com/oauth2/callback/: our callback receiver shows the result and passes it back here when both tabs are in the same browser.
2. Check the redirect you received
3. Token request
The curl command is for a public client using PKCE. A confidential client adds its secret on the server side only. Check the returned ID token with our JWT inspector (decode only; verification belongs on the server).
How to use this tool
- Enter the authorization endpoint, client_id, redirect_uri and scopes of a test client.
- Press the generate button: the page creates state, nonce and a PKCE verifier and builds the authorization link, with warnings for common mistakes.
- Open the link, log in with a test account, then paste the URL you were redirected to in step 2 (or use the callback receiver).
- Step 3 prepares the curl command that exchanges the code for tokens.
Example
With an authorization endpoint such as https://idp.example.com/authorize and a redirect_uri on plain http, the page warns that the code can be intercepted. If your callback lacks the state you sent, step 2 tells you to reject it.
Limits
It prepares and checks requests; it does not send them for you and it does not know your server's particular rules. It covers the authorization code flow with PKCE.
Privacy and security of what you enter
Everything runs in your browser. The generated code verifier stays in the page until you close it. Use a test client and test accounts; never paste client secrets or live tokens. See the privacy notice.
We design and review OAuth2/OIDC, scopes and API gateways (WSO2 Identity Server and API Manager). See the WSO2 services or the security review.
Message us on LinkedIn