Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Added Google sign-on option for CAST team #198

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Conversation

jdudley1123
Copy link
Member

Pretty much all boilerplate code from https://github.com/zquestz/omniauth-google-oauth2 with a little tweaking of the Devise login page to make the links behave.

I've added the Google App ID and App Secret variables to Heroku.

Currently it only accepts @wearecast.org.uk emails, and won't create a new user if one doesn't exist.

Copy link
Contributor

@suninthesky suninthesky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's nifty. Perhaps we make it clear in the link that it's for staff to sign in as it could be frustrating/confusing otherwise. Also some visual separation from the forgot password might help.

Screenshot 2019-11-01 at 15 40 56

@trompodrone do you have any thoughts on language/presentation to make it clear the 'Sign in with Google' link is for staff only?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants