Skip to content

[OIDC] Pending provider views, routes, forms #12646

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 51 commits into from
Jan 26, 2023

Conversation

woodruffw
Copy link
Member

@woodruffw woodruffw commented Dec 6, 2022

See #11296.

WIP. Pushing up for visibility.

TODO:

  • Pending OIDC providers page needs a documentation/help page link
  • Unit tests

@woodruffw
Copy link
Member Author

woodruffw commented Dec 6, 2022

N.B.: I'm currently planning on having the "pending" OIDC machinery share the same ratelimits as the normal OIDC machinery, since they have similar external resource requirements (accessing GitHub's API, JWKS endpoints, etc.).

Edit: Done.

Signed-off-by: William Woodruff <[email protected]>
Signed-off-by: William Woodruff <[email protected]>
Signed-off-by: William Woodruff <[email protected]>
...coverage needs to be brought back up.

Signed-off-by: William Woodruff <[email protected]>
Signed-off-by: William Woodruff <[email protected]>
…egistered

...potentially by someone else.

Signed-off-by: William Woodruff <[email protected]>
Signed-off-by: William Woodruff <[email protected]>
@woodruffw woodruffw marked this pull request as ready for review December 8, 2022 18:31
@woodruffw woodruffw requested a review from a team as a code owner December 8, 2022 18:31
@woodruffw
Copy link
Member Author

This is functionally complete (modulo the final API token exchange, which I'll do in a follow-up). Still needs unit test coverage, but I'll work on that now.

@woodruffw
Copy link
Member Author

This should be good for another review pass! It doesn't include the tie-in functionality for converting a pending provider into a "normal" provider (and creating the corresponding project), but I can do that in a follow-on immediately afterwards.

@woodruffw woodruffw requested a review from di January 17, 2023 21:11
Signed-off-by: William Woodruff <[email protected]>
Copy link
Member

@di di left a comment

Choose a reason for hiding this comment

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

LGTM with small nits!

@woodruffw woodruffw requested a review from di January 19, 2023 22:38
@di di requested a review from ewdurbin January 25, 2023 14:54
Copy link
Member

@ewdurbin ewdurbin left a comment

Choose a reason for hiding this comment

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

Really the only thing missing in any of this work is a way to interact/view it in pypi admin application. No blocker, but question: is this planned?

@di
Copy link
Member

di commented Jan 25, 2023

Really the only thing missing in any of this work is a way to interact/view it in pypi admin application. No blocker, but question: is this planned?

Yeah, we should add that to the follow-on tasks (at the very least, listing pending providers in admin).

@woodruffw woodruffw requested review from di and ewdurbin January 25, 2023 20:06
@di di enabled auto-merge (squash) January 26, 2023 17:50
@di di merged commit 6922cc8 into pypi:main Jan 26, 2023
@woodruffw woodruffw deleted the tob-pending-oidc-provider-views branch January 26, 2023 18:33
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.

3 participants