kkpoon / elm-auth0

Auth0 for elmlang

Home Page:http://package.elm-lang.org/packages/kkpoon/elm-auth0/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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")

About

Auth0 for elmlang

http://package.elm-lang.org/packages/kkpoon/elm-auth0/latest

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Elm 100.0%