Skip to content

Check scopes for refresh token#61

Open
filip8600 wants to merge 1 commit intomicrosoft:mainfrom
filip8600:feature/onlyOneScope
Open

Check scopes for refresh token#61
filip8600 wants to merge 1 commit intomicrosoft:mainfrom
filip8600:feature/onlyOneScope

Conversation

@filip8600
Copy link
Copy Markdown
Contributor

@filip8600 filip8600 commented Nov 6, 2025

#60

@filip8600 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;
Copy link
Copy Markdown

@smithemely smithemely Nov 12, 2025

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 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