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

problem with Spring Security #13

Closed
randomailer opened this issue Aug 24, 2013 · 3 comments
Closed

problem with Spring Security #13

randomailer opened this issue Aug 24, 2013 · 3 comments
Labels

Comments

@randomailer
Copy link

Hi,
I'm trying to use your plugin with this configuration:

cors.url.pattern = '/api/*'
cors.headers = [
    'Access-Control-Allow-Origin': '*'
]

and it's ok, but when I set

grails.plugins.springsecurity.apf.filterProcessesUrl = '/api/v1/auth'

after that, the first request OPTIONS returns with origin failed

please help.

@davidtinker
Copy link
Owner

I will have a look as soon as I can. Very busy with day job right now. Likely the Spring Security filter is getting at the request before the CORS filter and nuking the OPTIONS request.

@davidtinker
Copy link
Owner

Fixed by PR #16

@randomailer
Copy link
Author

Hi, after browser send options and receive responce, browser send original request and result: redirect to authajax. This is behavior spring security. What i doing wrong? How fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants