Skip to content

fix: allow POST for connector redirect route - #1612

Open
DanielAuerX wants to merge 1 commit into
apache:mainfrom
DanielAuerX:fix/connector-redirect-post-route
Open

fix: allow POST for connector redirect route#1612
DanielAuerX wants to merge 1 commit into
apache:mainfrom
DanielAuerX:fix/connector-redirect-post-route

Conversation

@DanielAuerX

Copy link
Copy Markdown
Contributor

Connector plugins that collect credentials in a login form (e.g. an LDAP connector) need to submit them via POST rather than GET.
ConnectorRedirectDispatcher itself is already method-agnostic (it just reads ctx.Request), so this only needed a route registration change.

Related to apache/answer-plugins#294 (LDAP connector), which needs this to submit login credentials safely.

Connector plugins that collect credentials in a login form (e.g. an
LDAP connector) need to submit them via POST rather than GET, since
GET params get logged in server/proxy access logs and browser history.
ConnectorRedirectDispatcher itself is already method-agnostic (it just
reads ctx.Request), so this only needed a route registration change.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.

1 participant