Skip to content
Rocket app that authenticates users with Auth0
Rust Shell CSS
Branch: master
Clone or download
dontlaugh Merge pull request #6 from dontlaugh/fixup_compilation
Fixup compilation, upgrade libraries
Latest commit 9c76fa1 Aug 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Move code to 2018 edition Aug 11, 2019
static/css Code cleanup: fix unused imports and warnings May 7, 2018
.gitignore Fixups Jan 25, 2019
Cargo.lock Move code to 2018 edition Aug 11, 2019
Cargo.toml Move code to 2018 edition Aug 11, 2019
README.md fixup README May 17, 2018
Rocket.toml.example Fixups Jan 25, 2019
extract_public_key.sh example script for extracting public key May 4, 2018
generate-cert.sh done May 17, 2018

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

You can’t perform that action at this time.