Skip to content
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

Safari External Auth #1509

Merged
merged 2 commits into from
Apr 6, 2018
Merged

Safari External Auth #1509

merged 2 commits into from
Apr 6, 2018

Conversation

wyattjoh
Copy link
Collaborator

@wyattjoh wyattjoh commented Apr 5, 2018

What does this PR do?

Persist the token as handed by external auth into Talk.

@wyattjoh wyattjoh added the bug label Apr 5, 2018
@okbel okbel self-requested a review April 6, 2018 20:52
case actions.SET_AUTH_TOKEN:
return {
...state,
token: action.token || null,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Normally logic is not allowed in the reducer. This should be break down into 2 actions or send the value when it's dispatched - This is standard, but I'm fine either way.

@wyattjoh wyattjoh merged commit ae361d5 into master Apr 6, 2018
@wyattjoh wyattjoh deleted the safari-auth branch April 6, 2018 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants