-
Notifications
You must be signed in to change notification settings - Fork 10
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
Response mode: “form_post” #31
Comments
Ok, To get a good solution in a collaborative way I have to ask you to start a branch/PR with a unit test that reproduces this problem Then I'll add my commits and then we'll decide when merge and release Thank you @ar-filho, your contribution Is really appreciated |
This issue focuses our attention on the support of https://openid.net/specs/oauth-v2-form-post-response-mode-1_0.html in oidcop and idpy-oidc both supports form_post (see https://github.com/IdentityPython/oidc-op/search?q=form_post) So I would use a unit test that reproduces a request with |
do you still have this issue @ar-filho ? |
Hello,
|
After further investigation, this issue seems a bit complicated.
withtout form post
We can even see that in both cases, info has the exact same values which leads _response_placement to always be set to endpoint.response_placement aka "url" as it is the default value, see https://github.com/IdentityPython/idpy-oidc/blob/main/src/idpyoidc/server/oauth2/authorization.py In this case we can observe that when using form_post, _args doesn't hold an AuthorizationResponse, which is more an issue on the side of idpyoidc IMO, but that is a story for another time.
Using query
BUT, we can observe that _args holds response_placement when using form_post, which I think can be a good starting point to correct this issue. |
When trying to authenticate with the parameter [ 'response_mode': 'form_post' ], the plugin generates the message by “oidcop.oauth2.authorization.authz_part2:905”, however when trying to respond, satosa_oidcop, displays the message:
When debugging, the variable “response_args” has no content.
Expected action:
Frontend posts the content of:
'response_msg' generated in oidcop.oauth2.authorization.authz_part2:905
for the requester in 'session_id'.
*Lines may be different because of pdb.
The text was updated successfully, but these errors were encountered: