Skip to content

Conversation

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

@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