Skip to content

wisicn/basic-auth-workers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basic-auth-workers

This is a Basic HTTP Authentication implementation using Cloudflare Workers.

Please refer to the Cloudflare documentation to set up the environment variables.

Variable Name Type Value Notes
AUTH_HEADER_KEY Text authorization The name of the HTTP authentication header, should always be Authorization
AUTH_HEADER_VALUE Secret your_own_secret Should be in the formate of <type> <credentials>

Find a tool to help you to generate the AUTH_HEADER_VALUE

About

A Basic HTTP Authentication implementation using Cloudflare Workers.

Topics

Resources

License

Stars

Watchers

Forks