Skip to content

OAuth 2.0 Authentication Integration

We recommend integrating your application system through the OAuth 2.0 protocol.

Prerequisites

The enterprise administrator refers to Configure OAuth 2.0 Protocol Application SSO to create an OAuth 2.0 protocol application in the BambooCloud IDaaS Enterprise Center platform.

Development Integration

After the application configuration is complete, please refer to the corresponding mode in the OAuth 2.0 Protocol to complete the subsequent integration configuration.

Demo

BambooCloud IDaaS Configuration

  1. Log in to the BambooCloud IDaaS administrator platform, add an OAuth 2.0 protocol application for client application integration, and configure authentication as follows. Enable only the implicit authorization mode, with the callback address set to: idaas://bamboocloud/sso/oauth (the idaas protocol can wake up the client application).

  1. Obtain the tenant OAuth 2.0 protocol authentication interface configuration. Open [Settings - Service Configuration - OIDC].

Client Configuration

  1. Open the client application, select OAuth 2.0, and add the OAuth 2.0 authentication configuration as follows.

  1. Click SSO Login to simulate an authentication request initiated from the client application.

  2. After successful BambooCloud IDaaS login, the browser wakes up the client application.

  1. The client application listens to the callback address, obtains the access_token, and retrieves user information through the configured user information endpoint to complete OAuth 2.0 authentication.

  1. Click the username to view user information details.

  1. Close the client application to simulate an authentication request initiated from the browser.

  2. Open the browser, visit the BambooCloud IDaaS user center, and access the integrated BambooCloud IDaaS client application.

  3. The browser wakes up the client application, the client application listens to the callback address, completes OAuth 2.0 authentication, obtains user information, and completes client authentication.

BambooCloud IDaaS Open Platform