Skip to content
This repository was archived by the owner on Jun 10, 2026. It is now read-only.

Check scopes for refresh token - #61

Open
Filip (filip8600) wants to merge 1 commit into
microsoft:mainfrom
filip8600:feature/onlyOneScope
Open

Check scopes for refresh token#61
Filip (filip8600) wants to merge 1 commit into
microsoft:mainfrom
filip8600:feature/onlyOneScope

Conversation

@filip8600

@filip8600 Filip (filip8600) commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

#60

@filip8600
Filip (filip8600) marked this pull request as ready for review November 6, 2025 13:32

final url = Uri.parse('$tenantBaseUrl/$userFlowName/$urlEnding').toString();

final scope = providedScopes == null ? Constants.defaultScopes : params.providedScopes;

@smithemely smithemely Nov 12, 2025

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think providedScopes == null won't work since providedScopes isn't defined? Should be params.providedScopes == null instead?

But even cleaner, since params.providedScopes is nullable String:

- 'scope': params.providedScopes
+ 'scope': params.providedScopes ?? Constants.defaultScopes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants