Merge pull request #22211 from tylerd-canva/tylerd/cfaccess-token-poc

Add support for Cloudflare Access Tokens to `cfaccess` Auth Provider
This commit is contained in:
Fredrik Adelöw
2024-02-27 10:20:32 +01:00
committed by GitHub
5 changed files with 210 additions and 9 deletions
+6 -1
View File
@@ -25,9 +25,14 @@ auth:
providers:
cfaccess:
teamName: <Team Name>
serviceTokens:
- token: '1uh2fh19efvfh129f1f919u21f2f19jf2.access'
subject: 'bot-user@your-company.com'
```
You can find the team name in the Cloudflare Zero Trust dashboard.
You can find the team name in the Cloudflare Zero Trust dashboard. The Service
Tokens section is optional -- you only need it if you have some Cloudflare
Service Tokens that you want to be able to log in to your Backstage instance.
This config section must be in place for the provider to load at all. Now let's
add the provider itself.