Last updated
Was this helpful?
Last updated
Was this helpful?
OAuth is an authorization protocol that allows an application to access a user's resources and information without requiring the user's credentials. On the Digibee Integration Platform users can register providers and use them independently and autonomously in their integrations.
In this documentation you will learn how to create a new provider and how to use it to create your next providers.
When you create a new provider, it can be set as a base provider. This means it can be used as a "template" to simplify filling in information when creating other providers.
If you want to create a new provider based on an existing one, select the provider on the Base provider field. The Auth URL, Grant Token URL, and Refresh Token URL information will be filled in automatically. You should include the Client ID, Client Secret, Scope, and, if necessary, the Code.
To create a new provider:
On Settings, access the Accounts page.
Click the OAuth provider submenu.
Click Create.
On the Provider details section, fill in the following fields:
Provider name: The name of the provider.
Auth URL: The URL to request authorization to a provider.
Prompt:
consent (default): Prompts the user to grant the application permissions after logging in.
login: Makes the user enter their credentials on the request, denying a single-sign on.
none: Ensures the user isn't shown any prompts. If silent single sign-on fails, the Microsoft identity platform returns an interaction_required
error.
select_account: Interrupts single sign-on to show account selection, listing all active or remembered accounts, or an option to use a different account.
Grant Token URL: The grant URL to request a token to a provider.
Refresh Token URL: The URL to refresh a token to a provider.
Redirect URI: The redirect URI is automatically generated when opening the provider creation form.
Code (Optional): The need for it varies according to the provider.
Fill in the credentials:
Client ID: Identification value used as the username.
Client Secret: The password issued by the authenticating client.
Certification and password (Optional): Certificate file and certification password. Accepted formats: .pem
, .crt
, .p12
, .pfx
.
Scope: Data or features that the platform can access via the provider. Scope rules vary depending on the provider.
Delimiter: The default is a comma (,)
and it should only be changed if necessary. For example, Microsoft uses a blank space ("")
as the delimiter.
Click Save.
Once the new provider is created, it will be possible to edit and delete it on the OAuth providers page. While editing the provider, sensitive fields such as Client Secret and Client ID appear blank and are not visible for security reasons.
Learn how to create a new OAuth provider in the Digibee Integration Platform.