-
Notifications
You must be signed in to change notification settings - Fork 35
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
Assigning different roles for different facebook connect buttons #52
Comments
Not sure that there are easy and correct way for such thing. I mean with simple configuration. I can suggest you to put this information into user session before redirecting to Facebook. At this case you have to use Server Side Authentication filter, and your own button, I mean html code for a facebook connect button. This button should open your own controller (with a special parameter, I guess), to remember user type into a session. And only then, controller should redirect user to Facebook authorization filter.
Also you have to implement
Does it work for your situation? |
Hi Splix, I would like to add a new feature to your plugin that gives the user the possibility to set the redirect url and permissions optional via taglib. Could you give me an advice where i should hook into? |
push :) |
Oh, sorry, I missed your reply :( That was good idea to push the discussion :)
As about the feature - I see following scenario:
I'll really appreciate if you'll implement this feature in the code. I think it could be helpful feature. |
Hi!
I need to give the appUser different roles depending on wich facebook connect button he clicked.
For example:
If he clicked on "Register as Organizer"-page on the connect button, he gets the organizer role, after he was successfully authorised. If he clicked on "Register as Affiliate"-page on the connect button, he gets the affiliate role.
Is it possible to implement this use-case? Or is there a possibility to configure different return urls for each button, so i could give the user the correct roles depending wich return url was visited?
The text was updated successfully, but these errors were encountered: