OIDC - Logout URL{siteUrl}

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PavelZ
    Member
    • Jan 2023
    • 46

    #1

    OIDC - Logout URL{siteUrl}

    I’m having an issue with the Logout URL setting in OIDC authentication.
    When I use the {siteUrl} placeholder, instead of getting https://myespo.com, the result becomes
    https://myespo.com/https%3A%2F%2Fmyespo.com.

    The URL is duplicated, and it’s also URL-encoded (%3A%2F%2F).
    Does anyone know what could be causing this or how to fix it?
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9554

    #2
    This is a correct behavior. It must be encoded as a query parameter. You might specified a wrong Logout URL.

    It takes the logout URL parameter value and replaces {siteUrl} with the Espo site URL encoded. The site URL may be needed for the OIDC provider to handle the redirect back.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...