Merge pull request #25516 from jasondiazg/master

feat(cloudflare-auth-access-provider): Add support for cloudflare custom headers and cookie auth name
This commit is contained in:
Patrik Oldsberg
2024-08-13 15:18:18 +02:00
committed by GitHub
5 changed files with 118 additions and 6 deletions
+6
View File
@@ -32,6 +32,12 @@ auth:
serviceTokens:
- token: '1uh2fh19efvfh129f1f919u21f2f19jf2.access'
subject: 'bot-user@your-company.com'
# You can customize the header name that contains the jwt token, by default
# cf-access-jwt-assertion is used
jwtHeaderName: <my-header>
# You can customize the authorization cookie name, by default
# CF_Authorization is used
authorizationCookieName: <MY_CAUTHORIZATION_COOKIE_NAME>
# This picks what sign in resolver(s) you want to use.
signIn:
resolvers: