Links

Authentication

An overview of what is the authentication service for your project.

Overview

Deskree provides the ability to create user accounts for your back-end using both email/password authentication as well as OAUTH providers.

AUTH Providers

You can manage your AUTH providers with the Authentication tab of your project. There you will need to input provider-specific attributes to activate each AUTH method. If a provider is missing those attributes for the setup to be complete, it will be indicated by a red exclamation mark sign.

Authorization Header

Deskree uses a Bearer token for all requests that require authentication, which must be sent in the Authorization header. The Bearer token is sent as idToken parameter in a response to user sign-up and sign-in requests in REST APIs and Javascript SDK
All requests with permissions set other than Public require authentication. See Permissions page for more information.
To be able to get the token from the sign-up and sign-requests, you must first activate the AUTH provider you are using.

OAUTH Sign-In Flow

You must first activate the AUTH provider you are using.
In order to sign-up/sign-in a user using OAUTH providers you need to:
  1. 1.
    First, create a URL for OAUTH sign-in either via Javascript SDK or REST AUTH API.
  2. 2.
    Use the returned authUri to prompt the user to authenticate with the OAUTH provider
  3. 3.
    Finally, complete the sign-in process using the returned data either via Javascript SDK or REST AUTH API.
For a practical example visit:
Last modified 3d ago
Copyright © 2023 Deskree Technologies Inc.