Getting tokens with Code Flow
The scenario mirrors the production process: call /authorize, /signin, and /login in sequence, then exchange the resulting code for tokens through /token. All values are prefilled with your session data.
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.
Get the sign-in form
GET /signin returns the test online-bank HTML form and a CSRF token for submitting credentials.
Sign in to test online banking
POST /login submits login, password, and CSRF token. On success, returns 303 with code and state parameters at the Redirect URI.
Exchange code 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.