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

fix(auth): decode username when parsing response from OAuth #166

Merged
merged 1 commit into from
Mar 30, 2018

Conversation

noahmulfinger
Copy link
Contributor

Usernames with @ symbols are returned from OAuth as %40, so we need to decode them with
decodeURIComponent.

AFFECTS PACKAGES:
@esri/arcgis-rest-auth

ISSUES CLOSED: #165

Usernames with @ symbols are returned from OAuth as %40, so we need to decode them with
decodeURIComponent.

AFFECTS PACKAGES:
@esri/arcgis-rest-auth

ISSUES CLOSED: #165
@coveralls
Copy link

coveralls commented Mar 29, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling e0c2a44 on fix-165 into 29e879d on master.

Copy link
Contributor

@jgravois jgravois left a comment

Choose a reason for hiding this comment

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

nice work!

this makes me even more glad that i switched our dummy username to use an @ symbol in #143

@jgravois jgravois merged commit fd9005f into master Mar 30, 2018
@jgravois jgravois deleted the fix-165 branch March 30, 2018 20:16
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.

3 participants