We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
userモデルにGoogle認証機能追加したが、複数モデルに対応していないため、 手段を検討
ShopモデルへのGoogle認証機能追加
devise + omniauthableをやめる
検討中
The text was updated successfully, but these errors were encountered:
https://github.com/heartcombo/devise/wiki/OmniAuth-with-multiple-models
上記に基づき作成したが、usersとshopsの判別ができない get "/auth/google_oauth2" => "users/omniauth_callbacks#passthru"
get "/auth/google_oauth2" => "users/omniauth_callbacks#passthru"
Sorry, something went wrong.
heartcombo/devise#1047
上記に基づいて、リクエストの際にtypeを渡して、users/omniauth_callbacksの中で処理を分ける
力技のため、念のためクローズしない
Successfully merging a pull request may close this issue.
概要
userモデルにGoogle認証機能追加したが、複数モデルに対応していないため、
手段を検討
目的
ShopモデルへのGoogle認証機能追加
提案内容
devise + omniauthableをやめる
タスク
検討中
The text was updated successfully, but these errors were encountered: