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

Question about usage #6

Open
vrioux opened this issue May 15, 2013 · 4 comments
Open

Question about usage #6

vrioux opened this issue May 15, 2013 · 4 comments
Labels

Comments

@vrioux
Copy link
Contributor

vrioux commented May 15, 2013

Hi,

We're trying to use this bundle for our Symfony2 installation. Would you have any example of the service implementation we need? It looks like everything is setup correctly but when disabling anonymous access in the firewall to try and test the security, we get redirected to /login and no route exists for that path.

Thanks!

@dbellettini
Copy link
Member

Hi @vrioux,

Here's how we implemented in our website, it handles very specific issues https://github.com/UniversiBO/UniversiBO/blob/master/src/Universibo/Bundle/MainBundle/Security/User/UniversiboUserProvider.php

Be aware It handles some University Of Bologna-specific issues but it shows how to handle user registration.
About /login route: did you setup FOSUserBundle properly?

@Tocacar
Copy link

Tocacar commented Mar 12, 2014

@vrioux The link you posted 404s - is there any chance you can repost it please?

@dbellettini
Copy link
Member

here it is https://github.com/UniversiBO/UniversiBO/blob/master/src/Universibo/Bundle/WebsiteBundle/Security/User/UniversiboUserProvider.php

BTW since I left UniversiBO I forked this bundle here: https://github.com/dbellettini/UniversiboShibbolethBundle

I will refactor it a little bit and I will eventually move it to another organization

@Tocacar
Copy link

Tocacar commented Mar 12, 2014

@dbellettini

Just noticed I addressed my message to the wrong person, sorry about that! Thanks for your quick response, and reposting the link. I'll move over to your fork now, thanks for letting me know!

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

3 participants