Problem Statement
Local testing needs access to shared functions which are accessible via a REST API that requires authorization
Proposed Solution
Add OIDC/OAuth2 support to import function, via a new 'auth' object argument which can have a structure like
- authority (string): The URL of the OIDC/OAuth2 provider, which will be used to get its metadata i.e.
https://snoopy.observe.appdynamics.com/auth/8e1716f8-d79e-4a64-a91d-d1589f5fe94d/default. .well-known/openid-configuration will be appended to this URL as per OIDC specification
- client_id (string): Your client application's identifier as registered with the OIDC/OAuth2 provider
- client_secret (string): Your client application's secret as registered with the OIDC/OAuth2 provider
- scope (string, default: 'openid'): The scope being requested from the OIDC/OAuth2 provider
Problem Statement
Local testing needs access to shared functions which are accessible via a REST API that requires authorization
Proposed Solution
Add OIDC/OAuth2 support to import function, via a new 'auth' object argument which can have a structure like
https://snoopy.observe.appdynamics.com/auth/8e1716f8-d79e-4a64-a91d-d1589f5fe94d/default..well-known/openid-configurationwill be appended to this URL as per OIDC specification