apollosolutions / router-jwks-generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

router-jwks-generator

The code in this repository is experimental and has been provided for reference purposes only. Community feedback is welcome but this project may not be supported in the same way that repositories in the official Apollo GraphQL GitHub organization are. If you need help you can file an issue on this repository, contact Apollo to talk to an expert, or create a ticket directly in Apollo Studio.

Usage

Requirements

  • Knowledge of token signing algorithms
  • Sample JWT, if available

Basic Usage

The tool will guide you through creating a router configuration file used with the new authentication plugin. By default, the plugin will create a new router.yaml if run as:

npx github:@apollosolutions/router-jwks-generator configure

However you can have the tool modify an existing configuration by using the following:

npx github:@apollosolutions/router-jwks-generator configure --config router.yaml

Known Limitations

  • Published only as source code to Github. Not available on NPM.
  • Doesn't support the creation of local JWKS with asymmetric signing

About

License:MIT License


Languages

Language:TypeScript 99.4%Language:JavaScript 0.6%