---
title: Introduction
project: OpenAuth
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/openauth/1-0/guides/introduction/
updated: 2026-11-19T09:22:01.648Z
---

# Introduction

> What OpenAuth is, what it does and where to start.

OpenAuth signs your users in with an outside account, such as Facebook, and hands your app their profile. Your app does not talk to the provider itself: it asks OpenAuth to start a sign-in, sends the user to the address OpenAuth gives back, and reads the profile when the user returns.

OpenAuth is an official Total.js app under the MIT license. The code is on [GitHub](https://github.com/totaljs/openauth).

## What you can do

- Sign users in through OAuth 2.0 providers. Each provider is an **extension**; Facebook is included.
- Keep the provider keys (App ID and secret) in one place instead of in every app.
- Give each of your apps its own **token**.
- Get one profile format back: name, email, photo, the provider's access token and the raw answer of the provider.
- See recent sign-ins in **Logs** and the sign-ins in progress in **Sessions**.

## How it fits together

1. You add a provider in [Extensions](../extensions/) and enter its App ID and secret. See [Set up a provider](../set-up-provider/).
2. You create a token for your app in [App tokens](../app-tokens/).
3. Your app sends `POST /` to OpenAuth with the provider name, its own session ID and a return address. OpenAuth answers with a sign-in address.
4. Your app redirects the user there. The user signs in at the provider and comes back to your return address with `?sessionid=...`.
5. Your app reads the profile from `GET /sessions/?id=...`.

[How sign-in works](../../reference/how-sign-in-works/) shows every step in detail.

## Where to go next

- Install OpenAuth [from source](../install-source/) or [with Docker](../install-docker/).
- Lock the admin interface: [Protect the admin interface](../protect-admin/).
- Connect your first app: [Sign in from a Node.js app](../../recipes/sign-in-nodejs/).
