1

I'm using WSO2 IS to enable SSO for a service provider implemented in java. I want to perform logout and return to the home page of my SP but when I logout I get the following error:

POST logout URI does not match with registred callback URI

Any suggestion how to make the right post logout URL. When debbugging the java application i found that the used redirect uri(callback uri) is: http://server:8080/openid/callback but the post logout uri value is: http://server:8080

John Marie
  • 11
  • 2

1 Answers1

0

When you are configuring the service provider in WSO2 IS, you can add multiple callback urls. Refer "Callback Url" section in [1]

In your case adding the callback as:

regexp=(http://server:8080/openid/callback|http://server:8080)

will fix your problem. Since there is no separate section to configure postlogout url, you have to add it as a callback url.

[1] https://is.docs.wso2.com/en/5.10.0/learn/configuring-oauth2-openid-connect-single-sign-on/#configuring-oauth2-openid-connect-single-sign-on

Anuradha Karunarathna
  • 2,717
  • 2
  • 9
  • 17