How can we help? How can we help?

Set up Google single sign-on

MRI Box and Dice MRI Box and Dice

Summary

Learn how to create Google OAuth credentials, capture the Client ID and Client Secret, and prepare Box+Dice to accept sign‑ins with Google accounts.

This article covers:


About Google SSO for Box+Dice

Google single sign‑on (SSO) lets your users sign in to Box+Dice with their Google accounts. It uses Google’s OAuth 2.0 and OpenID Connect standards to securely authenticate users without requiring a separate Box+Dice password.


Create OAuth client ID and secret

  • Go to: https://console.developers.google.com/apis/credentials
  • Click Create Credentials, then click OAuth Client ID in the drop-down menu
  • Enter the following:
    • Application Type: Web Application
    • Name: Box+Dice SSO
    • Authorised JavaScript Origins: 
      • https://{subdomain}.boxdice.com
      • https://{subdomain}.boxdice.com.au
  • Authorised Redirect URLs: 
    • https://{subdomain}.boxdice.com/auth/google_oauth2/callback
    • https://{subdomain}.boxdice.com.au/auth/google_oauth2/callback
    • (where {subdomain} is replaced with the subname of the url to your Box+Dice application)
  • Click Create
  • Copy the Client ID and Client Secret from the ‘OAuth Client’ modal