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

fixing login going forward #39

Merged
merged 2 commits into from
Mar 8, 2021
Merged

fixing login going forward #39

merged 2 commits into from
Mar 8, 2021

Conversation

lleadbet
Copy link
Collaborator

@lleadbet lleadbet commented Mar 6, 2021

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Problem/Feature

This fixes an issue found by SudoForkBomb on Discord where OSX wouldn't work with multiple scopes. As a result, migrated the login to properly handle nonstandard query parameters; should be more stable long term and addresses the found bug.

Description of Changes:

  • Changed login.go to properly use the URL lib in Golang, along with using the query parameter feature
  • Fixes bug in OSX not accepting multiple scopes

Checklist

  • My code follows the Contribution Guide
  • I have self-reviewed the changes being requested
  • I have made comments on pieces of code that may be difficult to understand for other editors
  • I have updated the documentation (if applicable)

@lleadbet lleadbet requested review from a team, hiGarza, BraxtonLanc43 and MonstersOnParade and removed request for a team March 8, 2021 18:11
Copy link
Contributor

@BraxtonLanc43 BraxtonLanc43 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 to me.

@lleadbet lleadbet merged commit 7b66c53 into main Mar 8, 2021
@lleadbet lleadbet deleted the bugfix/fix-osx-scope-issue branch March 8, 2021 19:50
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.

None yet

2 participants