-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
How to manage multiple callbacks for each user role? #40
Comments
HI @iamaz007, unfortunately that is not something that this package would be able to solve for you. You would need a way to differentiate between doctor and patient user records, and then redirect them in middleware to their appropriate location. |
I tried with session storage and cookies too, doctor and patient have separate login, so when they click on login I save their sessions, I have tested with Facebook and LinkedIn in Socialite they are working fine, but when I do this with apple login, apple clears all the sessions and cookies, that is why I am facing difficulty in both user authentication. |
@iamaz007 I don't think that would work. I don't know that Apple would handle that. |
I am working on project where we have 2 different types of users, "doctors" and "patient", I have setup doctor sign in with apple, but how I can add another redirect url for "patient" too. so when Patient will login they will go to there controller as same doctor is doing
Note: I have added both callback in apple account, only issue is remaining from website side, when I call from patient login it still go to doctor controller after callback.
The text was updated successfully, but these errors were encountered: