Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oauth endpoints of an API cannot be invoked via proxy #3259

Open
akila95fernando opened this issue Oct 15, 2024 · 0 comments · May be fixed by wso2/wso2-synapse#2228 or wso2/carbon-apimgt#12695
Open

Comments

@akila95fernando
Copy link

Description

After applying the following property in deployment.toml of API-Manager 4.0.0 , the backend token call is not connecting through the proxy servers .


[apim.mediator_config.oauth]
enable_retry_call_with_new_token = true

Steps to Reproduce

Update wso2am-4.0.0 to u2 311
Enable following configurations to configure a proxy

[apim.proxy_config]
enable = "true"
host = "xx.xx.xx.xx"
port = "8080"
#username = ""
#password = ""
protocol = "http"
nonProxyHosts = "****.com|####.com"

Enable following configuration


[apim.mediator_config.oauth]
enable_retry_call_with_new_token = true

Deploy an oauth protected API
Configure the token url to be invoked via proxy
Invoke the API
Request hangs as the proxy configurations are not configured

Affected Component

APIM

Version

4.0.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant