/elm-auth0

Auth0 for elmlang

Primary LanguageElmBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

elm-auth0

Auth0 for elmlang

This elm package provides data types and helper function for elm web application to use Auth0.

Example

To create an URL for your web app "Login with Google", the following URL builder could help.

auth0AuthorizeURL
    (Auth0Config "https://my-app.auth0.com" "aBcD1234")
    "token"
    "https://my-app/"
    [ "openid", "name", "email" ]
    (Just "google-oauth2")