-
Notifications
You must be signed in to change notification settings - Fork 106
Multi-Tenancy Regular Login and Social Login #590
Comments
Debugging: Going line by line through all of the calls I narrowed down my problem, I wasnt mapping the organization to the application in the Admin portal! Ugh stupid mistake on my part! After I attached all of the organizations to the application, things work! |
Okay after quite a bit of research, the disconnect for Social Login with MultiTenancy appears to be that the organization is never passed down to Inside Despite having the organization nameKey on hand in the request object( Looking at the structure of the application and separation through multi-tenancy via organizations: Looking specifically at |
Greetings gents, if anyone has any insight into what I may be doing wrong I'd be really love it. I've configured my application to match the documentation for MultiTenancy, but for some reason the subdomain isn't getting picked up and passed down to Stormpath, it just seems to default to the first organization. The JWT doesn't seem to store the organization either:
Documentation that I'm following:
https://github.com/stormpath/express-stormpath/blob/2610219368dbe4bc32bdbcd69a0ce6d575626202/docs/multi_tenancy.rst
Also reading a lot into this PR:
#538
My stormpath config which contains the multiTenancy config section
This is the
expandedJwt
object. I modified the actual values but this is the object thats returned back. As you can see, there's noorg
property underclaims
:Looking at the
/me
response that happens during the login step, the organization is also nullThe text was updated successfully, but these errors were encountered: