# `PhoenixKit.Users.OAuth`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.87/lib/phoenix_kit/users/oauth.ex#L2)

OAuth authentication context for PhoenixKit.

Handles OAuth authentication flows for external providers like Google, Apple, GitHub.

This module requires the Ueberauth library to be installed. If Ueberauth is not available,
a fallback module with basic functionality will be used instead.

# `find_or_create_user`

Finds an existing user by email or creates a new one from OAuth data.

# `get_user_oauth_providers`

Gets all OAuth providers for a user.

# `handle_oauth_callback`

Handles OAuth callback from Ueberauth.

# `link_oauth_provider`

Links an OAuth provider to a user account.

# `unlink_oauth_provider`

Unlinks an OAuth provider from a user.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
