twinslash / redmine_omniauth_google

This plugin is used to authenticate in redmine through Google.
http://www.redmine.org/plugins/redmine_omniauth_google
95 stars 103 forks source link

Google Auth with custom domain #10

Closed mrPsycho closed 10 years ago

mrPsycho commented 10 years ago

hello!

is it possible to register users with custom domains?

now when i try to use mine domain it throws this: ERROR: redirect_uri_mismatch The redirect URI in the request: http://redmine.mydomain.com/oauth2callback did not match a registered redirect URI

More: from_login=1 cookie_policy_enforce=false scope=https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile response_type=code access_type=online redirect_uri=http://redmine.mydomain.com/oauth2callback as=-6a5c79003f1eec12 display=page client_id=713179917033-hamuvjb2m25n8agls6215hu88u3bin61.apps.googleusercontent.com hl=ru

but with simple gmail.com accounts it works nice

mrPsycho commented 10 years ago

all is fine.... my mistake with TMG firewall :(