When you sign in to the Bold BI Embed, 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.
Use password authentication to generate an access token when the user password is stored in the Bold BI Embed Application. The password will be stored in the Bold BI Embed application for locally added users who are created with a password in the Bold BI Embed application and users imported from CSV and Database.
NOTE: You cannot use password authentication for the users from Azure AD, Windows AD, OAuth 2.0, OpenID Connect, and JWT whose password is not maintained in the Bold BI Embed application.
Generate an access token with password authentication using the username
, password
, and grant_type
.
Please refer to this link for detailed information on how to generate an access token for Rest API using password authentication.
Use an embed secret authentication to generate an access token for all users of the Bold BI Embed application.
NOTE: The embed secret authentication is particularly used for the users from Azure AD, Windows AD, OAuth 2.0, OpenID Connect, and JWT whose password is not maintained in the Bold BI Embed application.
Generate an access token with an embed secret authentication using the username
, embed_secret
, and grant_type
.
Get the embed secret key from the embed settings page of the Bold BI Embed application. Please refer to this link to know where to get an embed secret key.
Please refer to this link for detailed information on how to generate an access token for Rest API using the embed secret authentication.