This grant type is for pure Javascript applications and apps. We will need a redirect URL provided by you to where the user should be redirected after successful login.

  • Redirect the user to
    • /oauth/authorize?response_type=token&client_id=CLIENT_ID
  • The user logs in and approves your required scopes.
  • The user is redirected to your application
    • YOUR_REDIRECT_URL#access_token=345145a3-d5d2-4180-9151-0f7469ebf309&token_type=bearer&expires_in=43199&scope=files_folders
  • Extract the token from the url parameter and use it to for your rest request.