Skip to content

Elixir library to handle Cloudflare Access security

License

Notifications You must be signed in to change notification settings

primait/cloudflare_access_ex

Repository files navigation

CloudflareAccessEx

Simplifies verification of Cloudflare Access application tokens.

Build Status Hex.pm Documentation

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"}
  ]
end

Documentation

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 check

Important 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 the JwksStrategy module will be called for every request, it is a potential bottleneck. Should consider using an ets table or other shared memory mechanism.
  • Create a Plug module.
  • Write a better Readme
  • Consider publishing to hex
  • Consider contributing JwksStrategy (if good) back to joken_jwks

About

Elixir library to handle Cloudflare Access security

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages