Configure Box as an OAuth server

Step 3: Configure Box as an OAuth Server.

  • Go to https://app.box.com/developers/console and login to your box account. Click on the Create New App.
  • Keycloak add realm
  • Select Custom App ​and click on Next​.
  • Add Role
  • Select Standard OAuth 2.0 (User Authentication) ​and click on Next​.
  • Add User
  • Enter Application Name ​and click on Create App.
  • Credentials
  • You will get a confirmation message. Click on View Your App.
  • Credentials
  • Scroll down to OAuth 2.0 Credentials​ section, you will get the Client ID and Client Secret. Copy them, you will need in the next step. In the OAuth 2.0 Redirect URI​ section below, enter the Redirect URI which you copied in the last step. Click on Save Changes.
  • Credentials
    Scope: root_readwrite
    Authorize EndPoint: https://account.box.com/api/oauth2/authorize
    Access Token Endpoint: https://api.box.com/oauth2/token
    Get User Info Endpoint: https://api.box.com/2.0/users/me