Skip to content
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

Use a GatewayFilter to redirect to the login page when given a login query parameter #415

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

groldan
Copy link
Member

@groldan groldan commented Jul 13, 2024

Configuration required for this gateway change:
georchestra/georchestra-gateway#133

This patch adds the LoginParamRedirect default filter to the gateway.

Note the filter is added by default in the embedded application.yml, but since gateway/application.yaml is overriding the spring.cloud.gateway.default-filters list, it must be added here too.

…query parameter

Configuration required for this gateway change:
georchestra/georchestra-gateway#133

This patch adds the `LoginParamRedirect` default filter to the gateway.

Note the filter is added by default in the embedded `application.yml`,
but since `gateway/application.yaml` is overriding the
`spring.cloud.gateway.default-filters` list, it must be added here too.
Copy link

💚 All backports created successfully

Status Branch Result
docker-master

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

github-actions bot added a commit that referenced this pull request Jul 26, 2024
[docker-master] Merge pull request #415 from georchestra/bug/gateway-login-redirect
@groldan groldan deleted the bug/gateway-login-redirect branch July 26, 2024 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants