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

Remove token verification step. #715

Merged
merged 2 commits into from
Dec 5, 2018
Merged

Conversation

queerviolet
Copy link
Contributor

Bring in code from the authentication server to parse the callback state parameter, rather than asking the server for it.

Fixes #710 (at least, some instances of it)

Copy link
Contributor

@shana shana left a comment

Choose a reason for hiding this comment

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

Looks good, just have a small question.

* @returns {any} decoded JSON data
* @throws {SyntaxError} if the message was null or could not be parsed as JSON
*/
export const decode = (signedMessage?: string): any => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the export needed here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope!

@queerviolet queerviolet merged commit 6418b23 into master Dec 5, 2018
@kinghat kinghat mentioned this pull request Jan 7, 2019
@RMacfarlane RMacfarlane deleted the qv/do-not-verify-token branch February 16, 2019 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants