Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports.verify = middy(verify).use(
- ssm({
- cache: true,
- cacheExpiryInMillis: 5 * 60 * 1000,
- setToContext: true,
- names: {
- ISSUER: `/example/${stage}/okta/issuer`,
- CLIENT_ID: `/example/${stage}/okta/clientid`,
- AUDIENCE: `/example/${stage}/okta/audience`
- }
- })
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement