auth v1.2.1 AuthWeb.AuthController

Link to this section Summary

Functions

github_auth/2 handles the callback from GitHub Auth API redirect.

google_handler/2 handles the callback from Google Auth API redirect.

handler/3 responds to successful auth requests. if the state is defined, redirect to it.

Link to this section Functions

Link to this function

add_jwt_url_param(person, state)

Link to this function

github_handler(conn, map)

github_auth/2 handles the callback from GitHub Auth API redirect.

Link to this function

google_handler(conn, map)

google_handler/2 handles the callback from Google Auth API redirect.

Link to this function

handler(conn, person, state)

handler/3 responds to successful auth requests. if the state is defined, redirect to it.