1.0.0-next.45 • Published 3 months ago

@uncefact/vckit-oauth-middleware v1.0.0-next.45

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 months ago

OAuth middleware

OAuth middleware is a package that provides OAuth2 JWT bearer token authentication middleware for Express applications.

Usage

  1. Add the configuration for OAuth middleware to the agent.yml file in the root of your project.

    - $require: '@uncefact/vckit-oauth-middleware?t=function#apiOAuth'
         $args:
           - issuerBaseURL: <your_issuer_base_url>
             audience: <your_audience>

    Make sure to replace <your_issuer_base_url> with the base URL of your issuer, and <your_audience> with the audience.

    You can obtain these values from your OAuth provider, such as Auth0 (https://auth0.com/docs).

  2. To test the middleware:

1.0.0-next.50

3 months ago

1.0.0-next.58

3 months ago

1.0.0-next.57

3 months ago

1.0.0-next.45

4 months ago