Skip to content
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

feat: add sign in button for auth providers w/ the only auth session request #6446

Merged

Conversation

dgolovin
Copy link
Contributor

What does this PR do?

PR adds logic to auth provider record on Authentication settings page to show Sign in button in case of only one none silent authentication request registered. If there are multiple requests then Drop down menu is component is used to list all request for user selection.

Screenshot / video of UI

image

What issues does this PR fix or reference?

How to test this PR?

  1. pull the proposed changes
  2. run PD with RedHat SSO provider extension installed
  3. open Authentication settings page and you should see the page above
  • Tests are covering the bug fix or the new feature

@dgolovin dgolovin requested review from benoitf and a team as code owners March 16, 2024 01:26
@dgolovin dgolovin requested review from jeffmaury and axel7083 and removed request for a team March 16, 2024 01:26
@dgolovin
Copy link
Contributor Author

Component tests have not been implemented yet

Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

Tested successfully on my end. Thank you!

Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

👍 works nicely on my machine

dgolovin and others added 3 commits March 19, 2024 09:11
…request

Signed-off-by: Denis Golovin <dgolovin@redhat.com>
…nProvidersRendering.svelte

Co-authored-by: Florent BENOIT <fbenoit@redhat.com>
Signed-off-by: Denis Golovin <dgolovin@users.noreply.github.com>
Signed-off-by: Denis Golovin <dgolovin@redhat.com>
@benoitf benoitf force-pushed the i5979-auth-sign-in-button-with-tooltips branch from 0b355da to 82c82a5 Compare March 19, 2024 08:11
@benoitf
Copy link
Collaborator

benoitf commented Mar 19, 2024

rebased to include the Tooltip changes from main branch

@vrothberg
Copy link
Member

rebased to include the Tooltip changes from main branch

Out of curiosity: what are these tooltip changes?

@benoitf
Copy link
Collaborator

benoitf commented Mar 19, 2024

@vrothberg #6445
(this PR was including this change)

@vrothberg
Copy link
Member

Ready to merge?

@benoitf
Copy link
Collaborator

benoitf commented Mar 19, 2024

@vrothberg need @axel7083 or @jeffmaury review that were assigned for the review (two +1 from core team for new feat)

Copy link
Contributor

@jeffmaury jeffmaury left a comment

Choose a reason for hiding this comment

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

LGTM

@benoitf benoitf merged commit 01f6ba0 into containers:main Mar 19, 2024
8 checks passed
@podman-desktop-bot podman-desktop-bot added this to the 1.9.0 milestone Mar 19, 2024
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.

Add a sign in button to replace drop-down menu
5 participants