-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
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
Fix issue when using Safari to authenticate #46
Conversation
Just a question, why you chose |
I was not choosing, just shared other man's approach, because it succeeded :) |
@VitaliyAdamkov can you please rebase on master and remove this commit 05d3a3a? |
done |
spree.send("spree_user_#{method.provider}_omniauth_authorize_path"), | ||
title: I18n.t('spree.sign_in_with', provider: method.provider)) if method.active %> | ||
spree.send("spree_user_#{method.provider}_omniauth_authorize_path", r: rand), | ||
title: Spree.t(:sign_in_with, provider: method.provider)) if method.active %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@VitaliyAdamkov I like this change, removing I18n
from views is an improvement 👍
But Spree.t
has been deprecated in Solidus (see issue solidusio/solidus/issues/2773) and we're trying to remove it from the extensions as well. Can you please change this to something like t('spree.sign_in_with' ...
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@VitaliyAdamkov thank you 👍.
I have one last request, can you please squash the two commits into a single one? I think this would make git history cleaner and tidier... thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 thank you @VitaliyAdamkov
Merged 🎉 thanks @VitaliyAdamkov |
omniauth/omniauth-oauth2#58 (comment)