-
Notifications
You must be signed in to change notification settings - Fork 1.1k
OIDC ActiveState token handler #15204
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
Conversation
eebaa7a to
0bae2c6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NB: This LGTM (and I confirmed that it works), but you'll need a corresponding "non-pending" form in manage/project/publishing.html as well 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how I missed that :( I'll get that added right away.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's an annoying bit of duplication, so missing it is understandable! Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch @woodruffw
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, sorry for the confusion there. I'll keep the review on #15168 going forwards (maybe we can mark this as draft, to signal that it'll follow that PR and isn't ready for review yet?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we can mark this as draft,
Can do and done.
|
I stood this up locally, and confirmed that I was able to register a pending ActiveState publisher (after toggling the admin flag):
However, it looks like the "normal" publisher tab is missing for ActiveState:
I believe #15204 (comment) is the proximate cause. |
753c7e0 to
c63726a
Compare
Co-authored-by: William Woodruff <[email protected]>
…l publishers, goes through 1 endpoint
9739cf8 to
6cd0ecc
Compare
woodruffw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you @th3coop!
|
(Needs rebase/merge sync, FYI.) |
|
Did something get lost in a rebase? I'm attempting to review here but I'm not seeing any substantial changes. |
Most of it got merged here: #15168 I believe this PR is meant to just be the "cap off" PR -- the core form, etc. logic is all merged 🙂 |
|
@di , you might have been confused by the comment from @woodruffw that looks like it's reviewing the ActiveState configuration form. That was my fault as I presented both PRs as ready to go at the time. Woodruffw is correct that this is the cap-off PR that finalizes the remaining ActiveState integration work. This PR adds the the token handling which piggy-backs on the previous PRs. |
Sorry, I don't see anything that's adding token handling? Was this already done in a previous PR as well? |
Ahhh I see what's going on. I even confused myself. @di, when Woodruff asked for this change most of what this PR added for implementation went away. Now, this PR is adding is some test refactors and additional testing of the ActiveState token endpoint (which technically isn't a thing, as all tokens now go through 1 endpoint). |
|
Got it, makes sense now. This looks good aside from my one outstanding comment. |
di
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! @th3coop If you can get this up-to-date we can merge it.
|
@di updated. Also, welcome back! |



This is the last PR from ActiveState adding ActiveState as an OIDC Publisher. Does not enable ActiveState as a publisher yet.
This PR follows from #15168.
More realistic Diff can be found below:

ActiveState#1