ZWeb.Oauth.GoogleController (Portico/Z v0.1.0)

One-stop shopping for authentication via Google / OAuth

See https://developers.google.com/identity/protocols/oauth2/openid-connect

Link to this section Summary

Functions

URL to use for login / OAuth2 redirect

Show the "login" page

Google will GET back to this endpoint with login success

Link to this section Functions

Link to this function

delete(conn, params)

Logout

Link to this function

login_url(conn, action \\ "/")

URL to use for login / OAuth2 redirect

Send an action to redirect back.

Link to this function

new(conn, params)

Show the "login" page

Link to this function

show(conn, map)

Google will GET back to this endpoint with login success