I want to enable both okta and auth0 for a single tenant as some users may login through okta and some through auth0. I am having a multitenant application.
Do I need to custom the code or there is a functionality in the base code. Could you please help me out how can I achieve that
88 Answer(s)
-
0
-
0
hi
Can you reproduce the above case and share the
Logs.txt
file?Thanks.
I don't think logs file will help you out, as I can't see any such error or logs related to this in logs file. what exactly you want to check?
Also I believe when we are setting the options in custom class MyOpenIdChallengeResult we are not setting it tenant and it is getting override with the latest login tenant options. -
0
hi
I will check the https://github.com/maliming/CDP-Base-Zero-13.0.0/ project with the tenant again
Thanks.,
-
0
hi
I will check the https://github.com/maliming/CDP-Base-Zero-13.0.0/ project with the tenant again
Thanks.,
Hi, were you able to find a solution for the issue?
-
0
hi
I checked, There is no problem with https://github.com/maliming/CDP-Base-Zero-13.0.0/
Can you share the full code of your
AccountController
?Thanks.
-
0
hi
I checked, There is no problem with https://github.com/maliming/CDP-Base-Zero-13.0.0/
Can you share the full code of your
AccountController
?Thanks.
Did you tried with 2 different tenants and auth0 keys? The issue is its overriding the options.
-
0
hi
Please share your code. I need to make sure the code is the same.
Thanks.
-
0
hi
Please share your code. I need to make sure the code is the same.
Thanks.
Shared you over the email.
-
0
hi
Can you also change the
OpenIdConnectOptions
in theLogout
method? -
0
Ok I will try that but I believe it should not override the provider options when login in with 2 different tenants. Does the base code of dot net also does the same or it set the options tenant wise?
-
0
hi
You need to overwrite it when it is to be used.
You can output more logs in the Logout method for troubleshooting.
Thanks.
-
0
hi
You need to overwrite it when it is to be used.
You can output more logs in the Logout method for troubleshooting.
Thanks.
Ok and the same thing zero does on login with the base code for openid options?
-
0
hi
Yes, You need to overwrite it when it is to be used.
Login. Logout.Challenge
Thanks.