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

Allow auth injection in import #33

Open
annabokhan opened this issue Dec 15, 2023 · 0 comments
Open

Allow auth injection in import #33

annabokhan opened this issue Dec 15, 2023 · 0 comments

Comments

@annabokhan
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant