-
Notifications
You must be signed in to change notification settings - Fork 10
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
Persist user in database #13
Comments
an example for this would be usefull |
Please, would be great ! |
after trying around with verious methods, I don't think it's easy to use this with FOSUserBundle. And as the maintainer doesn't respond about anything here, I'll mark this repo as dead for me. I'll have to live with email auth for now... |
Hi !
At last, configure the "etcpasswd_oauth.authentication.provider.oauth.class" as my AuthenticationProvider class I hope that this help you ! j |
Sweet, thanks. Helped me a lot. As I'm just beginning with Sf2, where can I override the configuration of the AuthProvider Class without doing it in the OAuthBundle? |
In your bundle. For example: src/Acme/YourBundle/Security/Core/Authentication/Provider/OAuthProvider.php (copy the OAuthProvider class from etcpasswd and develop from this) Then in, your services.yml (or xml) src/Acme/YourBundle/Resources/config/services.yml define a parameter:
j |
I'm using FOSUserBundle. After a successful provider authentication, how can I persist the user in my database ?
The text was updated successfully, but these errors were encountered: