You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "abhaygoel (via GitHub)" <gi...@apache.org> on 2026/07/07 15:11:33 UTC
[I] Does not go to @Secured controller even after Successful Login [grails-core]
abhaygoel opened a new issue, #15881:
URL: https://github.com/apache/grails-core/issues/15881
### Steps to Reproduce
Created a sample app using Grails 4.0.1, Spring Security 4.0.0.RC2.
Sample app is located at https://github.com/didinj/grails4-spring-security-login-example
### Expected Behaviour
The control should get redirected to the url that led us to the login page. Alternatively, after login, if we change the browser url to a secured resource, we should be able to hit that resource since we are already logged in.
### Actual Behaviour
Login is successful since we see that in the logs. However, we are not able to access a secured resource. It continuously redirects us back to the login page.
Tell us what happens instead
### Environment Information
- **Operating System**: Mac OSX Catalina
- **Grails Version (if using Grails):** 4.0.1
- **JDK Version:** JDK 1.8 u0_121
### Example Application
- https://github.com/didinj/grails4-spring-security-login-example
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org