Search results

Generate access token based on user type

When you sign in to the Bold BI Cloud, an access token is provided that should be attached to the request header(Authorization) for all subsequent API calls to authenticate the requests. Generate an access token based on the user type. Use password authentication for local account users and embed secret authentication for both local account users and third-party login users.

When and How to generate access token using password authentication

Use password authentication to generate an access token when the user password is stored in the Bold BI Cloud application. The password will be stored in the Bold BI Cloud application for locally added users who are created with a password in the Bold BI Cloud application and users imported from CSV and Database.

NOTE: You cannot use password authentication for the users from Azure AD, LinkedIn, and Syncfusion whose password is not maintained in the Bold BI Cloud application.

Generate an access token with password authentication using the username, password, and grant_type.

Token Generation Body Password Auth

Please refer to this link for detailed information on how to generate an access token for Rest API using password authentication.

When and How to generate access token using embed secret authentication

Use the embed secret authentication to generate an access token for all users of the Bold BI Cloud application.

NOTE: Embed secret authentication is particularly used for the users from Azure AD, LinkedIn, and Syncfusion whose password is not maintained in the Bold BI Cloud application.

Generate an access token using the username, embed_secret, and grant_type.

Token Generation Body Embed Auth

Get an embed secret key from the embed settings page of the Bold BI Cloud application. Please refer to this link to know where to get embed secret key.

Please refer to this link for detailed information on how to generate an access token for Rest API using an embed secret authentication.