-
Notifications
You must be signed in to change notification settings - Fork 10
Preserve case of username in scopes[1]
so getSession
caller can obtain it exactly (required when case-sensitive external authorization is being used)
#281
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
Conversation
…ler can obtain it
@gjsjohnmurray Can you fix the whitespace changes before you mark this ready for review? They are making the review difficult. |
session.account.id
so getSession
caller can obtain itscopes[1]
so getSession
caller can obtain it exactly (required when case-sensitive external authorization is being used)
Commits 5 and 7 together show the only non-whitespace changes. I think the whitespace changes occurred because your previous work in this file resulted in space-indenting, which isn't the convention for this project. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please squash this when you merge? There are a lot of intermediate commits that add no value to the overall repo history.
Should we prepare a release for Monday, or do you want to tackle that bulk account culling issue first? |
Let's release on Monday. That enhancement can wait for the next release (or later). |
Sounds good, I'll open the PR shortly |
This PR contributes to fixing intersystems-community/vscode-objectscript#1593
Callers of
vscode.authentication.getSession
for our authprovider should obtain the username by dropping the first /-piece ofsession.account.id
in prfeference to usingsession.scopes[1]
because the latter has been folder to lowrcase.It replaces #280 and will be used by replacements of intersystems-community/vscode-objectscript#1596 and intersystems/language-server@49e3dc5