Getting tokens with Code Flow
The flow mirrors the production scenario, but the response always returns the same token pair for your session. Lifetimes: access_token and id_token — 24 hours; refresh_token — 30 days.
Start authorization
GET /authorize checks Code Flow parameters and returns 303 with the /signin form address in the Location header.
Open the sign-in form
GET /signin returns the test online-bank HTML form and a CSRF token for submitting credentials.
Sign in using the test online banking form
POST /login submits login, password, and CSRF token. On success, returns 303 with code and state parameters at the Redirect URI.
Exchange the code parameter for tokens
POST /token. Authorization: Basic from client_id:client_secret.
Refresh tokens with refresh_token
When access_token expires, requests will return 401. Refresh does not require re-authentication.
All authentication endpoints
Each endpoint is available for independent calls. Click a card to expand request parameters.
Check error handling
These actions add expected errors to the request console.