In the callback url you have to use regexp=(callback_url|logout_url)
https://is.docs.wso2.com/en/5.9.0/learn/openid-connect-logout-url-redirection/