Connect your app

You have 3 options on how to connect your applications:

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).

You connect your app to Quasr using OpenID Connect and use the Quasr hosted login page.

OpenID Connect

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:

  1. Your app redirects to the authorization endpoint on Quasr which triggers the login.

  2. Your user signs up or logs in using the Quasr login page.

  3. 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: Hosted Login UI

Detailed Flow

Below sequence diagram detailing the entire flow.

Standard OpenID Connect (OIDC) flow with Hosted Login Page

Last updated