- Steps to reproduce the issueTenant subdomain logout is not working. Tenant stays logged in always:
116 Answer(s)
-
0
-
0
select PostLogoutRedirectUris from [dbo].[OpenIddictApplications] where ClientId = 'TMS_MVC_Web'
output: https://dev.approach.cpat.dev/signout-callback-oidc https://cpattest.dev.approach.cpat.dev/signout-callback-oidc
Should I put comma between two ?
-
0
-
0
[sghorakavi@cpat.com] said:
[maliming] said: Can you check your URLs?
The URLs are a JSON string array.
["https://auth.cpat.com:44346/signout-callback-oidc", "http://cpattest.dev.approach.cpat.dev/signout-callback-oidc"]
Let me check rest of the code for this.I will send you update soon.
How did you see this data ? I want to duplicate to check this.
-
0
[sghorakavi@cpat.com] said: select PostLogoutRedirectUris from [dbo].[OpenIddictApplications]
where ClientId = 'TMS_MVC_Web'output: https://dev.approach.cpat.dev/signout-callback-oidc https://cpattest.dev.approach.cpat.dev/signout-callback-oidc
Should I put comma between two ?
Locally, if I update table to include above change, I am getting error:
-
0
-
0
Updated deployed database that you can access via deployed web page to :
update [dbo].[OpenIddictApplications]
set PostLogoutRedirectUris = '"
https://dev.approach.cpat.dev/signout-callback-oidc","https://cpattest.dev.approach.cpat.dev/signout-callback-oidc"'
where ClientId = 'TMS_MVC_Web'
Output of
select PostLogoutRedirectUris from [dbo].[OpenIddictApplications] where ClientId = 'TMS_MVC_Web'
is below. No port number in the deployed page below. "https://dev.approach.cpat.dev/signout-callback-oidc","https://cpattest.dev.approach.cpat.dev/signout-callback-oidc"I will try to run redis cache clean tomorrow and will send you logs.
-
0
hi
The value of
RedirectUris
is start and endwith["
,]"
UPDATE [dbo].[OpenIddictApplications] SET [RedirectUris] = N'["https://auth.cpat.com:44346/signout-callback-oidc", "http://cpattest.dev.approach.cpat.dev/signout-callback-oidc"]' WHERE [Id] = Your ID
-
0
RedirectUrl has value https://dev.approach.cpat.dev/signin-oidc is this incorrect ? I can add a value for tenant as well.
-
0
update [dbo].[OpenIddictApplications] set [RedirectUris]=N'["https://dev.approach.cpat.dev/signin-oidc","https://cpattest.dev.approach.cpat.dev/signin-oidc"]' where ClientId = 'TMS_MVC_Web'
Done.
-
0
updated both RedirectUris and PostLogoutRedirectUris columns in the table to include cpattest. Please check
Output of
select PostLogoutRedirectUris from [dbo].[OpenIddictApplications] where ClientId = 'TMS_MVC_Web'
["https://dev.approach.cpat.dev/signout-callback-oidc","https://cpattest.dev.approach.cpat.dev/signout-callback-oidc"]Output of
select [RedirectUris] from [dbo].[OpenIddictApplications] where ClientId = 'TMS_MVC_Web'
["https://dev.approach.cpat.dev/signin-oidc","https://cpattest.dev.approach.cpat.dev/signin-oidc"] -
0
hi
I still get the 400 error. Please share logs again.
Thanks.
-
0
BTW, have you cleared the cache?
-
0
I have not cleared redis cache in deployed page yet. I will send you update after clearing cache. Sending you logs now.
-
0
The current 400 error
The end session request was rejected because the specified post_logout_redirect_uri was invalid: http://dev.approach.cpat.dev/signout-callback-oidc
Can you also add http website as well?
Thanks.
-
0
added : select PostLogoutRedirectUris from [dbo].[OpenIddictApplications] where ClientId = 'TMS_MVC_Web'
["https://dev.approach.cpat.dev/signout-callback-oidc","https://cpattest.dev.approach.cpat.dev/signout-callback-oidc","http://dev.approach.cpat.dev/signout-callback-oidc"]
-
0
ok,
https://dev.approach.cpat.dev/ logout works.
-
0
What is the password of tenant admin?
https://cpattest.dev.approach.cpat.dev/
-
0
Sudha123#
-
0
ok, it still has 400 error
Please share the logs.
Thanks.,
-
0
sure
-
0
[maliming] said: ok, it still has 400 error
Please share the logs.
Thanks.,
Done, pls check your email. 8_18_1
-
0
should i add http for cpattest as well ?
-
0
Yes
http://dev.approach.cpat.dev/signout-callback-oidc
The end session request was rejected because the specified post_logout_redirect_uri was invalid: http://dev.approach.cpat.dev/signout-callback-oidc
-
0
[maliming] said: Yes
http://dev.approach.cpat.dev/signout-callback-oidc
The end session request was rejected because the specified post_logout_redirect_uri was invalid: http://dev.approach.cpat.dev/signout-callback-oidc
Done