product-microgateway icon indicating copy to clipboard operation
product-microgateway copied to clipboard

Internal mode for opaque token validation not working in version 3.2.0

Open eiyouwang opened this issue 4 years ago • 1 comments

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"

eiyouwang avatar Sep 15 '20 10:09 eiyouwang

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.

praminda avatar Sep 15 '20 15:09 praminda