Reputation: 21
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
Upvotes: 2
Views: 497
Reputation: 3057
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.
Upvotes: 1