Skip to content

UX: add the user's intent as a query parameter #10

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

Merged
merged 2 commits into from
May 20, 2025
Merged

Conversation

ZogStriP
Copy link
Member

In order to let the provider know whether the user wants to "sign up" or "log in", we added a new intent query parameter as one of the authorize_params so the provider can decide which UI to display to the user.

DEV: Extract the DiscourseLoginClientStrategy into its own file
DEV: Remove default methods from the DiscourseLoginClientAuthenticator

Internal ref - t/151488

- Extract the `DiscourseLoginClientStrategy` into its own file
- Remove default methods from the `DiscourseLoginClientAuthenticator`
@ZogStriP
Copy link
Member Author

@pmusaraj fixed the specs and addressed the comments 👍

Copy link
Contributor

@pmusaraj pmusaraj left a comment

Choose a reason for hiding this comment

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

Thanks!

@ZogStriP ZogStriP merged commit 8455a49 into main May 20, 2025
4 checks passed
@ZogStriP ZogStriP deleted the simplify-code branch May 20, 2025 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants