Skip to content

Allow auth injection in import #33

@annabokhan

Description

@annabokhan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions