@feathersjs/authentication
Version:
Add Authentication to your FeathersJS app.
11 lines (10 loc) • 353 B
text/typescript
export default {
authStrategies: [],
jwtOptions: {
header: { typ: 'access' }, // by default is an access token but can be any type
audience: 'https://yourdomain.com', // The resource server where the token is processed
issuer: 'feathers', // The issuing server, application or resource
algorithm: 'HS256',
expiresIn: '1d'
}
};