Replies: 1 comment
-
were you able to solve this? I have a similar problem |
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
-
Hi, I have created an application that can manage different domains for different schools.
Each school has an associated domain, for example:
melvynx.codeline.com
=> school Jeanjean.codeline.com
=> school JeanTo do this, I need to access the domain when the user signs in.
But in the current callbacks or events, there is never the "request object" to check the domain on sign in.
What I have tried?
I have tried using the jwt callback, but I cannot find the domain:
I have also checked the createUser event, but I do not have domain information. Similarly, in the "session callback"...
I think the request is somewhere because, under the hood, the request is caught...
I have tried to "ping" the server just after the request, but I think it's not really a solution. It's much more of a temporary fix.
Can anyone help?
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions