This is a demonstration of how a client can use the Schibsted Account login flows. You can see it live at:
- https://pro.sdk-example.com (for development)
Its main intention is code as documentation and is intentionally simplified to demo the most important steps for using the SDK.
- Clone this repo
Configuring the server
- You need a few configs obtained from self service in the right environment in order to get
started. Set your Identity client credentials in the
.envfile in the root folder. To get a head start you can just copy a template that's already included in the repo (run:
cp .env-template .envand fill in the blanks. Take a look at .env-template to see what is needed.
- Then do a
source .env && npm start.
VSCode batteries included
If you're using VS Core it's super easy. Just choose the debug menu and launch "SDK-Example-DEV".
It's automatically load the configuration from the
.env file you created previously.