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

Ajax Authentication #70

Open
ccospe opened this issue Jun 25, 2021 · 0 comments
Open

Ajax Authentication #70

ccospe opened this issue Jun 25, 2021 · 0 comments

Comments

@ccospe
Copy link

ccospe commented Jun 25, 2021

Ajax authentication does not seem to be working with the SAML plugin. I've followed the steps outlined in the Spring Security Core plugin docs:

https://grails-plugins.github.io/grails-spring-security-core/3.2.x/index.html#ajax

This works fine using just LDAP authentication, but when implementing the SAML plugin, it appears the ajax condition never gets called. There seems to be something else that intercepts the request, and I do see in the network section of dev tools that this endpoint gets called and as an ajax request: /login/authAjax. No redirection takes place though, and there is no visible popup for re-authentication.

I've found some mention of extending the XhrSamlEntryPoint class and overriding the commence method, but I have not had success with this.

Thanks in advance.

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

No branches or pull requests

1 participant