gate-sso / gate

Gate is MFA Enabled SSO Platform that supports SAML, OAuth, Linux shell login and CAS
https://gate-sso.github.io
MIT License
203 stars 53 forks source link

oAuth Failing - undefined method `new_session_path' for #<Users::OmniauthCallbacksController:0x00007f2c1edfa4e8> Did you mean? new_user_path #194

Closed DrIanGregory closed 2 years ago

DrIanGregory commented 2 years ago

Installed in location: opt/gate. Followed gate-sso installation tutorial from 41:27: https://www.youtube.com/watch?v=yaXiAqH-4LE. Referenced oAuth setup: https://github.com/gate-sso/gate/blob/master/docs/oauth_setup.md

Clicked on Google email to sign in for oAuth. Received crash error.

Failing function:

Parameters:

{"state"=>"3ddcc88bb9f9520ae73306e2f717796f29ed79170804757e", "code"=>"4/0AX4XfWiOpdqci88FT5xBnylDdOfho4zXATUQ62m2Ct9SW59yML2AqHRXEpEwZIaHeIg0cw", "scope"=>"email profile https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile openid", "authuser"=>"1", "hd"=>"orthogonal.trading", "prompt"=>"consent"}

Response Headers:

None

DrIanGregory commented 2 years ago

duplicate