(WIP) enable microservice-based flow to replay AuthnRequest (requires wsgi_app in registered callback)#288
Open
rhoerbe wants to merge 9 commits intoIdentityPython:masterfrom
Open
(WIP) enable microservice-based flow to replay AuthnRequest (requires wsgi_app in registered callback)#288rhoerbe wants to merge 9 commits intoIdentityPython:masterfrom
rhoerbe wants to merge 9 commits intoIdentityPython:masterfrom
Conversation
(requires wsgi_app in registered callback)
da3f4e7 to
5b83e97
Compare
(requires wsgi_app in registered callback)
Contributor
Author
|
After wading thru various plugins that might potentially be called in _run_bound_endpoint() I decided to add **kwargs to all methods with the (self, context [, ...]) signature, because it is not trivial to proof what could be called (except a few, suche as process()) The first commit contains of the PR contains the microservice redirecturl.py, for which this PR is used. It is deleted in the second PR to limit this PR to a single purpose. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The rationale for this change is a microservice that is replaying the authentication request to the IDP after receiving the response with a signaling attribute that requires some interaction (like profile completion or role selection. ADFS is not capable of implementing this in the login sequence.
The microservice stores the authnRequest. Once it receives the response from the external interaction, it returns wsgi_app.run(authnrequ_context) to replay the AuthnRequest.