Skip to content

novacloudcz/auth-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphql-auth-proxy

Authorization proxy for GraphQL server. JWT is expected as access token and JWKs endpoint is required for downloading public keys for validation.

  • PROXY_URL – URL of server for proxying valid requests
  • JWKS_PROVIDER_URL – JWKs endpoint (eg. https://example.com/.well-known/jwks.json)
  • REQUIRED_JWT_SCOPES – space-separated list of scopes required to be present in JWT access token
  • REQUIRED_JWT_ROLES – space-separated list of scopes required to be present in JWT access token custom claim name roles which should contain array of strings
  • NO_AUTHORIZATION_FORWARDING - disable forwarding of Authorization header (default: "false")

Token scopes

JWT token with custom scope claim is expected. This claim should contain all approved scopes. Currently the introspection endpoint is not supported.

About

HTTP proxy with JWT validation written in Go

Resources

License

Stars

Watchers

Forks

Packages

No packages published