Skip to content

Commit

Permalink
Merge pull request #35 from Samedis-care/fix-social-logins
Browse files Browse the repository at this point in the history
fix social login
  • Loading branch information
neongrau authored Jan 18, 2024
2 parents d386294 + 4e23feb commit 659e6b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def do_oauth
# if an invite token is supplied this will be personalized with the user_id
user.claim_invite_token!(user.invite_token)
user.auto_accept_invites!
redirect_to Addressable::URI.parse(user.redirect_url_authenticated(url_values)).to_s
redirect_to Addressable::URI.parse(user.redirect_url_authenticated(url_values)).to_s, allow_other_host: true
end

def google_oauth2
Expand Down

0 comments on commit 659e6b6

Please sign in to comment.