Code Monkey home page Code Monkey logo

kani's Introduction

Kani

A fast Traefik forward-auth server for validating Cloudflare Access requests

License Code quality
Docker Image Version (latest semver) Docker Pulls

What is Kani?

Kani (ใ‚ซใƒ‹) (Pronunciation) means Crab in Japanese. I'm not entirely sure what I decided to use this name, but here we are. Kani is designed to be a Traefik ForwardAuth server for validating Cloudflare Access requests.

When a request is proxied through Cloudflare Access, a signed JWT token will be sent to the backend (Traefik in this case) as an HTTP header. Since the JWT token is signed, we can get the public keys from Cloudflare Access to validate that it was indeed issued by Cloudflare Access.

Why use Kani?

We recommend using Kani when using Cloudflare Access to protect websites. Kani allows Traefik to validate that requests actually went through Cloudflare Access, preventing users from accessing the page without going through Cloudflare Access.

Getting started

See examples in examples/.

Contributing

If you would like to contribute to this project, please see CONTRIBUTING.md.

Contact

If you want to contact the Kani Project maintainers, please use one of the following methods:

License

Kani is distributed under the terms of the MIT License.
For further details, please refer to the LICENSE file.

Acknowledgements

We are extremely grateful to the amazing individuals who have contributed to this project, as well as those who have supported us by providing valuable feedback and donations.

We would also like to thank all the individuals and companies who have supported us in sustaining this project. We are grateful for their valuable contributions that have enabled us to continue to improve Kani.

Please note that the individuals and companies listed under the "Supporters" section are independent of this project, and their inclusion should not be interpreted as an endorsement or affiliation.

Supporters

We don't currently have any supporters for this project :(
If you would like to sponsor this project, please contact us!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.