Skip to content

Remove token verification step.#715

Merged
queerviolet merged 2 commits intomasterfrom
qv/do-not-verify-token
Dec 5, 2018
Merged

Remove token verification step.#715
queerviolet merged 2 commits intomasterfrom
qv/do-not-verify-token

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)

@queerviolet queerviolet requested a review from shana December 4, 2018 17:11
@queerviolet queerviolet force-pushed the qv/do-not-verify-token branch from ba584ee to bddf823 Compare December 4, 2018 17:12
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