wballard / starphleet

19 stars 37 forks source link

Changes to provide auth0 support #396

Closed johndwyer closed 5 years ago

johndwyer commented 5 years ago

The starphleet-publish was modified to add another variable called jwt_auth_required that will allow support of auth0. This variable is read in the jwt.lua file and there are 2 scenarios:

  1. User does not have a token and auth is required so set header.
  2. User does have a valid token and the new acr jwt claim is not set.