Skip to content

sparebank1utvikling/SB1_open_api_kotlin_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sb1_open_api_example

open api example code

TL;DR

  • Create a "client" at the Developer portal set Redirect Uri to http://localhost:8080
  • Rename/copy the file secrets.properties.example to secrets.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.

SpareBank 1 open api documentation

The documentation can be found here:

https://developer.sparebank1.no/#/

About

Example code using our open APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages