Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. module.exports.verify = middy(verify).use(
  2. ssm({
  3. cache: true,
  4. cacheExpiryInMillis: 5 * 60 * 1000,
  5. setToContext: true,
  6. names: {
  7. ISSUER: `/example/${stage}/okta/issuer`,
  8. CLIENT_ID: `/example/${stage}/okta/clientid`,
  9. AUDIENCE: `/example/${stage}/okta/audience`
  10. }
  11. })
  12. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement