Bixby Developer Center

Build Conversational Experiences
Guides
References

oauth2-authorization-code

optionalvalue required

Specifies the provider ID for the client credentials.

Example

authorization {
  user {
    oauth2-authorization-code ("Mock Bank") {
      authorize-endpoint ("https://bank.bixby.pro/dialog/authorize")
      client-id ("xyz123")
      client-secret-key ("ssh-password")
      scope ("transfer_money")
      token-endpoint ("https://bank.bixby.pro/oauth/token")
    }
  }
}

Child Keys

authorize-endpoint
required
The endpoint to call to request authorization, which is where the authorization server chooses whether or not to grant access
client-id
required
Public identifier for application requesting access
client-secret-key
required
Specifies the name of the secrets key, set in the Configuration & Secrets screen of the Bixby Developer Center, which stores the OAuth client secret
token-endpoint
required
The endpoint where the application exchanges the client credentials for an access token
login-button-label
optional
Label used for the login button in an OAuth-based action
revoke-endpoint
optional
The endpoint that the application calls to revoke an access token
scope
optional
The scope of the OAuth request, which is used to limit access to data