Rocket app that authenticates users with Auth0
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
static/css
.gitignore
Cargo.lock
Cargo.toml update and pin versions Aug 1, 2018
README.md
Rocket.toml.example
extract_public_key.sh
generate-cert.sh

README.md

OAuth with Rocket + Auth0

A basic app that integrates with Auth0.

Configuration

Copy the example Rocket.toml file

cp Rocket.toml.example Rocket.toml

Edit the client_id, redirect_uri, and auth0_domain with your own values.

If you want to use tls, run our provided script to create certs (needs Go installed)

./generate-cert.sh

You must also set AUTH0_CLIENT_SECRET in your environment. We use an env var to avoid leaking our secret key to the console during startup.

All values should be available from from Auth0's management console for your application.

Helpful Docs from Auth0