WSO2 Identity Server wrong redirect-callback host but right path

Viewed 73

i try to run wso2 idenitity on IIS server, all work normally but when i try it on server i get wrong signin-callback.

The following is a picture of the callback-uri that I registered with the service provider registered callback uri like this regexp=(http://localhost:4003/api/oauth2/v2/signin-callback)

what I get next when I try to login using the service provider: callback url like this https://host/api/oauth2/v2/signin-callback?code=d3d16661-0312-3be1-bebb-5940dd267000&session_state=1331111359c3f5029f733f196037241203bc22c164f7910572d38647c4269a16.6KtgBQ2Z7AIOjVALA6UYdQ

authorize payload when logging in: payload redirect uri when authorized

1 Answers

Please check the properties file of your service provider and change the value of callBackUrl property to http://localhost:4003/api/oauth2/v2/signin-callback. For example if its pickup-dispatch app[1] hosted in tomcat, you can find the properties file in <TOMCAT_HOME>/webapps/pickup-dispatch/WEB-INF/classes/dispatch.properties file.

If this doesn't solve your issue, please provide any error logs printed and the SP properties file for further analysis.

[1] https://is.docs.wso2.com/en/latest/guides/login/sso-for-oidc/#pickup-dispatch_1

Related