Skip to content

auth: Go back to overriding the sdk scopes#2198

Merged
alexweininger merged 3 commits intomainfrom
alex/salmon-rabbit
Feb 24, 2026
Merged

auth: Go back to overriding the sdk scopes#2198
alexweininger merged 3 commits intomainfrom
alex/salmon-rabbit

Conversation

@alexweininger
Copy link
Member

This mimics the behavior of pre v6 where we would override the scopes that the sdk requests and just use a token that was granted with the management scope. Unlike pre v6 we are still actually making a getSession request each time.

@alexweininger alexweininger requested a review from a team as a code owner February 23, 2026 15:54
Copy link
Contributor

@bwateratmsft bwateratmsft 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. We are still handling the MFA challenge right? Because that's done by the pipeline and uses getSessionWithScopes() IIRC?

@alexweininger
Copy link
Member Author

Looks good. We are still handling the MFA challenge right? Because that's done by the pipeline and uses getSessionWithScopes() IIRC?

Correct

@alexweininger alexweininger merged commit 2854060 into main Feb 24, 2026
4 checks passed
@alexweininger alexweininger deleted the alex/salmon-rabbit branch February 24, 2026 16:54
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