product-microgateway
product-microgateway copied to clipboard
Internal mode for opaque token validation not working in version 3.2.0
When I try to using the internal mode to validate opaque token, the micro gateway will try to call /oauth2/introspect instead of /services/APIKeyValidationService.
The config in micro-gw.conf: [keyManager] serverUrl = "http://localhost:9090" tokenContext = "oauth2" external = false [keymanager.security.basic] enabled = true username = "wso2" password = "123456"
What did you refer to by "internal mode"? If you need to use old APIKeyValidationService
method for key validation you need to enable legacy mode by enabling following configuration.
[keyManager]
enableLegacyMode = true
More information on using MGW 320 with old APIM versions can be found in Configuring Runtime for Older API Manager Versions.