These are chat archives for alvarosanchez/spring-security-rest

27th
Oct 2014
ferasodh
@ferasodh
Oct 27 2014 12:20
Thanks alvarosanchez.
I have a question about Delegating authentication to OAuth providers In case of successful authentication in facebook or twitter does user information logged in database or it is just kept in application level?
I mean I want a way to have those personal information of users logged through facebook or twitter in database how can I do that?
Álvaro Sánchez-Mariscal
@alvarosanchez
Oct 27 2014 13:30
@ferasodh the details don't get logged
If you want to do that, you need to override OauthController with your own implementation
ferasodh
@ferasodh
Oct 27 2014 20:50
Thanks alvaro
I got 400 bad request when I tried to access api/login
do you have any idea how to solve this?
I but the following properties in config
grails.plugin.springsecurity.rest.token.validation.enableAnonymousAccess=true
grails.plugin.springsecurity.rest.login.active =true
grails.plugin.springsecurity.rest.login.endpointUrl ='/api/login'
grails.plugin.springsecurity.rest.login.failureStatusCode =401