Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

User registration and authentication #23

Closed
juampynr opened this issue Apr 29, 2013 · 6 comments
Closed

User registration and authentication #23

juampynr opened this issue Apr 29, 2013 · 6 comments
Labels

Comments

@juampynr
Copy link
Member

Provide a way for users to register and then authenticate in the application.

Users will be created in the Drupal database and this db will be queried through a Web Service on authentication.

@sirkitree
Copy link
Contributor

This is interesting, and probably not limited to symphony actually. We certainly need a user in Drupal in order to allow them to create/edit content, but if we can make the web service general enough, we might be able to allow clients to use various authentication methods.

For instance, you might want to just implement straight up Drupal user creation in Symphony, but perhaps we want to allow Google Plus sign-ins for the AngularJS client.

This probably also hinges a bit on getting Services in place rather than RestWS per #18

@micahgodbolt
Copy link
Contributor

If only there were a good angular plugin for google plus sign-in <.<

@sirkitree
Copy link
Contributor

😆

My point is that the web service should be general enough that we can implement whatever from the client side.

@juampynr
Copy link
Member Author

This is possible. In Symfony you can define several User Providers. I need to dive deeper into this:

http://symfony.com/doc/2.0/cookbook/security/custom_provider.html

@webthingee
Copy link
Member

I have had good luck with this using jquery.

@juampynr
Copy link
Member Author

juampynr commented May 5, 2013

Since the REST+Oauth server was set up at #30, the Drupal part of this should be already done and now it is up to the client sites to use the user endpoint to register users.

I have created Lullabot/copelandia-symfony#3 to track the Symfony part of this.

Closing.

@juampynr juampynr closed this as completed May 5, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants