passport: authencicate client site users in master site with extra user column #35258
Unanswered
Rasoul-Karimi
asked this question in
General
Replies: 1 comment
-
not any helper!!? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
hi
i have a laravel master site:
mysite.com
and some of the site (client site) give service from master (for example)ex:
firstSite.com
andsecondSite.com
send a request to mysite.com (hub) and with API get self-post and showproblem:
each user has mobile, site_id
I want when each secondSite.com or firstSite.com users want to log in, send site_id and mobile, and then authenticate with a passport! because each user can log in on firstSite.com and secondSite.com site and need to get a specific authentication token!
how can I handle it!? how can authenticate users with mobile and site_ite too! now passport gets an only username and we cat change it with
findForPassport
method! but cant get site_id or another column for authenticate usersBeta Was this translation helpful? Give feedback.
All reactions