CloudflareAccessEx
Simplifies verification of Cloudflare Access application tokens.
Getting started
Installation
For now, installations should be through git reference. Tags will be available for releases.
def deps do
[
{:cloudflare_access_ex, "~> 0.1"}
]
endDocumentation
Docs are currently unpublished. Installation and usage instruction can be found in the top-level module docs.
Contributing
We appreciate any contribution. Check our CONTRIBUTING.md guide for more information.
Build/Test
To build & test from source:
mix deps.get
mix checkImportant links
Copyright and License
Copyright (c) 2023, Prima.it.
The source code is licensed under the MIT License.
TODO
-
Add a test
JwksStrategy -
If the keys get rotated unexpectedly, the 'JwksStrategy
signers will be out of date until the next poll. - [ ] As theJwksStrategymodule will be called for every request, it is a potential bottleneck. Should consider using an ets table or other shared memory mechanism. - [x] Create aPlugmodule. - [x] Write a better Readme - [ ] Consider publishing to hex - [ ] Consider contributingJwksStrategy` (if good) back to joken_jwks