Open Closed

9.0.4 -> 9.2.3 upgrade #9707


User avatar
1
sghorakavi@cpat.com created
  • Steps to reproduce the issueTenant subdomain logout is not working. Tenant stays logged in always:
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

116 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    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"]
    
    
    

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    sghorakavi@cpat.com created

    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)
  • User Avatar
    0
    sghorakavi@cpat.com created

    [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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    sghorakavi@cpat.com created

    [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)
  • User Avatar
    0
    sghorakavi@cpat.com created

    [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)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The output should be a JSON array

    ["https://auth.cpat.com:44346/signout-callback-oidc", "http://cpattest.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)
  • User Avatar
    0
    sghorakavi@cpat.com created

    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)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    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
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    sghorakavi@cpat.com created

    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)
  • User Avatar
    0
    sghorakavi@cpat.com created

    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)
  • User Avatar
    0
    sghorakavi@cpat.com created

    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)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I still get the 400 error. Please share logs again.

    Thanks.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    BTW, have you cleared the cache?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    sghorakavi@cpat.com created

    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)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    sghorakavi@cpat.com created

    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)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    ok,

    https://dev.approach.cpat.dev/ logout works.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    What is the password of tenant admin?

    https://cpattest.dev.approach.cpat.dev/

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    sghorakavi@cpat.com created

    Sudha123#

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    ok, it still has 400 error

    Please share the logs.

    Thanks.,

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    sghorakavi@cpat.com created

    sure

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    sghorakavi@cpat.com created

    [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)
  • User Avatar
    0
    sghorakavi@cpat.com created

    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)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    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
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    sghorakavi@cpat.com created

    [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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on October 06, 2026, 12:23
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.