omniauth-google-apps icon indicating copy to clipboard operation
omniauth-google-apps copied to clipboard

Unknown Action Crash

Open ashblue opened this issue 13 years ago • 1 comments

I'm trying to lockdown registration on a site to emails from a specific domain. Problem is omniauth-google-apps seems to crash and display the error "Unknown action: The action 'google_apps' could not be found for Devise::OmniauthCallbacksController." The callback controller isn't being noticed at all no matter what I do. Is this gem working fine outside of devise?

Tutorial used: https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview

ashblue avatar Nov 30 '12 19:11 ashblue

I was able to use OmniAuth's Google oAuth2 to limit specific domain access and it was quite simple. Just need to add a parameter to your callback as detailed in the link below.

http://stackoverflow.com/questions/10858813/restrict-login-email-with-google-oauth2-0-to-specific-domain-name

Can the admin of this repo update the README.md to suggest using OmniAuth's Google oAuth 2, unless someone is planning on maintaining the code base.

ashblue avatar Dec 04 '12 00:12 ashblue