|
Post by cyclone on Feb 19, 2019 5:46:41 GMT
I am working on a website that will allow multiple tenants using subdomains. I am also adding in the ability to sign in using a number of oauth providers (google, microsoft, azure ad etc) using passport.js.
All these services will all callback to the main domain (mywebsite.com/login/google/callback) and I need to identify the subdomain of the login request to redirect the user. As a single user can have multiple subdomains, I can't easily store this against their user record.
|
|
|
Post by yjdghn on Feb 19, 2019 5:47:28 GMT
I'm running into a problem at the moment where I can't find a way to persist the tenant information past the passport authenticate stage.
|
|
|
Post by bewitchedramp on Feb 19, 2019 5:48:13 GMT
I'm running into a problem at the moment where I can't find a way to persist the tenant information past the passport authenticate stage. I tried using session variables but the session is reset at the callback stage and loses any information I've stored there. I did think about adding the subdomains as allowed callback urls against each service then just setting the callback to the subdomain but this quickly becomes unmanageable.
|
|
|
Post by cyclone on Feb 19, 2019 5:48:22 GMT
Is there any way to make passport.js keep existing session variables intact or to use another method to transfer the tenant information?
|
|
|
Post by asdfasd on Feb 19, 2019 5:48:55 GMT
Is there any way to make passport.js keep existing session variables intact or to use another method to transfer the tenant information? There is no specific mention of ECNR status. Passports are by default of status Emigration Check Not Required (ECNR), unless specifically endorsed as ECR.
|
|
|
Post by bewitchedramp on Feb 19, 2019 5:49:07 GMT
Earlier, before 2001, passports were handwritten and had no machine readable code. These include passports of 20 year validity (commonly issued during the mid-90s). However, they are being phased out in favour of machine readable travel documents (MRTDs) and post Nov.25, 2015 they will no longer be valid. To this end, fast-track processes have been put in place to ensure reissue/renewals are done smoothly and quickly.
|
|
|
Post by cyclone on Feb 19, 2019 12:34:20 GMT
BUY/OBTAIN/MODIFY/PURCHASE IELTS,TOEFL Certificate without exams. Email Us at: ( info@247ielts.com ) Contact Us Now! visit our website: 247ielts.com/( www.247ielts.com ).) Email Us at: info@247ielts.com Secure Line To Call: +44 7451243782 WhatsApp (Encrypted) +44 7451243782 We offer our exclusive clients the ability to gain IELTS,TOEFL certificates without taking the exams. The regions we cover are Asia ,UAE, Qatar, Oman, Saudi Arabia, Jordan,Kuwait ,Australia ,Canada and Europe.Gain a chance to get genuine IELTS,TOEFL,Certificates. For more enquiry, Just send an email at: info@247ielts.com We work with the Cambridge Language assessment board. We work with database technicians who are responsible for Test report verification and registration of all IELTS results and with our help, you have guaranteed entry of your information into the respective database (IDP/BC) with valid test results to proof without any problem. The IELTS/Toefl Certificates we issue are legit and verifiable and valid for two years. Our IELTS/Toefl Certificates serve migration processing and also in obtaining Permanent Residence.
|
|