PhoenixKitWeb.Users.OAuth (phoenix_kit v1.5.1)

View Source

OAuth authentication controller using Ueberauth.

This controller requires the following optional dependencies to be installed:

  • ueberauth
  • ueberauth_google (for Google Sign-In)
  • ueberauth_apple (for Apple Sign-In)

If these dependencies are not installed, a fallback controller will be used instead.

Summary

Functions

Handles OAuth callback from provider.

Initiates OAuth authentication flow.

Functions

callback(conn, params)

Handles OAuth callback from provider.

request(conn, params)

Initiates OAuth authentication flow.