- Steps to reproduce the issueTenant subdomain logout is not working. Tenant stays logged in always:
116 Answer(s)
-
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
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 ?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
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.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
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:
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
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.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi
The value of
RedirectUrisis 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 IDMarkdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
RedirectUrl has value https://dev.approach.cpat.dev/signin-oidc is this incorrect ? I can add a value for tenant as well.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
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.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
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"]Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
I have not cleared redis cache in deployed page yet. I will send you update after clearing cache. Sending you logs now.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
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-oidcCan you also add http website as well?
Thanks.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
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"]
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Sudha123#
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
sure
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
[maliming] said: ok, it still has 400 error
Please share the logs.
Thanks.,
Done, pls check your email. 8_18_1
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
should i add http for cpattest as well ?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Yes
http://dev.approach.cpat.dev/signout-callback-oidcThe end session request was rejected because the specified post_logout_redirect_uri was invalid: http://dev.approach.cpat.dev/signout-callback-oidcMarkdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
[maliming] said: Yes
http://dev.approach.cpat.dev/signout-callback-oidcThe end session request was rejected because the specified post_logout_redirect_uri was invalid: http://dev.approach.cpat.dev/signout-callback-oidcDone
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

