You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Non-Admin users can generate Opaque tokens with APIM Rest API admin scopes from IS-as-KM token endpoint. And Non-Admin users can access APIM Rest APIs with the above-generated token. tokens
Steps to Reproduce
(Assume a IS-as-KM setup with APIM 4.1.0 and IS-KM 5.11.0)
Description
Non-Admin users can generate Opaque tokens with APIM Rest API admin scopes from IS-as-KM token endpoint. And Non-Admin users can access APIM Rest APIs with the above-generated token. tokens
Steps to Reproduce
(Assume a IS-as-KM setup with APIM 4.1.0 and IS-KM 5.11.0)
Generate Opaque token using Non-Admin user:
curl --location 'https://localhost:9444/oauth2/token'
--header 'Authorization: Basic <base64Encoded(key:secret)>'
--header 'Content-Type: application/x-www-form-urlencoded'
--data-urlencode 'grant_type=password'
--data-urlencode 'username=test'
--data-urlencode 'password=admin'
--data-urlencode 'scope=apim:admin apim:admin_alert_manage apim:admin_application_view apim:admin_operations apim:admin_settings'
Your response contains all the requested APIM Rest API admin scopes.
Use the above-generated token to invoke an APIM Rest API. You will succeed.
Affected Component
APIM
Version
4.1.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered: