Connect your app
Last updated
Last updated
You have 3 options on how to connect your applications:
If you choose the embedded setup your users won't experience Single Sign-On (SSO), meaning that if a user wants to log into another application on the same device they'll have to log in again. Hence we advise you only choose this approach if you operate on constrained devices that only run a single app. If your device can open a browser it can still be beneficial not to go the embedded route if you want to improve user experience across different channels.
You connect your app to Quasr using OpenID Connect and use the Quasr hosted login page.
OpenID Connect is an Internet standard for identity federation, meaning it allows your apps to use a centralized identity provider. The standard builds upon OAuth 2.0 which is relevant for API access control. Hence it combines both identity and access control for your apps.
Don't worry it's an easy standard, in short:
Your app redirects to the authorization endpoint on Quasr which triggers the login.
Your user signs up or logs in using the Quasr login page.
When finished Quasr redirects back to your application with tokens, both an identity and an access token. Both tokens are signed JWT tokens. Your application can consume the identity token to learn about the user; the acces token you can use towards your backend APIs.
See:
Below sequence diagram detailing the entire flow.
If your app is a mobile app be mindful it will need to follow redirects and open a browser for the login experience. Also the redirect URI will need to open the app from the browser (see: ).
See:
See:
If your app is a mobile app be mindful it will need to follow redirects and open a browser for the login experience. Also the redirect URI will need to open the app from the browser (see: ).
See:
HOSTED (recommended)
You connect your app with Quasr using OpenID Connect and use the Quasr Hosted Login UI.
Choose this if you want to get started quickly.
CUSTOM
You connect your app with Quasr using OpenID Connect and use your own custom login UI (using the Authentication API).
Choose this if you want to customize your login page.
EMBEDDED (warning)
You connect your app with Quasr using the Authentication API and embed your own custom login UI in your app.
Choose this if your app sits on a constrained device (or you require no redirect / singular app).