wso2 / product-apim

Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
846 stars 785 forks source link

docker-compose apim-is-as-km-with-analytics with apim3.0.0 carbon-oauth-callback_url fail #7125

Closed loeb-ift closed 8 months ago

loeb-ift commented 4 years ago

To try with docker-compose apim-is-as-km-with-analytics with apim3.0.0 follow up on
https://ishara-cooray.blogspot.com/2019/11/how-to-change-default-hostname-of-wso2.html After change the carbon-oauth-callback url from regexp=(https://localhost:9443/publisher/services/auth/callback/login|https://localhost:9443/publisher/services/auth/callback/logout) to regexp=(https://myHost_Name/publisher/services/auth/callback/login|https://api-service.chinatimes.com/publisher/services/auth/callback/logout)

somthing wrong as the following

1.when goto https://myHost_Name/publisher and sign-in

The pages redirect-loop to infinity between both of https://myHost_Name/publisher/apis & https://myHost_Name/publisher/services/auth/login

2.when goto https://myHost_Name/devportal/ and sign-in and get a error

INVALID REQUEST invalid_callback Registered callback does not match with the provided url.

https:///myHost_Name/authenticationendpoint/oauth2_error.do?oauthErrorCode=invalid_callback&oauthErrorMsg=Registered+callback+does+not+match+with+the+provided+url.

`

`

AnuGayan commented 8 months ago

Closing Since the issue has been stale for a long time.