---
title: auth-oauth
description: Install the shared OAuth substrate used by first-party OAuth login modules.
---

`auth-oauth` owns shared OAuth identities, connection state, and the Console
surface used to inspect configured providers. It depends on `auth` and normally
appears as a dependency of a concrete provider:

```sh
lenso module install auth
lenso module install auth-oauth
```

You usually do not call it directly from product routes. Install
[`auth-github`](/docs/built-in-modules/auth-github) or
[`auth-google`](/docs/built-in-modules/auth-google) for a complete login flow;
the CLI resolves `auth-oauth` as their declared dependency.

For manual composition, use `builtins::auth_oauth()` between `auth` and the
provider module.
