qvest-digital/loginsrv

Claim list?

Closed this issue · 1 comments

What are all the claims that caddy-jwt gets access to? Im trying to allow users based on their gmail domain using caddy-login to login

g-w commented

An example for the claims can be found here:

https://github.com/tarent/loginsrv#the-jwt-token

If you need to add additional information to the claims you can use a users file. For example add a section like this:

- origin: Google
  claims:
    role: user
    projects:
      - example