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 customizable generic oidc login button #375

Merged
merged 1 commit into from
Aug 28, 2023
Merged

feat: add customizable generic oidc login button #375

merged 1 commit into from
Aug 28, 2023

Conversation

babs
Copy link
Contributor

@babs babs commented Aug 11, 2023

What type of PR is this?

feature

What does this PR do / Why do we need it:

This PR allow usage of generic OIDC with customizable name (linked to zot project-zot/zot#1691)

Will this break upgrades or downgrades. Has updating a running cluster been tested?:

Won't break on upgrade / downgrades

Does this change require updates to the CNI daemonset config files to work?:

no

Does this PR introduce any user-facing change?:

If enabled on backend, it allows the display of a customizable login button

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov
Copy link

codecov bot commented Aug 11, 2023

Codecov Report

Merging #375 (7eff404) into main (96008d6) will decrease coverage by 0.64%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main     #375      +/-   ##
==========================================
- Coverage   87.50%   86.87%   -0.64%     
==========================================
  Files          52       52              
  Lines        1529     1531       +2     
  Branches      399      400       +1     
==========================================
- Hits         1338     1330       -8     
- Misses        179      189      +10     
  Partials       12       12              
Files Changed Coverage Δ
src/components/Login/ThirdPartyLoginComponents.jsx 5.55% <0.00%> (-0.33%) ⬇️
src/components/Login/SignIn.jsx 87.17% <100.00%> (+0.11%) ⬆️

... and 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Collaborator

@raulkele raulkele left a comment

Choose a reason for hiding this comment

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

Looks good, thank you for the contribution.

src/components/Login/SignIn.jsx Show resolved Hide resolved
@raulkele
Copy link
Collaborator

Integration test patch is merged, you can rebase the branch

@babs
Copy link
Contributor Author

babs commented Aug 15, 2023

@raulkele done :)

@babs
Copy link
Contributor Author

babs commented Aug 18, 2023

There is still a debate on zot about keeping dex keyword.
I'll keep the conversation unresolved until decision is made and act accordingly.

@andaaron
Copy link
Contributor

@babs, @raulkele, I have merged project-zot/zot#1691 on backend side.

@babs
Copy link
Contributor Author

babs commented Aug 24, 2023

I'll adapt the PR accordingly, rebase and squash

@raulkele
Copy link
Collaborator

After rebase, from my point of view, we can merge this PR

Rebased and modified to reflect project-zot/zot#1691 conclusion

Signed-off-by: Damien Degois <[email protected]>
@babs
Copy link
Contributor Author

babs commented Aug 27, 2023

Rebase done with removal of DEX reference as discussed

Copy link
Contributor

@andaaron andaaron left a comment

Choose a reason for hiding this comment

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

LGTM

@raulkele raulkele merged commit ac84c37 into project-zot:main Aug 28, 2023
5 of 8 checks passed
@babs babs deleted the customizable-oidc-login-button branch August 28, 2023 13:03
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.

4 participants