open api example code
- Create a "client" at the Developer portal set
Redirect Uri
to http://localhost:8080 - Rename/copy the file
secrets.properties.example
tosecrets.properties
- Copy client id & client secret into
secrets.properties
- Start the app
- Go back to the Developer portal, and copy the Http request from step 2, and open it.
- Log in with Bank ID
The app now has stored both access token, and refresh token. And it will refresh the access token every time a call from the adapter fails with 401.
The documentation can be found here: