- Issue created by @donquixote
- @donquixote opened merge request.
I have a scenario with two separate applications in a dev environment:
- A Drupal site with a CAS mock server.
- A non-Drupal web application (Nextcloud) that also wants to do CAS logins, using the same user accounts.
Both of these are on distinct domains.
(This is imposed by my Docker setup. Perhaps I could find a solution to have them on the same domain, but I still think this should be fixed in the module)
Problem:
We get "Redirects to external URLs are not allowed by default, use \Drupal\Core\Routing\TrustedRedirectResponse for it."
(I am doing this with openeuropa/oe_authentication and EU Login, but probably it can be reproduced without that).
Expected:
You are logged in to website B.
Actual:
"Redirects to external URLs are not allowed by default, use \Drupal\Core\Routing\TrustedRedirectResponse for it."
Use a TrustedRedirectResponse.
Active
2.0
Miscellaneous