maestro-server/server-app

View on GitHub
app/identity/config/auth_forgot_config.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
'use strict';

const {ExtractJwt} = require('passport-jwt');

module.exports = {
    jwtSecret: {
        secretOrKey: process.env.MAESTRO_SECRETJWT_FORGOT || 'defaultSecretKey',
        jwtFromRequest: ExtractJwt.fromAuthHeaderWithScheme('jwt')
    },
    jwtSession: {
        session: false
    }
};