How to integrate Login with Blink
Client Side
1. Load and initialize the Blink SDK
2. Add a login button
Add your own login button on the web application, wherever you want to integrate the Login with Blink flow (e.g. on the login page or on the application's navigation bar).
You can customize the button's color with Blink's branded CSS.
3. Get an authorization code
Handle the login button click event by calling Blink SDK's
getAuthorizationCode
Server side
1. Check the server-side API prerequisites
2. Get a server-side login token
3. Register an OAuth application or get the configs of an already registered one
4. Get the user profile
Now you'll make the last API call for retrieving the Blink user profile details, using the previously obtained authorization code and OAuth application config .