auth-backend: add plugin export for new backend system
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Vendored
+10
@@ -31,6 +31,16 @@ export interface Config {
|
||||
secret?: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* JWS "alg" (Algorithm) Header Parameter value. Defaults to ES256.
|
||||
* Must match one of the algorithms defined for IdentityClient.
|
||||
* When setting a different algorithm, check if the `key` field
|
||||
* of the `signing_keys` table can fit the length of the generated keys.
|
||||
* If not, add a knex migration file in the migrations folder.
|
||||
* More info on supported algorithms: https://github.com/panva/jose
|
||||
*/
|
||||
identityTokenAlgorithm?: string;
|
||||
|
||||
/** To control how to store JWK data in auth-backend */
|
||||
keyStore?: {
|
||||
provider?: 'database' | 'memory' | 'firestore';
|
||||
|
||||
Reference in New Issue
Block a user