Skip to content

Conversation

ravidshachar
Copy link

Added support for additional response modes such as form_post

Copy link
Member

@mtrojanowski mtrojanowski left a comment

Choose a reason for hiding this comment

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

Hey @ravidshachar, thanks for the contribution. Really nice change.

I left one comment with a proposition for a slight change in the proposed feature.

@@ -114,6 +114,7 @@ def start_code_flow():
scopes, request.args.get("forceConsent", False),
request.args.get("allowConsentOptionDeselection", False),
request.args.get("responseType", "code"),
_config.get("response_mode", "query"),
Copy link
Member

Choose a reason for hiding this comment

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

I think it's better to leave the decision about the response mode to the client. You changed the backend so that it will work with both modes, which is good. Now the client could decide which mode to use:

request.args.get("response_mode", "query"),

The response_mode could be then removed from the settings.

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.

2 participants