{"id":"JapjPy2Fl60f","url":"https://totaljs.es/docs/openauth/1-0/guides/introduction/","project":"openauth","version":"1-0","section":"guides","language":"en","title":"Introduction","summary":"What OpenAuth is, what it does and where to start.","markdown":"---\ntitle: Introduction\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/guides/introduction/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Introduction\n\n> What OpenAuth is, what it does and where to start.\n\nOpenAuth 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.\n\nOpenAuth is an official Total.js app under the MIT license. The code is on [GitHub](https://github.com/totaljs/openauth).\n\n## What you can do\n\n- Sign users in through OAuth 2.0 providers. Each provider is an **extension**; Facebook is included.\n- Keep the provider keys (App ID and secret) in one place instead of in every app.\n- Give each of your apps its own **token**.\n- Get one profile format back: name, email, photo, the provider's access token and the raw answer of the provider.\n- See recent sign-ins in **Logs** and the sign-ins in progress in **Sessions**.\n\n## How it fits together\n\n1. You add a provider in [Extensions](../extensions/) and enter its App ID and secret. See [Set up a provider](../set-up-provider/).\n2. You create a token for your app in [App tokens](../app-tokens/).\n3. 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.\n4. Your app redirects the user there. The user signs in at the provider and comes back to your return address with `?sessionid=...`.\n5. Your app reads the profile from `GET /sessions/?id=...`.\n\n[How sign-in works](../../reference/how-sign-in-works/) shows every step in detail.\n\n## Where to go next\n\n- Install OpenAuth [from source](../install-source/) or [with Docker](../install-docker/).\n- Lock the admin interface: [Protect the admin interface](../protect-admin/).\n- Connect your first app: [Sign in from a Node.js app](../../recipes/sign-in-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPy2Fl60f-de","url":"https://totaljs.es/docs/de/openauth/1-0/guides/introduction/","project":"openauth","version":"1-0","section":"guides","language":"de","title":"Einführung","summary":"Was OpenAuth ist, was es tut und wo du anfängst.","markdown":"---\ntitle: \"Einführung\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/guides/introduction/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Einführung\n\n> Was OpenAuth ist, was es tut und wo du anfängst.\n\nOpenAuth meldet deine Benutzer mit einem externen Konto an, etwa bei Facebook, und gibt deiner App ihr Profil. Deine App spricht nicht selbst mit dem Anbieter: Sie bittet OpenAuth, eine Anmeldung zu starten, schickt die Person an die Adresse, die OpenAuth zurückgibt, und liest das Profil, wenn die Person zurückkommt.\n\nOpenAuth ist eine offizielle Total.js-App unter der MIT-Lizenz. Der Code liegt auf [GitHub](https://github.com/totaljs/openauth).\n\n## Was du tun kannst\n\n- Benutzer über OAuth-2.0-Anbieter anmelden. Jeder Anbieter ist eine **Erweiterung**; Facebook ist dabei.\n- Die Schlüssel der Anbieter (App ID und Secret) an einem Ort aufbewahren statt in jeder App.\n- Jeder deiner Apps ihr eigenes **Token** geben.\n- Ein einheitliches Profilformat zurückbekommen: Name, E-Mail, Foto, das Zugangstoken des Anbieters und die rohe Antwort des Anbieters.\n- Die letzten Anmeldungen unter **Logs** und die laufenden Anmeldungen unter **Sessions** sehen.\n\n## Wie alles zusammenpasst\n\n1. Du fügst unter [Erweiterungen](../extensions/) einen Anbieter hinzu und trägst seine App ID und sein Secret ein. Siehe [Einen Anbieter einrichten](../set-up-provider/).\n2. Du legst unter [App-Tokens](../app-tokens/) ein Token für deine App an.\n3. Deine App sendet `POST /` an OpenAuth, mit dem Namen des Anbieters, ihrer eigenen Sitzungs-ID und einer Rücksprungadresse. OpenAuth antwortet mit einer Anmeldeadresse.\n4. Deine App leitet die Person dorthin weiter. Die Person meldet sich beim Anbieter an und kommt mit `?sessionid=...` zu deiner Rücksprungadresse zurück.\n5. Deine App liest das Profil von `GET /sessions/?id=...`.\n\n[So funktioniert die Anmeldung](../../reference/how-sign-in-works/) zeigt jeden Schritt im Detail.\n\n## Wie es weitergeht\n\n- OpenAuth installieren: [aus dem Quellcode](../install-source/) oder [mit Docker](../install-docker/).\n- Die Admin-Oberfläche absichern: [Die Admin-Oberfläche schützen](../protect-admin/).\n- Deine erste App anbinden: [Aus einer Node.js-App anmelden](../../recipes/sign-in-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPy2Fl60f-es","url":"https://totaljs.es/docs/es/openauth/1-0/guides/introduction/","project":"openauth","version":"1-0","section":"guides","language":"es","title":"Introducción","summary":"Qué es OpenAuth, qué hace y por dónde empezar.","markdown":"---\ntitle: \"Introducción\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/guides/introduction/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Introducción\n\n> Qué es OpenAuth, qué hace y por dónde empezar.\n\nOpenAuth inicia la sesión de tus usuarios con una cuenta externa, como Facebook, y entrega su perfil a tu app. Tu app no habla directamente con el proveedor: le pide a OpenAuth que empiece un inicio de sesión, envía al usuario a la dirección que le devuelve OpenAuth y lee el perfil cuando el usuario vuelve.\n\nOpenAuth es una app oficial de Total.js con licencia MIT. El código está en [GitHub](https://github.com/totaljs/openauth).\n\n## Qué puedes hacer\n\n- Iniciar la sesión de los usuarios a través de proveedores OAuth 2.0. Cada proveedor es una **extensión**; Facebook viene incluido.\n- Guardar las claves de los proveedores (App ID y secreto) en un solo sitio en lugar de en cada app.\n- Dar a cada una de tus apps su propio **token**.\n- Recibir siempre el mismo formato de perfil: nombre, correo, foto, el token de acceso del proveedor y la respuesta original del proveedor.\n- Ver los inicios de sesión recientes en **Logs** y los que están en curso en **Sessions**.\n\n## Cómo encaja todo\n\n1. Añades un proveedor en [Extensiones](../extensions/) e introduces su App ID y su secreto. Consulta [Configura un proveedor](../set-up-provider/).\n2. Creas un token para tu app en [Tokens de app](../app-tokens/).\n3. Tu app envía `POST /` a OpenAuth con el nombre del proveedor, su propio ID de sesión y una dirección de retorno. OpenAuth responde con una dirección de inicio de sesión.\n4. Tu app redirige al usuario allí. El usuario inicia sesión en el proveedor y vuelve a tu dirección de retorno con `?sessionid=...`.\n5. Tu app lee el perfil de `GET /sessions/?id=...`.\n\n[Cómo funciona el inicio de sesión](../../reference/how-sign-in-works/) muestra cada paso en detalle.\n\n## Por dónde seguir\n\n- Instala OpenAuth [desde el código fuente](../install-source/) o [con Docker](../install-docker/).\n- Bloquea la interfaz de administración: [Protege la interfaz de administración](../protect-admin/).\n- Conecta tu primera app: [Inicia sesión desde una app de Node.js](../../recipes/sign-in-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPy2Fl60f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/guides/introduction/","project":"openauth","version":"1-0","section":"guides","language":"fr","title":"Introduction","summary":"Ce qu’est OpenAuth, ce qu’il fait et par où commencer.","markdown":"---\ntitle: Introduction\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/guides/introduction/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Introduction\n\n> Ce qu’est OpenAuth, ce qu’il fait et par où commencer.\n\nOpenAuth connecte tes utilisateurs avec un compte externe, comme Facebook, et transmet leur profil à ton application. Ton application ne parle pas elle-même au fournisseur : elle demande à OpenAuth de lancer une connexion, envoie l’utilisateur à l’adresse qu’OpenAuth lui renvoie, et lit le profil quand l’utilisateur revient.\n\nOpenAuth est une application officielle Total.js sous licence MIT. Le code est sur [GitHub](https://github.com/totaljs/openauth).\n\n## Ce que tu peux faire\n\n- Connecter des utilisateurs via des fournisseurs OAuth 2.0. Chaque fournisseur est une **extension** ; Facebook est inclus.\n- Garder les clés des fournisseurs (App ID et secret) au même endroit plutôt que dans chaque application.\n- Donner à chacune de tes applications son propre **jeton**.\n- Recevoir un seul format de profil : nom, e-mail, photo, jeton d’accès du fournisseur et réponse brute du fournisseur.\n- Voir les connexions récentes dans **Logs** et les connexions en cours dans **Sessions**.\n\n## Comment tout s’articule\n\n1. Tu ajoutes un fournisseur dans [Extensions](../extensions/) et tu saisis son App ID et son secret. Consulte [Configurer un fournisseur](../set-up-provider/).\n2. Tu crées un jeton pour ton application dans [Jetons d’application](../app-tokens/).\n3. Ton application envoie `POST /` à OpenAuth avec le nom du fournisseur, son propre identifiant de session et une adresse de retour. OpenAuth répond avec une adresse de connexion.\n4. Ton application redirige l’utilisateur vers cette adresse. L’utilisateur se connecte chez le fournisseur et revient à ton adresse de retour avec `?sessionid=...`.\n5. Ton application lit le profil avec `GET /sessions/?id=...`.\n\n[Comment fonctionne la connexion](../../reference/how-sign-in-works/) montre chaque étape en détail.\n\n## Par où continuer\n\n- Installe OpenAuth [depuis le code source](../install-source/) ou [avec Docker](../install-docker/).\n- Verrouille l’interface d’administration : [Protéger l’interface d’administration](../protect-admin/).\n- Connecte ta première application : [Connexion depuis une application Node.js](../../recipes/sign-in-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPy2Fl60f-it","url":"https://totaljs.es/docs/it/openauth/1-0/guides/introduction/","project":"openauth","version":"1-0","section":"guides","language":"it","title":"Introduzione","summary":"Cos'è OpenAuth, cosa fa e da dove iniziare.","markdown":"---\ntitle: Introduzione\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/guides/introduction/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Introduzione\n\n> Cos'è OpenAuth, cosa fa e da dove iniziare.\n\nOpenAuth fa accedere i tuoi utenti con un account esterno, come Facebook, e passa il loro profilo alla tua app. La tua app non parla direttamente con il provider: chiede a OpenAuth di avviare un accesso, manda l'utente all'indirizzo che OpenAuth le restituisce e legge il profilo quando l'utente torna.\n\nOpenAuth è un'app ufficiale di Total.js con licenza MIT. Il codice è su [GitHub](https://github.com/totaljs/openauth).\n\n## Cosa puoi fare\n\n- Far accedere gli utenti tramite provider OAuth 2.0. Ogni provider è un'**estensione**; Facebook è incluso.\n- Tenere le chiavi dei provider (App ID e segreto) in un unico posto invece che in ogni app.\n- Dare a ciascuna delle tue app il suo **token**.\n- Ricevere sempre lo stesso formato di profilo: nome, email, foto, il token di accesso del provider e la risposta originale del provider.\n- Vedere gli accessi recenti in **Logs** e quelli in corso in **Sessions**.\n\n## Come funziona l'insieme\n\n1. Aggiungi un provider in [Estensioni](../extensions/) e inserisci il suo App ID e il segreto. Leggi [Configurare un provider](../set-up-provider/).\n2. Crei un token per la tua app in [Token delle app](../app-tokens/).\n3. La tua app invia `POST /` a OpenAuth con il nome del provider, il suo ID di sessione e un indirizzo di ritorno. OpenAuth risponde con un indirizzo di accesso.\n4. La tua app reindirizza lì l'utente. L'utente accede presso il provider e torna al tuo indirizzo di ritorno con `?sessionid=...`.\n5. La tua app legge il profilo da `GET /sessions/?id=...`.\n\n[Come funziona l'accesso](../../reference/how-sign-in-works/) mostra ogni passaggio nei dettagli.\n\n## Dove andare dopo\n\n- Installa OpenAuth [dal codice sorgente](../install-source/) o [con Docker](../install-docker/).\n- Blocca l'interfaccia di amministrazione: [Proteggere l'interfaccia di amministrazione](../protect-admin/).\n- Collega la tua prima app: [Accedere da un'app Node.js](../../recipes/sign-in-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPy2Fl60f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/guides/introduction/","project":"openauth","version":"1-0","section":"guides","language":"sk","title":"Úvod","summary":"Čo je OpenAuth, čo robí a kde začať.","markdown":"---\ntitle: \"Úvod\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/guides/introduction/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Úvod\n\n> Čo je OpenAuth, čo robí a kde začať.\n\nOpenAuth prihlási tvojich používateľov cez externý účet, napríklad Facebook, a odovzdá tvojej aplikácii ich profil. Tvoja aplikácia s poskytovateľom sama nekomunikuje: požiada OpenAuth o spustenie prihlásenia, pošle používateľa na adresu, ktorú OpenAuth vráti, a keď sa používateľ vráti, prečíta jeho profil.\n\nOpenAuth je oficiálna aplikácia Total.js s licenciou MIT. Kód je na [GitHube](https://github.com/totaljs/openauth).\n\n## Čo môžeš robiť\n\n- Prihlasovať používateľov cez poskytovateľov OAuth 2.0. Každý poskytovateľ je **rozšírenie**; Facebook je súčasťou.\n- Mať kľúče poskytovateľov (App ID a tajný kľúč) na jednom mieste namiesto v každej aplikácii.\n- Dať každej svojej aplikácii vlastný **token**.\n- Dostať späť profil vždy v rovnakom formáte: meno, e-mail, fotku, prístupový token poskytovateľa a pôvodnú odpoveď poskytovateľa.\n- Vidieť nedávne prihlásenia v **Logs** a prebiehajúce prihlásenia v **Sessions**.\n\n## Ako to do seba zapadá\n\n1. Pridáš poskytovateľa v [Rozšíreniach](../extensions/) a zadáš jeho App ID a tajný kľúč. Pozri si [Nastavenie poskytovateľa](../set-up-provider/).\n2. Vytvoríš token pre svoju aplikáciu v [Tokenoch aplikácií](../app-tokens/).\n3. Tvoja aplikácia pošle OpenAuth `POST /` s názvom poskytovateľa, vlastným ID relácie a návratovou adresou. OpenAuth odpovie adresou na prihlásenie.\n4. Tvoja aplikácia tam používateľa presmeruje. Používateľ sa prihlási u poskytovateľa a vráti sa na tvoju návratovú adresu s `?sessionid=...`.\n5. Tvoja aplikácia prečíta profil z `GET /sessions/?id=...`.\n\n[Ako funguje prihlásenie](../../reference/how-sign-in-works/) ukazuje každý krok podrobne.\n\n## Kam ďalej\n\n- Nainštaluj OpenAuth [zo zdrojového kódu](../install-source/) alebo [s Dockerom](../install-docker/).\n- Zamkni administráciu: [Ochrana administrácie](../protect-admin/).\n- Pripoj svoju prvú aplikáciu: [Prihlásenie z aplikácie Node.js](../../recipes/sign-in-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPx2Dl60f","url":"https://totaljs.es/docs/openauth/1-0/guides/install-source/","project":"openauth","version":"1-0","section":"guides","language":"en","title":"Install from source","summary":"Install OpenAuth with Node.js and start it on your computer or server.","markdown":"---\ntitle: Install from source\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/guides/install-source/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Install from source\n\n> Install OpenAuth with Node.js and start it on your computer or server.\n\nYou need [Node.js](https://nodejs.org) 16 or newer and Git.\n\n## Install and start\n\n**1.** Get the code and open its folder:\n\n```bash\ngit clone https://github.com/totaljs/openauth.git\ncd openauth\n```\n\n**2.** Install the dependencies (once):\n\n```bash\nnpm install\n```\n\n**3.** Start OpenAuth:\n\n```bash\nnpm start\n```\n\n**4.** Open `http://localhost:8000/` in your browser. OpenAuth opens the admin interface at `/setup/`.\n\n**5.** Set a primary access token straight away. See [Protect the admin interface](../protect-admin/).\n\nOpenAuth keeps running until you stop it with Ctrl+C in the terminal.\n\n## Use another port\n\n`npm start` uses port 8000. To use another port, start OpenAuth with Node.js and pass the port:\n\n```bash\nnode index.js 8080\n```\n\n## Where your data is saved\n\nTokens, provider settings, installed extensions and the sign-in log are saved in the `databases` folder inside the OpenAuth folder. See [The data folder](../../reference/data-folder/) and [Back up your data](../backups/).\n\nBefore other people can reach OpenAuth, read [Run in production](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPx2Dl60f-de","url":"https://totaljs.es/docs/de/openauth/1-0/guides/install-source/","project":"openauth","version":"1-0","section":"guides","language":"de","title":"Aus dem Quellcode installieren","summary":"Installiere OpenAuth mit Node.js und starte es auf deinem Computer oder Server.","markdown":"---\ntitle: Aus dem Quellcode installieren\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/guides/install-source/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Aus dem Quellcode installieren\n\n> Installiere OpenAuth mit Node.js und starte es auf deinem Computer oder Server.\n\nDu brauchst [Node.js](https://nodejs.org) 16 oder neuer und Git.\n\n## Installieren und starten\n\n**1.** Hol dir den Code und öffne seinen Ordner:\n\n```bash\ngit clone https://github.com/totaljs/openauth.git\ncd openauth\n```\n\n**2.** Installiere die Abhängigkeiten (einmalig):\n\n```bash\nnpm install\n```\n\n**3.** Starte OpenAuth:\n\n```bash\nnpm start\n```\n\n**4.** Öffne `http://localhost:8000/` in deinem Browser. OpenAuth öffnet die Admin-Oberfläche unter `/setup/`.\n\n**5.** Leg sofort ein primäres Zugangstoken fest. Siehe [Die Admin-Oberfläche schützen](../protect-admin/).\n\nOpenAuth läuft, bis du es im Terminal mit Ctrl+C stoppst.\n\n## Einen anderen Port nutzen\n\n`npm start` nutzt Port 8000. Für einen anderen Port startest du OpenAuth mit Node.js und gibst den Port mit:\n\n```bash\nnode index.js 8080\n```\n\n## Wo deine Daten gespeichert werden\n\nTokens, Anbieter-Einstellungen, installierte Erweiterungen und das Anmeldeprotokoll werden im Ordner `databases` im Ordner von OpenAuth gespeichert. Siehe [Der Datenordner](../../reference/data-folder/) und [Deine Daten sichern](../backups/).\n\nBevor andere Leute OpenAuth erreichen können, lies [Im Produktivbetrieb](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPx2Dl60f-es","url":"https://totaljs.es/docs/es/openauth/1-0/guides/install-source/","project":"openauth","version":"1-0","section":"guides","language":"es","title":"Instala desde el código fuente","summary":"Instala OpenAuth con Node.js e inícialo en tu ordenador o servidor.","markdown":"---\ntitle: \"Instala desde el código fuente\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/guides/install-source/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Instala desde el código fuente\n\n> Instala OpenAuth con Node.js e inícialo en tu ordenador o servidor.\n\nNecesitas [Node.js](https://nodejs.org) 16 o posterior y Git.\n\n## Instala e inicia\n\n**1.** Descarga el código y abre su carpeta:\n\n```bash\ngit clone https://github.com/totaljs/openauth.git\ncd openauth\n```\n\n**2.** Instala las dependencias (una sola vez):\n\n```bash\nnpm install\n```\n\n**3.** Inicia OpenAuth:\n\n```bash\nnpm start\n```\n\n**4.** Abre `http://localhost:8000/` en tu navegador. OpenAuth abre la interfaz de administración en `/setup/`.\n\n**5.** Pon un token de acceso principal enseguida. Consulta [Protege la interfaz de administración](../protect-admin/).\n\nOpenAuth sigue funcionando hasta que lo detienes con Ctrl+C en el terminal.\n\n## Usa otro puerto\n\n`npm start` usa el puerto 8000. Para usar otro puerto, inicia OpenAuth con Node.js y pásale el puerto:\n\n```bash\nnode index.js 8080\n```\n\n## Dónde se guardan tus datos\n\nLos tokens, los ajustes de los proveedores, las extensiones instaladas y el registro de inicios de sesión se guardan en la carpeta `databases`, dentro de la carpeta de OpenAuth. Consulta [La carpeta de datos](../../reference/data-folder/) y [Haz copia de seguridad de tus datos](../backups/).\n\nAntes de que otras personas puedan llegar a OpenAuth, lee [Ponlo en producción](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPx2Dl60f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/guides/install-source/","project":"openauth","version":"1-0","section":"guides","language":"fr","title":"Installer depuis le code source","summary":"Installe OpenAuth avec Node.js et démarre-le sur ton ordinateur ou ton serveur.","markdown":"---\ntitle: Installer depuis le code source\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/guides/install-source/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Installer depuis le code source\n\n> Installe OpenAuth avec Node.js et démarre-le sur ton ordinateur ou ton serveur.\n\nIl te faut [Node.js](https://nodejs.org) 16 ou plus récent et Git.\n\n## Installer et démarrer\n\n**1.** Récupère le code et ouvre son dossier :\n\n```bash\ngit clone https://github.com/totaljs/openauth.git\ncd openauth\n```\n\n**2.** Installe les dépendances (une seule fois) :\n\n```bash\nnpm install\n```\n\n**3.** Démarre OpenAuth :\n\n```bash\nnpm start\n```\n\n**4.** Ouvre `http://localhost:8000/` dans ton navigateur. OpenAuth ouvre l’interface d’administration à `/setup/`.\n\n**5.** Définis tout de suite un jeton d’accès principal. Consulte [Protéger l’interface d’administration](../protect-admin/).\n\nOpenAuth tourne jusqu’à ce que tu l’arrêtes avec Ctrl+C dans le terminal.\n\n## Utiliser un autre port\n\n`npm start` utilise le port 8000. Pour utiliser un autre port, démarre OpenAuth avec Node.js et indique le port :\n\n```bash\nnode index.js 8080\n```\n\n## Où tes données sont enregistrées\n\nLes jetons, les réglages des fournisseurs, les extensions installées et le journal des connexions sont enregistrés dans le dossier `databases`, dans le dossier d’OpenAuth. Consulte [Le dossier de données](../../reference/data-folder/) et [Sauvegarder tes données](../backups/).\n\nAvant que d’autres personnes puissent accéder à OpenAuth, lis [Exécuter en production](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPx2Dl60f-it","url":"https://totaljs.es/docs/it/openauth/1-0/guides/install-source/","project":"openauth","version":"1-0","section":"guides","language":"it","title":"Installare dal codice sorgente","summary":"Installa OpenAuth con Node.js e avvialo sul tuo computer o server.","markdown":"---\ntitle: Installare dal codice sorgente\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/guides/install-source/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Installare dal codice sorgente\n\n> Installa OpenAuth con Node.js e avvialo sul tuo computer o server.\n\nTi servono [Node.js](https://nodejs.org) 16 o più recente e Git.\n\n## Installare e avviare\n\n**1.** Scarica il codice e apri la sua cartella:\n\n```bash\ngit clone https://github.com/totaljs/openauth.git\ncd openauth\n```\n\n**2.** Installa le dipendenze (una volta sola):\n\n```bash\nnpm install\n```\n\n**3.** Avvia OpenAuth:\n\n```bash\nnpm start\n```\n\n**4.** Apri `http://localhost:8000/` nel browser. OpenAuth apre l'interfaccia di amministrazione in `/setup/`.\n\n**5.** Imposta subito un token di accesso principale. Leggi [Proteggere l'interfaccia di amministrazione](../protect-admin/).\n\nOpenAuth resta in esecuzione finché non lo fermi con Ctrl+C nel terminale.\n\n## Usare un'altra porta\n\n`npm start` usa la porta 8000. Per usare un'altra porta, avvia OpenAuth con Node.js e passa la porta:\n\n```bash\nnode index.js 8080\n```\n\n## Dove vengono salvati i tuoi dati\n\nI token, le impostazioni dei provider, le estensioni installate e il log degli accessi vengono salvati nella cartella `databases` dentro la cartella di OpenAuth. Leggi [La cartella dei dati](../../reference/data-folder/) e [Fare il backup dei dati](../backups/).\n\nPrima che altre persone possano raggiungere OpenAuth, leggi [Usare in produzione](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPx2Dl60f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/guides/install-source/","project":"openauth","version":"1-0","section":"guides","language":"sk","title":"Inštalácia zo zdrojového kódu","summary":"Nainštaluj OpenAuth s Node.js a spusti ho na svojom počítači alebo serveri.","markdown":"---\ntitle: \"Inštalácia zo zdrojového kódu\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/guides/install-source/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Inštalácia zo zdrojového kódu\n\n> Nainštaluj OpenAuth s Node.js a spusti ho na svojom počítači alebo serveri.\n\nPotrebuješ [Node.js](https://nodejs.org) 16 alebo novší a Git.\n\n## Inštalácia a spustenie\n\n**1.** Stiahni kód a otvor jeho priečinok:\n\n```bash\ngit clone https://github.com/totaljs/openauth.git\ncd openauth\n```\n\n**2.** Nainštaluj závislosti (stačí raz):\n\n```bash\nnpm install\n```\n\n**3.** Spusti OpenAuth:\n\n```bash\nnpm start\n```\n\n**4.** Otvor v prehliadači `http://localhost:8000/`. OpenAuth otvorí administráciu na `/setup/`.\n\n**5.** Hneď nastav hlavný prístupový token. Pozri si [Ochrana administrácie](../protect-admin/).\n\nOpenAuth beží, kým ho nezastavíš klávesmi Ctrl+C v termináli.\n\n## Iný port\n\n`npm start` používa port 8000. Ak chceš iný port, spusti OpenAuth cez Node.js a zadaj port:\n\n```bash\nnode index.js 8080\n```\n\n## Kam sa ukladajú tvoje dáta\n\nTokeny, nastavenia poskytovateľov, nainštalované rozšírenia a log prihlásení sa ukladajú do priečinka `databases` vnútri priečinka OpenAuth. Pozri si [Priečinok s dátami](../../reference/data-folder/) a [Zálohuj svoje dáta](../backups/).\n\nSkôr než sa k OpenAuth dostanú iní ľudia, prečítaj si [Prevádzka v produkcii](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPv2Bl60f","url":"https://totaljs.es/docs/openauth/1-0/guides/install-docker/","project":"openauth","version":"1-0","section":"guides","language":"en","title":"Install with Docker","summary":"Build the OpenAuth image from the repository and run it in a container.","markdown":"---\ntitle: Install with Docker\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/guides/install-docker/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Install with Docker\n\n> Build the OpenAuth image from the repository and run it in a container.\n\nThe repository has a `Dockerfile`. You need [Docker](https://docs.docker.com/get-docker/) and Git.\n\n## Build and run\n\n**1.** Get the code and open its folder:\n\n```bash\ngit clone https://github.com/totaljs/openauth.git\ncd openauth\n```\n\n**2.** Build the image:\n\n```bash\ndocker build -t openauth .\n```\n\n**3.** Start a container. The volume `openauth` keeps your data when the container is replaced:\n\n```bash\ndocker run -d --name openauth -p 8000:8000 -v openauth:/www openauth\n```\n\n**4.** Open `http://localhost:8000/` and set a primary access token. See [Protect the admin interface](../protect-admin/).\n\n## Stop, start and update\n\n```bash\ndocker stop openauth\ndocker start openauth\n```\n\nTo update, pull the new code, build the image again, remove the old container and start a new one with the same volume:\n\n```bash\ngit pull\ndocker build -t openauth .\ndocker rm -f openauth\ndocker run -d --name openauth -p 8000:8000 -v openauth:/www openauth\n```\n\nYour tokens, provider settings and the sign-in log stay in the volume. Inside the container they are in `/www/.src/databases`. See [The data folder](../../reference/data-folder/).\n\nSign-ins in progress are kept in memory, so a restart cancels them. Users who were in the middle of signing in start again.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPv2Bl60f-de","url":"https://totaljs.es/docs/de/openauth/1-0/guides/install-docker/","project":"openauth","version":"1-0","section":"guides","language":"de","title":"Mit Docker installieren","summary":"Baue das Image von OpenAuth aus dem Repository und starte es in einem Container.","markdown":"---\ntitle: Mit Docker installieren\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/guides/install-docker/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Mit Docker installieren\n\n> Baue das Image von OpenAuth aus dem Repository und starte es in einem Container.\n\nDas Repository enthält ein `Dockerfile`. Du brauchst [Docker](https://docs.docker.com/get-docker/) und Git.\n\n## Bauen und starten\n\n**1.** Hol dir den Code und öffne seinen Ordner:\n\n```bash\ngit clone https://github.com/totaljs/openauth.git\ncd openauth\n```\n\n**2.** Bau das Image:\n\n```bash\ndocker build -t openauth .\n```\n\n**3.** Starte einen Container. Das Volume `openauth` behält deine Daten, wenn der Container ersetzt wird:\n\n```bash\ndocker run -d --name openauth -p 8000:8000 -v openauth:/www openauth\n```\n\n**4.** Öffne `http://localhost:8000/` und leg ein primäres Zugangstoken fest. Siehe [Die Admin-Oberfläche schützen](../protect-admin/).\n\n## Stoppen, starten und aktualisieren\n\n```bash\ndocker stop openauth\ndocker start openauth\n```\n\nZum Aktualisieren holst du den neuen Code, baust das Image neu, entfernst den alten Container und startest einen neuen mit demselben Volume:\n\n```bash\ngit pull\ndocker build -t openauth .\ndocker rm -f openauth\ndocker run -d --name openauth -p 8000:8000 -v openauth:/www openauth\n```\n\nDeine Tokens, Anbieter-Einstellungen und das Anmeldeprotokoll bleiben im Volume. Im Container liegen sie in `/www/.src/databases`. Siehe [Der Datenordner](../../reference/data-folder/).\n\nLaufende Anmeldungen liegen im Arbeitsspeicher, ein Neustart bricht sie also ab. Wer gerade mitten in der Anmeldung war, fängt neu an.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPv2Bl60f-es","url":"https://totaljs.es/docs/es/openauth/1-0/guides/install-docker/","project":"openauth","version":"1-0","section":"guides","language":"es","title":"Instala con Docker","summary":"Construye la imagen de OpenAuth desde el repositorio y ejecútala en un contenedor.","markdown":"---\ntitle: Instala con Docker\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/guides/install-docker/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Instala con Docker\n\n> Construye la imagen de OpenAuth desde el repositorio y ejecútala en un contenedor.\n\nEl repositorio tiene un `Dockerfile`. Necesitas [Docker](https://docs.docker.com/get-docker/) y Git.\n\n## Construye y ejecuta\n\n**1.** Descarga el código y abre su carpeta:\n\n```bash\ngit clone https://github.com/totaljs/openauth.git\ncd openauth\n```\n\n**2.** Construye la imagen:\n\n```bash\ndocker build -t openauth .\n```\n\n**3.** Inicia un contenedor. El volumen `openauth` conserva tus datos cuando sustituyes el contenedor:\n\n```bash\ndocker run -d --name openauth -p 8000:8000 -v openauth:/www openauth\n```\n\n**4.** Abre `http://localhost:8000/` y pon un token de acceso principal. Consulta [Protege la interfaz de administración](../protect-admin/).\n\n## Detén, inicia y actualiza\n\n```bash\ndocker stop openauth\ndocker start openauth\n```\n\nPara actualizar, descarga el código nuevo, vuelve a construir la imagen, elimina el contenedor antiguo e inicia uno nuevo con el mismo volumen:\n\n```bash\ngit pull\ndocker build -t openauth .\ndocker rm -f openauth\ndocker run -d --name openauth -p 8000:8000 -v openauth:/www openauth\n```\n\nTus tokens, los ajustes de los proveedores y el registro de inicios de sesión se quedan en el volumen. Dentro del contenedor están en `/www/.src/databases`. Consulta [La carpeta de datos](../../reference/data-folder/).\n\nLos inicios de sesión en curso se guardan en memoria, así que un reinicio los cancela. Los usuarios que estaban iniciando sesión tienen que volver a empezar.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPv2Bl60f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/guides/install-docker/","project":"openauth","version":"1-0","section":"guides","language":"fr","title":"Installer avec Docker","summary":"Construis l’image OpenAuth à partir du dépôt et exécute-la dans un conteneur.","markdown":"---\ntitle: Installer avec Docker\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/guides/install-docker/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Installer avec Docker\n\n> Construis l’image OpenAuth à partir du dépôt et exécute-la dans un conteneur.\n\nLe dépôt contient un `Dockerfile`. Il te faut [Docker](https://docs.docker.com/get-docker/) et Git.\n\n## Construire et lancer\n\n**1.** Récupère le code et ouvre son dossier :\n\n```bash\ngit clone https://github.com/totaljs/openauth.git\ncd openauth\n```\n\n**2.** Construis l’image :\n\n```bash\ndocker build -t openauth .\n```\n\n**3.** Démarre un conteneur. Le volume `openauth` conserve tes données quand le conteneur est remplacé :\n\n```bash\ndocker run -d --name openauth -p 8000:8000 -v openauth:/www openauth\n```\n\n**4.** Ouvre `http://localhost:8000/` et définis un jeton d’accès principal. Consulte [Protéger l’interface d’administration](../protect-admin/).\n\n## Arrêter, démarrer et mettre à jour\n\n```bash\ndocker stop openauth\ndocker start openauth\n```\n\nPour mettre à jour, récupère le nouveau code, reconstruis l’image, supprime l’ancien conteneur et démarres-en un nouveau avec le même volume :\n\n```bash\ngit pull\ndocker build -t openauth .\ndocker rm -f openauth\ndocker run -d --name openauth -p 8000:8000 -v openauth:/www openauth\n```\n\nTes jetons, les réglages des fournisseurs et le journal des connexions restent dans le volume. Dans le conteneur, ils se trouvent dans `/www/.src/databases`. Consulte [Le dossier de données](../../reference/data-folder/).\n\nLes connexions en cours sont gardées en mémoire : un redémarrage les annule. Les utilisateurs qui étaient en train de se connecter doivent recommencer.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPv2Bl60f-it","url":"https://totaljs.es/docs/it/openauth/1-0/guides/install-docker/","project":"openauth","version":"1-0","section":"guides","language":"it","title":"Installare con Docker","summary":"Crea l'immagine di OpenAuth dal repository ed eseguila in un container.","markdown":"---\ntitle: Installare con Docker\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/guides/install-docker/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Installare con Docker\n\n> Crea l'immagine di OpenAuth dal repository ed eseguila in un container.\n\nIl repository ha un `Dockerfile`. Ti servono [Docker](https://docs.docker.com/get-docker/) e Git.\n\n## Creare ed eseguire\n\n**1.** Scarica il codice e apri la sua cartella:\n\n```bash\ngit clone https://github.com/totaljs/openauth.git\ncd openauth\n```\n\n**2.** Crea l'immagine:\n\n```bash\ndocker build -t openauth .\n```\n\n**3.** Avvia un container. Il volume `openauth` conserva i tuoi dati quando il container viene sostituito:\n\n```bash\ndocker run -d --name openauth -p 8000:8000 -v openauth:/www openauth\n```\n\n**4.** Apri `http://localhost:8000/` e imposta un token di accesso principale. Leggi [Proteggere l'interfaccia di amministrazione](../protect-admin/).\n\n## Fermare, avviare e aggiornare\n\n```bash\ndocker stop openauth\ndocker start openauth\n```\n\nPer aggiornare, scarica il nuovo codice, crea di nuovo l'immagine, elimina il vecchio container e avviane uno nuovo con lo stesso volume:\n\n```bash\ngit pull\ndocker build -t openauth .\ndocker rm -f openauth\ndocker run -d --name openauth -p 8000:8000 -v openauth:/www openauth\n```\n\nI tuoi token, le impostazioni dei provider e il log degli accessi restano nel volume. Dentro il container si trovano in `/www/.src/databases`. Leggi [La cartella dei dati](../../reference/data-folder/).\n\nGli accessi in corso stanno in memoria, quindi un riavvio li annulla. Gli utenti che stavano accedendo devono ricominciare.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPv2Bl60f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/guides/install-docker/","project":"openauth","version":"1-0","section":"guides","language":"sk","title":"Inštalácia s Dockerom","summary":"Zostav obraz OpenAuth z repozitára a spusti ho v kontajneri.","markdown":"---\ntitle: \"Inštalácia s Dockerom\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/guides/install-docker/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Inštalácia s Dockerom\n\n> Zostav obraz OpenAuth z repozitára a spusti ho v kontajneri.\n\nRepozitár obsahuje `Dockerfile`. Potrebuješ [Docker](https://docs.docker.com/get-docker/) a Git.\n\n## Zostavenie a spustenie\n\n**1.** Stiahni kód a otvor jeho priečinok:\n\n```bash\ngit clone https://github.com/totaljs/openauth.git\ncd openauth\n```\n\n**2.** Zostav obraz:\n\n```bash\ndocker build -t openauth .\n```\n\n**3.** Spusti kontajner. Zväzok `openauth` uchová tvoje dáta, keď kontajner nahradíš:\n\n```bash\ndocker run -d --name openauth -p 8000:8000 -v openauth:/www openauth\n```\n\n**4.** Otvor `http://localhost:8000/` a nastav hlavný prístupový token. Pozri si [Ochrana administrácie](../protect-admin/).\n\n## Zastavenie, spustenie a aktualizácia\n\n```bash\ndocker stop openauth\ndocker start openauth\n```\n\nPri aktualizácii stiahni nový kód, znova zostav obraz, odstráň starý kontajner a spusti nový s tým istým zväzkom:\n\n```bash\ngit pull\ndocker build -t openauth .\ndocker rm -f openauth\ndocker run -d --name openauth -p 8000:8000 -v openauth:/www openauth\n```\n\nTvoje tokeny, nastavenia poskytovateľov a log prihlásení zostávajú vo zväzku. Vnútri kontajnera sú v `/www/.src/databases`. Pozri si [Priečinok s dátami](../../reference/data-folder/).\n\nPrebiehajúce prihlásenia sa uchovávajú v pamäti, takže ich reštart zruší. Používatelia, ktorí boli uprostred prihlasovania, musia začať znova.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjQ92Ol61f","url":"https://totaljs.es/docs/openauth/1-0/guides/protect-admin/","project":"openauth","version":"1-0","section":"guides","language":"en","title":"Protect the admin interface","summary":"Set the primary access token on the first start and open the admin interface with it.","markdown":"---\ntitle: Protect the admin interface\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/guides/protect-admin/\nupdated: 2026-11-19T09:22:03.169Z\n---\n\n# Protect the admin interface\n\n> Set the primary access token on the first start and open the admin interface with it.\n\nA new OpenAuth has no password. Until you save a **Primary access token**, anyone who can reach the server can open the admin interface. Set the token as the first thing you do.\n\n## Set the primary access token\n\n**1.** Open `http://localhost:8000/` (or your server address). OpenAuth opens the admin interface.\n\n![The main screen of OpenAuth with Extensions, Tokens and Configuration](/files/JapjQ62Ml61f.webp)\n\n**2.** Open **Configuration** (the cog in the left menu).\n\n**3.** Under **Security**, click **Generate** next to **Primary access token**, or type a long token of your own.\n\n![The Configuration panel with the Name field and the masked Primary access token](/files/JapjQ72Nl60f.webp)\n\n**4.** Press **SUBMIT**. OpenAuth says that the configuration has been saved and that the app needs to be reloaded. Press **OK**, and the admin interface opens again with the new token.\n\n**5.** The address bar now ends with `/setup/?token=...`. Copy the token from there and keep it in your password manager.\n\n## Open the admin interface later\n\nAdd the primary access token to the address of the admin interface:\n\n```text\nhttps://auth.example.com/setup/?token=YOUR_PRIMARY_TOKEN\n```\n\nWithout the right token, OpenAuth answers `401 Unauthorized`. The root address `/` shows only the name of the app, so you can use it to check that OpenAuth is running.\n\n## Change the token\n\nOpen **Configuration**, click **Generate** (or type a new token) and press **SUBMIT**. The old token stops working at once.\n\nThe primary access token is only for the admin interface. Your apps use their own [app tokens](../app-tokens/).\n\nIf you lose the token, see [Admin access](../../faq/admin-access/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.169Z"}
{"id":"JapjQ92Ol61f-de","url":"https://totaljs.es/docs/de/openauth/1-0/guides/protect-admin/","project":"openauth","version":"1-0","section":"guides","language":"de","title":"Die Admin-Oberfläche schützen","summary":"Leg beim ersten Start das primäre Zugangstoken fest und öffne damit die Admin-Oberfläche.","markdown":"---\ntitle: \"Die Admin-Oberfläche schützen\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/guides/protect-admin/\nupdated: 2026-11-19T09:22:03.169Z\n---\n\n# Die Admin-Oberfläche schützen\n\n> Leg beim ersten Start das primäre Zugangstoken fest und öffne damit die Admin-Oberfläche.\n\nEin neues OpenAuth hat kein Passwort. Bis du ein **Primary access token** (primäres Zugangstoken) speicherst, kann jeder, der den Server erreicht, die Admin-Oberfläche öffnen. Leg das Token als Allererstes fest.\n\n## Das primäre Zugangstoken festlegen\n\n**1.** Öffne `http://localhost:8000/` (oder die Adresse deines Servers). OpenAuth öffnet die Admin-Oberfläche.\n\n![Der Hauptbildschirm von OpenAuth mit Extensions, Tokens und Configuration](/files/JapjQ62Ml61f.webp)\n\n**2.** Öffne **Configuration** (das Zahnrad im linken Menü).\n\n**3.** Klick unter **Security** auf **Generate** neben **Primary access token** oder gib selbst ein langes Token ein.\n\n![Der Bereich Configuration mit dem Feld Name und dem verdeckten Primary access token](/files/JapjQ72Nl60f.webp)\n\n**4.** Klick auf **SUBMIT**. OpenAuth meldet, dass die Konfiguration gespeichert wurde und die App neu geladen werden muss. Klick auf **OK**, und die Admin-Oberfläche öffnet sich wieder mit dem neuen Token.\n\n**5.** Die Adressleiste endet jetzt mit `/setup/?token=...`. Kopiere das Token von dort und bewahre es in deinem Passwortmanager auf.\n\n## Die Admin-Oberfläche später öffnen\n\nHäng das primäre Zugangstoken an die Adresse der Admin-Oberfläche an:\n\n```text\nhttps://auth.example.com/setup/?token=YOUR_PRIMARY_TOKEN\n```\n\nOhne das richtige Token antwortet OpenAuth mit `401 Unauthorized`. Die Stammadresse `/` zeigt nur den Namen der App, damit kannst du prüfen, ob OpenAuth läuft.\n\n## Das Token ändern\n\nÖffne **Configuration**, klick auf **Generate** (oder gib ein neues Token ein) und klick auf **SUBMIT**. Das alte Token funktioniert sofort nicht mehr.\n\nDas primäre Zugangstoken ist nur für die Admin-Oberfläche. Deine Apps nutzen ihre eigenen [App-Tokens](../app-tokens/).\n\nWenn du das Token verlierst, siehe [Admin-Zugang](../../faq/admin-access/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.169Z"}
{"id":"JapjQ92Ol61f-es","url":"https://totaljs.es/docs/es/openauth/1-0/guides/protect-admin/","project":"openauth","version":"1-0","section":"guides","language":"es","title":"Protege la interfaz de administración","summary":"Pon el token de acceso principal en el primer arranque y abre con él la interfaz de administración.","markdown":"---\ntitle: \"Protege la interfaz de administración\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/guides/protect-admin/\nupdated: 2026-11-19T09:22:03.169Z\n---\n\n# Protege la interfaz de administración\n\n> Pon el token de acceso principal en el primer arranque y abre con él la interfaz de administración.\n\nUn OpenAuth nuevo no tiene contraseña. Hasta que guardes un **Primary access token** (token de acceso principal), cualquiera que llegue al servidor puede abrir la interfaz de administración. Pon el token antes que nada.\n\n## Pon el token de acceso principal\n\n**1.** Abre `http://localhost:8000/` (o la dirección de tu servidor). OpenAuth abre la interfaz de administración.\n\n![La pantalla principal de OpenAuth con Extensions, Tokens y Configuration](/files/JapjQ62Ml61f.webp)\n\n**2.** Abre **Configuration** (el engranaje del menú de la izquierda).\n\n**3.** En **Security**, haz clic en **Generate** junto a **Primary access token**, o escribe un token largo tuyo.\n\n![El panel Configuration con el campo Name y el Primary access token oculto](/files/JapjQ72Nl60f.webp)\n\n**4.** Pulsa **SUBMIT**. OpenAuth te dice que la configuración se ha guardado y que hay que recargar la app. Pulsa **OK** y la interfaz de administración se vuelve a abrir con el token nuevo.\n\n**5.** Ahora la barra de direcciones termina en `/setup/?token=...`. Copia el token de ahí y guárdalo en tu gestor de contraseñas.\n\n## Abre la interfaz de administración más adelante\n\nAñade el token de acceso principal a la dirección de la interfaz de administración:\n\n```text\nhttps://auth.example.com/setup/?token=YOUR_PRIMARY_TOKEN\n```\n\nSin el token correcto, OpenAuth responde `401 Unauthorized`. La dirección raíz `/` solo muestra el nombre de la app, así que puedes usarla para comprobar que OpenAuth está funcionando.\n\n## Cambia el token\n\nAbre **Configuration**, haz clic en **Generate** (o escribe un token nuevo) y pulsa **SUBMIT**. El token antiguo deja de funcionar al momento.\n\nEl token de acceso principal es solo para la interfaz de administración. Tus apps usan sus propios [tokens de app](../app-tokens/).\n\nSi pierdes el token, consulta [Acceso de administración](../../faq/admin-access/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.169Z"}
{"id":"JapjQ92Ol61f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/guides/protect-admin/","project":"openauth","version":"1-0","section":"guides","language":"fr","title":"Protéger l’interface d’administration","summary":"Définis le jeton d’accès principal au premier démarrage et ouvre l’interface d’administration avec lui.","markdown":"---\ntitle: \"Protéger l’interface d’administration\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/guides/protect-admin/\nupdated: 2026-11-19T09:22:03.169Z\n---\n\n# Protéger l’interface d’administration\n\n> Définis le jeton d’accès principal au premier démarrage et ouvre l’interface d’administration avec lui.\n\nUn nouvel OpenAuth n’a pas de mot de passe. Tant que tu n’as pas enregistré un **Primary access token** (jeton d’accès principal), toute personne qui peut atteindre le serveur peut ouvrir l’interface d’administration. Définis le jeton en tout premier.\n\n## Définir le jeton d’accès principal\n\n**1.** Ouvre `http://localhost:8000/` (ou l’adresse de ton serveur). OpenAuth ouvre l’interface d’administration.\n\n![L’écran principal d’OpenAuth avec Extensions, Tokens et Configuration](/files/JapjQ62Ml61f.webp)\n\n**2.** Ouvre **Configuration** (la roue dentée dans le menu de gauche).\n\n**3.** Sous **Security**, clique sur **Generate** à côté de **Primary access token**, ou saisis un long jeton de ton choix.\n\n![Le panneau Configuration avec le champ Name et le Primary access token masqué](/files/JapjQ72Nl60f.webp)\n\n**4.** Clique sur **SUBMIT**. OpenAuth indique que la configuration a été enregistrée et que l’application doit être rechargée. Clique sur **OK**, et l’interface d’administration se rouvre avec le nouveau jeton.\n\n**5.** La barre d’adresse se termine maintenant par `/setup/?token=...`. Copie le jeton depuis là et garde-le dans ton gestionnaire de mots de passe.\n\n## Ouvrir l’interface d’administration plus tard\n\nAjoute le jeton d’accès principal à l’adresse de l’interface d’administration :\n\n```text\nhttps://auth.example.com/setup/?token=YOUR_PRIMARY_TOKEN\n```\n\nSans le bon jeton, OpenAuth répond `401 Unauthorized`. L’adresse racine `/` n’affiche que le nom de l’application : tu peux donc l’utiliser pour vérifier qu’OpenAuth tourne.\n\n## Changer le jeton\n\nOuvre **Configuration**, clique sur **Generate** (ou saisis un nouveau jeton) et clique sur **SUBMIT**. L’ancien jeton cesse de fonctionner immédiatement.\n\nLe jeton d’accès principal sert uniquement à l’interface d’administration. Tes applications utilisent leurs propres [jetons d’application](../app-tokens/).\n\nSi tu perds le jeton, consulte [Accès à l’administration](../../faq/admin-access/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.169Z"}
{"id":"JapjQ92Ol61f-it","url":"https://totaljs.es/docs/it/openauth/1-0/guides/protect-admin/","project":"openauth","version":"1-0","section":"guides","language":"it","title":"Proteggere l'interfaccia di amministrazione","summary":"Imposta il token di accesso principale al primo avvio e apri con esso l'interfaccia di amministrazione.","markdown":"---\ntitle: \"Proteggere l'interfaccia di amministrazione\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/guides/protect-admin/\nupdated: 2026-11-19T09:22:03.169Z\n---\n\n# Proteggere l'interfaccia di amministrazione\n\n> Imposta il token di accesso principale al primo avvio e apri con esso l'interfaccia di amministrazione.\n\nUn OpenAuth nuovo non ha password. Finché non salvi un **Primary access token** (token di accesso principale), chiunque possa raggiungere il server può aprire l'interfaccia di amministrazione. Impostare il token è la prima cosa da fare.\n\n## Impostare il token di accesso principale\n\n**1.** Apri `http://localhost:8000/` (o l'indirizzo del tuo server). OpenAuth apre l'interfaccia di amministrazione.\n\n![La schermata principale di OpenAuth con Extensions, Tokens e Configuration](/files/JapjQ62Ml61f.webp)\n\n**2.** Apri **Configuration** (l'ingranaggio nel menu a sinistra).\n\n**3.** In **Security**, fai clic su **Generate** accanto a **Primary access token**, oppure scrivi un tuo token lungo.\n\n![Il pannello Configuration con il campo Name e il Primary access token nascosto](/files/JapjQ72Nl60f.webp)\n\n**4.** Premi **SUBMIT**. OpenAuth dice che la configurazione è stata salvata e che l'app va ricaricata. Premi **OK**, e l'interfaccia di amministrazione si riapre con il nuovo token.\n\n**5.** Ora la barra degli indirizzi termina con `/setup/?token=...`. Copia il token da lì e conservalo nel tuo gestore di password.\n\n## Aprire l'interfaccia di amministrazione in seguito\n\nAggiungi il token di accesso principale all'indirizzo dell'interfaccia di amministrazione:\n\n```text\nhttps://auth.example.com/setup/?token=YOUR_PRIMARY_TOKEN\n```\n\nSenza il token giusto, OpenAuth risponde `401 Unauthorized`. L'indirizzo principale `/` mostra solo il nome dell'app, quindi puoi usarlo per controllare che OpenAuth sia in esecuzione.\n\n## Cambiare il token\n\nApri **Configuration**, fai clic su **Generate** (oppure scrivi un nuovo token) e premi **SUBMIT**. Il vecchio token smette subito di funzionare.\n\nIl token di accesso principale serve solo per l'interfaccia di amministrazione. Le tue app usano i loro [token delle app](../app-tokens/).\n\nSe perdi il token, leggi [Accesso di amministrazione](../../faq/admin-access/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.169Z"}
{"id":"JapjQ92Ol61f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/guides/protect-admin/","project":"openauth","version":"1-0","section":"guides","language":"sk","title":"Ochrana administrácie","summary":"Pri prvom spustení nastav hlavný prístupový token a otváraj s ním administráciu.","markdown":"---\ntitle: \"Ochrana administrácie\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/guides/protect-admin/\nupdated: 2026-11-19T09:22:03.169Z\n---\n\n# Ochrana administrácie\n\n> Pri prvom spustení nastav hlavný prístupový token a otváraj s ním administráciu.\n\nNový OpenAuth nemá heslo. Kým neuložíš **Primary access token** (hlavný prístupový token), administráciu môže otvoriť ktokoľvek, kto sa dostane na server. Nastav token ako úplne prvú vec.\n\n## Nastavenie hlavného prístupového tokenu\n\n**1.** Otvor `http://localhost:8000/` (alebo adresu svojho servera). OpenAuth otvorí administráciu.\n\n![Hlavná obrazovka OpenAuth s položkami Extensions, Tokens a Configuration](/files/JapjQ62Ml61f.webp)\n\n**2.** Otvor **Configuration** (ozubené koliesko v ľavom menu).\n\n**3.** V časti **Security** klikni na **Generate** vedľa **Primary access token** alebo napíš vlastný dlhý token.\n\n![Panel Configuration s poľom Name a skrytým Primary access token](/files/JapjQ72Nl60f.webp)\n\n**4.** Stlač **SUBMIT**. OpenAuth oznámi, že konfigurácia je uložená a aplikáciu treba znova načítať. Stlač **OK** a administrácia sa znova otvorí s novým tokenom.\n\n**5.** Adresný riadok sa teraz končí na `/setup/?token=...`. Skopíruj odtiaľ token a ulož si ho do správcu hesiel.\n\n## Neskoršie otvorenie administrácie\n\nPridaj hlavný prístupový token k adrese administrácie:\n\n```text\nhttps://auth.example.com/setup/?token=YOUR_PRIMARY_TOKEN\n```\n\nBez správneho tokenu OpenAuth odpovie `401 Unauthorized`. Koreňová adresa `/` ukazuje len názov aplikácie, takže ňou môžeš overiť, že OpenAuth beží.\n\n## Zmena tokenu\n\nOtvor **Configuration**, klikni na **Generate** (alebo napíš nový token) a stlač **SUBMIT**. Starý token prestane fungovať okamžite.\n\nHlavný prístupový token slúži len na administráciu. Tvoje aplikácie používajú vlastné [tokeny aplikácií](../app-tokens/).\n\nAk token stratíš, pozri si [Prístup do administrácie](../../faq/admin-access/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.169Z"}
{"id":"JapjPt29l60f","url":"https://totaljs.es/docs/openauth/1-0/guides/extensions/","project":"openauth","version":"1-0","section":"guides","language":"en","title":"Extensions","summary":"Add, download and remove the extensions that connect OpenAuth to sign-in providers.","markdown":"---\ntitle: Extensions\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/guides/extensions/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Extensions\n\n> Add, download and remove the extensions that connect OpenAuth to sign-in providers.\n\nEvery sign-in provider is an extension: one JavaScript file that knows how to talk to that provider. OpenAuth comes with the **Facebook** extension. Extensions for other providers, such as Google, Apple, GitHub, LinkedIn, Dropbox, VKontakte and Yandex, are premium extensions from Total.js; ask at [totaljs.com/support](https://www.totaljs.com/support/).\n\nOpen **Extensions** in the left menu to see the installed extensions.\n\n![The Extensions screen with the Facebook extension and the Import, Logs, Sessions and Refresh buttons](/files/JapjPq27l60f.webp)\n\nThe ID of an extension (for example `facebook`) is the `serviceid` that your apps send when they [start a sign-in](../../reference/start-sign-in/).\n\n## Import an extension\n\n**1.** Press **Import**.\n\n**2.** Choose the extension's `.js` file.\n\nOpenAuth loads it at once and shows \"The extension ... has been imported successfully.\" The new card appears in the list. Then [set up the provider](../set-up-provider/).\n\nImporting a file with the ID of an installed extension replaces that extension.\n\n## The extension menu\n\nClick the cog on a card to open its menu.\n\n![The menu of an extension with Configure, Download and Remove](/files/JapjPs28l61f.webp)\n\n- **Configure** opens the provider settings. Clicking the card does the same.\n- **Download** saves the extension file, for example to move it to another OpenAuth.\n- **Remove** uninstalls the extension after you confirm, together with its settings. After that, apps get `Service not found` when they start a sign-in with it. If you import it again, enter the App ID and secret again.\n\n## Find an extension\n\nType in **Search** to filter the cards by name. **Refresh** loads the list again.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPt29l60f-de","url":"https://totaljs.es/docs/de/openauth/1-0/guides/extensions/","project":"openauth","version":"1-0","section":"guides","language":"de","title":"Erweiterungen","summary":"Füge die Erweiterungen hinzu, die OpenAuth mit Anmeldeanbietern verbinden, lade sie herunter oder entferne sie.","markdown":"---\ntitle: Erweiterungen\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/guides/extensions/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Erweiterungen\n\n> Füge die Erweiterungen hinzu, die OpenAuth mit Anmeldeanbietern verbinden, lade sie herunter oder entferne sie.\n\nJeder Anmeldeanbieter ist eine Erweiterung: eine JavaScript-Datei, die weiß, wie sie mit diesem Anbieter spricht. OpenAuth bringt die Erweiterung **Facebook** mit. Erweiterungen für andere Anbieter, etwa Google, Apple, GitHub, LinkedIn, Dropbox, VKontakte und Yandex, sind Premium-Erweiterungen von Total.js; frag unter [totaljs.com/support](https://www.totaljs.com/support/) danach.\n\nÖffne **Extensions** (Erweiterungen) im linken Menü, um die installierten Erweiterungen zu sehen.\n\n![Der Bildschirm Extensions mit der Erweiterung Facebook und den Schaltflächen Import, Logs, Sessions und Refresh](/files/JapjPq27l60f.webp)\n\nDie ID einer Erweiterung (zum Beispiel `facebook`) ist die `serviceid`, die deine Apps senden, wenn sie [eine Anmeldung starten](../../reference/start-sign-in/).\n\n## Eine Erweiterung importieren\n\n**1.** Klick auf **Import**.\n\n**2.** Wähl die `.js`-Datei der Erweiterung aus.\n\nOpenAuth lädt sie sofort und zeigt „The extension ... has been imported successfully.“ an. Die neue Karte erscheint in der Liste. Danach [richtest du den Anbieter ein](../set-up-provider/).\n\nImportierst du eine Datei mit der ID einer schon installierten Erweiterung, ersetzt sie diese Erweiterung.\n\n## Das Menü einer Erweiterung\n\nKlick auf das Zahnrad einer Karte, um ihr Menü zu öffnen.\n\n![Das Menü einer Erweiterung mit Configure, Download und Remove](/files/JapjPs28l61f.webp)\n\n- **Configure** öffnet die Anbieter-Einstellungen. Ein Klick auf die Karte macht dasselbe.\n- **Download** speichert die Datei der Erweiterung, zum Beispiel um sie in ein anderes OpenAuth zu bringen.\n- **Remove** deinstalliert die Erweiterung samt ihren Einstellungen, nachdem du bestätigt hast. Danach bekommen Apps `Service not found`, wenn sie damit eine Anmeldung starten. Importierst du sie wieder, gib App ID und Secret erneut ein.\n\n## Eine Erweiterung finden\n\nTipp etwas in **Search** ein, um die Karten nach Namen zu filtern. **Refresh** lädt die Liste neu.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPt29l60f-es","url":"https://totaljs.es/docs/es/openauth/1-0/guides/extensions/","project":"openauth","version":"1-0","section":"guides","language":"es","title":"Extensiones","summary":"Añade, descarga y elimina las extensiones que conectan OpenAuth con los proveedores de inicio de sesión.","markdown":"---\ntitle: Extensiones\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/guides/extensions/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Extensiones\n\n> Añade, descarga y elimina las extensiones que conectan OpenAuth con los proveedores de inicio de sesión.\n\nCada proveedor de inicio de sesión es una extensión: un archivo JavaScript que sabe cómo hablar con ese proveedor. OpenAuth trae la extensión **Facebook**. Las extensiones de otros proveedores, como Google, Apple, GitHub, LinkedIn, Dropbox, VKontakte y Yandex, son extensiones premium de Total.js; pregunta en [totaljs.com/support](https://www.totaljs.com/support/).\n\nAbre **Extensions** (extensiones) en el menú de la izquierda para ver las extensiones instaladas.\n\n![La pantalla Extensions con la extensión Facebook y los botones Import, Logs, Sessions y Refresh](/files/JapjPq27l60f.webp)\n\nEl ID de una extensión (por ejemplo `facebook`) es el `serviceid` que envían tus apps cuando [empiezan un inicio de sesión](../../reference/start-sign-in/).\n\n## Importa una extensión\n\n**1.** Pulsa **Import**.\n\n**2.** Elige el archivo `.js` de la extensión.\n\nOpenAuth la carga al momento y muestra \"The extension ... has been imported successfully.\" La tarjeta nueva aparece en la lista. Después [configura el proveedor](../set-up-provider/).\n\nSi importas un archivo con el ID de una extensión ya instalada, sustituye a esa extensión.\n\n## El menú de la extensión\n\nHaz clic en el engranaje de una tarjeta para abrir su menú.\n\n![El menú de una extensión con Configure, Download y Remove](/files/JapjPs28l61f.webp)\n\n- **Configure** abre los ajustes del proveedor. Hacer clic en la tarjeta hace lo mismo.\n- **Download** guarda el archivo de la extensión, por ejemplo para llevarla a otro OpenAuth.\n- **Remove** desinstala la extensión después de que lo confirmes, junto con sus ajustes. A partir de ahí, las apps reciben `Service not found` cuando empiezan un inicio de sesión con ella. Si la vuelves a importar, introduce otra vez el App ID y el secreto.\n\n## Busca una extensión\n\nEscribe en **Search** para filtrar las tarjetas por nombre. **Refresh** vuelve a cargar la lista.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPt29l60f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/guides/extensions/","project":"openauth","version":"1-0","section":"guides","language":"fr","title":"Extensions","summary":"Ajoute, télécharge et supprime les extensions qui relient OpenAuth aux fournisseurs de connexion.","markdown":"---\ntitle: Extensions\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/guides/extensions/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Extensions\n\n> Ajoute, télécharge et supprime les extensions qui relient OpenAuth aux fournisseurs de connexion.\n\nChaque fournisseur de connexion est une extension : un fichier JavaScript qui sait dialoguer avec ce fournisseur. OpenAuth est livré avec l’extension **Facebook**. Les extensions pour d’autres fournisseurs, comme Google, Apple, GitHub, LinkedIn, Dropbox, VKontakte et Yandex, sont des extensions premium de Total.js ; demande-les sur [totaljs.com/support](https://www.totaljs.com/support/).\n\nOuvre **Extensions** dans le menu de gauche pour voir les extensions installées.\n\n![L’écran Extensions avec l’extension Facebook et les boutons Import, Logs, Sessions et Refresh](/files/JapjPq27l60f.webp)\n\nL’identifiant d’une extension (par exemple `facebook`) est le `serviceid` que tes applications envoient quand elles [lancent une connexion](../../reference/start-sign-in/).\n\n## Importer une extension\n\n**1.** Clique sur **Import**.\n\n**2.** Choisis le fichier `.js` de l’extension.\n\nOpenAuth la charge aussitôt et affiche « The extension ... has been imported successfully. ». La nouvelle carte apparaît dans la liste. Ensuite, [configure le fournisseur](../set-up-provider/).\n\nImporter un fichier qui a l’identifiant d’une extension déjà installée remplace cette extension.\n\n## Le menu de l’extension\n\nClique sur la roue dentée d’une carte pour ouvrir son menu.\n\n![Le menu d’une extension avec Configure, Download et Remove](/files/JapjPs28l61f.webp)\n\n- **Configure** ouvre les réglages du fournisseur. Un clic sur la carte fait la même chose.\n- **Download** enregistre le fichier de l’extension, par exemple pour la déplacer vers un autre OpenAuth.\n- **Remove** désinstalle l’extension après confirmation, avec ses réglages. Ensuite, les applications reçoivent `Service not found` quand elles lancent une connexion avec elle. Si tu l’importes de nouveau, saisis à nouveau l’App ID et le secret.\n\n## Trouver une extension\n\nÉcris dans **Search** pour filtrer les cartes par nom. **Refresh** recharge la liste.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPt29l60f-it","url":"https://totaljs.es/docs/it/openauth/1-0/guides/extensions/","project":"openauth","version":"1-0","section":"guides","language":"it","title":"Estensioni","summary":"Aggiungi, scarica ed elimina le estensioni che collegano OpenAuth ai provider di accesso.","markdown":"---\ntitle: Estensioni\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/guides/extensions/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Estensioni\n\n> Aggiungi, scarica ed elimina le estensioni che collegano OpenAuth ai provider di accesso.\n\nOgni provider di accesso è un'estensione: un file JavaScript che sa come parlare con quel provider. OpenAuth include l'estensione **Facebook**. Le estensioni per altri provider, come Google, Apple, GitHub, LinkedIn, Dropbox, VKontakte e Yandex, sono estensioni premium di Total.js; chiedile su [totaljs.com/support](https://www.totaljs.com/support/).\n\nApri **Extensions** nel menu a sinistra per vedere le estensioni installate.\n\n![La schermata Extensions con l'estensione Facebook e i pulsanti Import, Logs, Sessions e Refresh](/files/JapjPq27l60f.webp)\n\nL'ID di un'estensione (per esempio `facebook`) è il `serviceid` che le tue app inviano quando [avviano un accesso](../../reference/start-sign-in/).\n\n## Importare un'estensione\n\n**1.** Premi **Import**.\n\n**2.** Scegli il file `.js` dell'estensione.\n\nOpenAuth la carica subito e mostra \"The extension ... has been imported successfully.\" La nuova scheda compare nell'elenco. Poi [configura il provider](../set-up-provider/).\n\nSe importi un file con l'ID di un'estensione già installata, quell'estensione viene sostituita.\n\n## Il menu dell'estensione\n\nFai clic sull'ingranaggio di una scheda per aprire il suo menu.\n\n![Il menu di un'estensione con Configure, Download e Remove](/files/JapjPs28l61f.webp)\n\n- **Configure** apre le impostazioni del provider. Fare clic sulla scheda fa lo stesso.\n- **Download** salva il file dell'estensione, per esempio per spostarla in un altro OpenAuth.\n- **Remove** disinstalla l'estensione dopo la tua conferma, insieme alle sue impostazioni. Da quel momento le app ricevono `Service not found` quando avviano un accesso con quell'estensione. Se la importi di nuovo, inserisci di nuovo l'App ID e il segreto.\n\n## Trovare un'estensione\n\nScrivi in **Search** per filtrare le schede per nome. **Refresh** ricarica l'elenco.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjPt29l60f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/guides/extensions/","project":"openauth","version":"1-0","section":"guides","language":"sk","title":"Rozšírenia","summary":"Pridávaj, sťahuj a odstraňuj rozšírenia, ktoré pripájajú OpenAuth k poskytovateľom prihlásenia.","markdown":"---\ntitle: \"Rozšírenia\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/guides/extensions/\nupdated: 2026-11-19T09:22:01.648Z\n---\n\n# Rozšírenia\n\n> Pridávaj, sťahuj a odstraňuj rozšírenia, ktoré pripájajú OpenAuth k poskytovateľom prihlásenia.\n\nKaždý poskytovateľ prihlásenia je rozšírenie: jeden súbor JavaScript, ktorý vie, ako s daným poskytovateľom komunikovať. OpenAuth obsahuje rozšírenie **Facebook**. Rozšírenia pre ďalších poskytovateľov, ako Google, Apple, GitHub, LinkedIn, Dropbox, VKontakte a Yandex, sú prémiové rozšírenia od Total.js; opýtaj sa na [totaljs.com/support](https://www.totaljs.com/support/).\n\nV ľavom menu otvor **Extensions** (rozšírenia) a uvidíš nainštalované rozšírenia.\n\n![Obrazovka Extensions s rozšírením Facebook a tlačidlami Import, Logs, Sessions a Refresh](/files/JapjPq27l60f.webp)\n\nID rozšírenia (napríklad `facebook`) je `serviceid`, ktoré tvoje aplikácie posielajú, keď [spúšťajú prihlásenie](../../reference/start-sign-in/).\n\n## Import rozšírenia\n\n**1.** Stlač **Import**.\n\n**2.** Vyber súbor `.js` rozšírenia.\n\nOpenAuth ho hneď načíta a ukáže „The extension ... has been imported successfully.“ (rozšírenie bolo úspešne importované). V zozname sa objaví nová karta. Potom [nastav poskytovateľa](../set-up-provider/).\n\nImport súboru s ID už nainštalovaného rozšírenia toto rozšírenie nahradí.\n\n## Menu rozšírenia\n\nKlikni na ozubené koliesko na karte a otvorí sa jej menu.\n\n![Menu rozšírenia s položkami Configure, Download a Remove](/files/JapjPs28l61f.webp)\n\n- **Configure** otvorí nastavenia poskytovateľa. To isté urobí kliknutie na kartu.\n- **Download** uloží súbor rozšírenia, napríklad aby si ho presunul do iného OpenAuth.\n- **Remove** po potvrdení odinštaluje rozšírenie spolu s jeho nastaveniami. Potom aplikácie dostanú `Service not found`, keď s ním spustia prihlásenie. Ak ho znova importuješ, zadaj App ID a tajný kľúč znova.\n\n## Hľadanie rozšírenia\n\nPíš do **Search** a karty sa vyfiltrujú podľa názvu. **Refresh** načíta zoznam znova.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:01.648Z"}
{"id":"JapjQD2Rl60f","url":"https://totaljs.es/docs/openauth/1-0/guides/set-up-provider/","project":"openauth","version":"1-0","section":"guides","language":"en","title":"Set up a provider","summary":"Register OpenAuth at the provider and enter the provider's App ID and secret.","markdown":"---\ntitle: Set up a provider\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/guides/set-up-provider/\nupdated: 2026-11-19T09:22:03.550Z\n---\n\n# Set up a provider\n\n> Register OpenAuth at the provider and enter the provider's App ID and secret.\n\nBefore users can sign in with a provider, the provider must know OpenAuth, and OpenAuth must know the keys the provider gives you. The steps below use Facebook; other extensions work the same way, with the fields that their form shows.\n\n## 1. Find the callback address\n\n**1.** Open **Extensions** and click the provider's card (or **Configure** in its menu).\n\n**2.** The **Documentation** box shows the callback endpoint, for example `https://auth.example.com/oauth/facebook/`.\n\n![The Facebook configuration form with the callback endpoint, App ID and Secret](/files/JapjQB2Ql61f.webp)\n\nThe address is built from the address you use to open OpenAuth. Open the admin interface through the same public `https://` address that your users will see, so the callback endpoint is the right one.\n\n## 2. Register OpenAuth at the provider\n\nIn the provider's developer console, create an app (Facebook calls it an app; other providers say client or project) and add the callback endpoint as an allowed redirect address. The provider then gives you an ID and a secret.\n\nOpenAuth sends the callback endpoint to the provider as the `redirect_uri` of every sign-in, so it must match what you registered exactly, including `https://` and the slash at the end.\n\nThe Facebook extension asks for the `email` permission, so users see that request on the Facebook consent screen.\n\n## 3. Enter the keys in OpenAuth\n\n**1.** In the same form, fill in **App ID** and **Secret** with the values from the provider.\n\n**2.** Press **SUBMIT**. OpenAuth shows \"The configuration has been updated successfully.\"\n\nThe settings apply to the next sign-in; there is nothing to restart.\n\n## Check the setup\n\nStart a test sign-in from your app, or follow [Check a provider with curl](../../recipes/check-provider/) to see the address OpenAuth sends users to.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.550Z"}
{"id":"JapjQD2Rl60f-de","url":"https://totaljs.es/docs/de/openauth/1-0/guides/set-up-provider/","project":"openauth","version":"1-0","section":"guides","language":"de","title":"Einen Anbieter einrichten","summary":"Registriere OpenAuth beim Anbieter und trag die App ID und das Secret des Anbieters ein.","markdown":"---\ntitle: Einen Anbieter einrichten\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/guides/set-up-provider/\nupdated: 2026-11-19T09:22:03.550Z\n---\n\n# Einen Anbieter einrichten\n\n> Registriere OpenAuth beim Anbieter und trag die App ID und das Secret des Anbieters ein.\n\nBevor sich Benutzer über einen Anbieter anmelden können, muss der Anbieter OpenAuth kennen, und OpenAuth muss die Schlüssel kennen, die dir der Anbieter gibt. Die Schritte unten nutzen Facebook; andere Erweiterungen funktionieren genauso, mit den Feldern, die ihr Formular zeigt.\n\n## 1. Die Callback-Adresse finden\n\n**1.** Öffne **Extensions** und klick auf die Karte des Anbieters (oder auf **Configure** in ihrem Menü).\n\n**2.** Das Feld **Documentation** zeigt den Callback-Endpunkt, zum Beispiel `https://auth.example.com/oauth/facebook/`.\n\n![Das Konfigurationsformular von Facebook mit dem Callback-Endpunkt, App ID und Secret](/files/JapjQB2Ql61f.webp)\n\nDie Adresse wird aus der Adresse gebildet, über die du OpenAuth öffnest. Öffne die Admin-Oberfläche über dieselbe öffentliche `https://`-Adresse, die deine Benutzer sehen werden, damit der Callback-Endpunkt stimmt.\n\n## 2. OpenAuth beim Anbieter registrieren\n\nLeg in der Entwicklerkonsole des Anbieters eine App an (Facebook nennt es App, andere Anbieter sagen Client oder Projekt) und füg den Callback-Endpunkt als erlaubte Weiterleitungsadresse hinzu. Der Anbieter gibt dir dann eine ID und ein Secret.\n\nOpenAuth sendet den Callback-Endpunkt bei jeder Anmeldung als `redirect_uri` an den Anbieter, deshalb muss er genau mit dem übereinstimmen, was du registriert hast, inklusive `https://` und dem Schrägstrich am Ende.\n\nDie Erweiterung Facebook fragt nach der Berechtigung `email`, deshalb sehen Benutzer diese Anfrage auf dem Zustimmungsbildschirm von Facebook.\n\n## 3. Die Schlüssel in OpenAuth eintragen\n\n**1.** Füll im selben Formular **App ID** und **Secret** mit den Werten des Anbieters aus.\n\n**2.** Klick auf **SUBMIT**. OpenAuth zeigt „The configuration has been updated successfully.“ an.\n\nDie Einstellungen gelten ab der nächsten Anmeldung; du musst nichts neu starten.\n\n## Die Einrichtung prüfen\n\nStarte eine Testanmeldung aus deiner App, oder folge [Einen Anbieter mit curl prüfen](../../recipes/check-provider/), um die Adresse zu sehen, an die OpenAuth die Benutzer schickt.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.550Z"}
{"id":"JapjQD2Rl60f-es","url":"https://totaljs.es/docs/es/openauth/1-0/guides/set-up-provider/","project":"openauth","version":"1-0","section":"guides","language":"es","title":"Configura un proveedor","summary":"Registra OpenAuth en el proveedor e introduce el App ID y el secreto del proveedor.","markdown":"---\ntitle: Configura un proveedor\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/guides/set-up-provider/\nupdated: 2026-11-19T09:22:03.550Z\n---\n\n# Configura un proveedor\n\n> Registra OpenAuth en el proveedor e introduce el App ID y el secreto del proveedor.\n\nAntes de que los usuarios puedan iniciar sesión con un proveedor, el proveedor tiene que conocer OpenAuth, y OpenAuth tiene que conocer las claves que te da el proveedor. Los pasos de abajo usan Facebook; las demás extensiones funcionan igual, con los campos que muestre su formulario.\n\n## 1. Busca la dirección de retorno\n\n**1.** Abre **Extensions** y haz clic en la tarjeta del proveedor (o en **Configure** en su menú).\n\n**2.** El cuadro **Documentation** muestra el endpoint de retorno, por ejemplo `https://auth.example.com/oauth/facebook/`.\n\n![El formulario de configuración de Facebook con el endpoint de retorno, App ID y Secret](/files/JapjQB2Ql61f.webp)\n\nLa dirección se construye a partir de la dirección que usas para abrir OpenAuth. Abre la interfaz de administración con la misma dirección pública `https://` que verán tus usuarios, para que el endpoint de retorno sea el correcto.\n\n## 2. Registra OpenAuth en el proveedor\n\nEn la consola de desarrolladores del proveedor, crea una app (Facebook lo llama app; otros proveedores dicen cliente o proyecto) y añade el endpoint de retorno como dirección de redirección permitida. El proveedor te da entonces un ID y un secreto.\n\nOpenAuth envía el endpoint de retorno al proveedor como `redirect_uri` en cada inicio de sesión, así que tiene que coincidir exactamente con lo que registraste, incluidos `https://` y la barra del final.\n\nLa extensión de Facebook pide el permiso `email`, así que los usuarios ven esa petición en la pantalla de consentimiento de Facebook.\n\n## 3. Introduce las claves en OpenAuth\n\n**1.** En el mismo formulario, rellena **App ID** y **Secret** con los valores del proveedor.\n\n**2.** Pulsa **SUBMIT**. OpenAuth muestra \"The configuration has been updated successfully.\"\n\nLos ajustes se aplican al siguiente inicio de sesión; no hay que reiniciar nada.\n\n## Comprueba la configuración\n\nHaz un inicio de sesión de prueba desde tu app, o sigue [Comprueba un proveedor con curl](../../recipes/check-provider/) para ver la dirección a la que OpenAuth envía a los usuarios.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.550Z"}
{"id":"JapjQD2Rl60f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/guides/set-up-provider/","project":"openauth","version":"1-0","section":"guides","language":"fr","title":"Configurer un fournisseur","summary":"Enregistre OpenAuth chez le fournisseur et saisis l’App ID et le secret du fournisseur.","markdown":"---\ntitle: Configurer un fournisseur\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/guides/set-up-provider/\nupdated: 2026-11-19T09:22:03.550Z\n---\n\n# Configurer un fournisseur\n\n> Enregistre OpenAuth chez le fournisseur et saisis l’App ID et le secret du fournisseur.\n\nPour que les utilisateurs puissent se connecter avec un fournisseur, le fournisseur doit connaître OpenAuth, et OpenAuth doit connaître les clés que le fournisseur te donne. Les étapes ci-dessous utilisent Facebook ; les autres extensions fonctionnent de la même façon, avec les champs qu’affiche leur formulaire.\n\n## 1. Trouver l’adresse de retour\n\n**1.** Ouvre **Extensions** et clique sur la carte du fournisseur (ou sur **Configure** dans son menu).\n\n**2.** L’encadré **Documentation** affiche le point de retour (callback), par exemple `https://auth.example.com/oauth/facebook/`.\n\n![Le formulaire de configuration Facebook avec le point de retour, App ID et Secret](/files/JapjQB2Ql61f.webp)\n\nL’adresse est construite à partir de l’adresse que tu utilises pour ouvrir OpenAuth. Ouvre l’interface d’administration par la même adresse publique en `https://` que tes utilisateurs verront, pour que le point de retour soit le bon.\n\n## 2. Enregistrer OpenAuth chez le fournisseur\n\nDans la console développeur du fournisseur, crée une application (Facebook parle d’application ; d’autres fournisseurs disent client ou projet) et ajoute le point de retour comme adresse de redirection autorisée. Le fournisseur te donne alors un identifiant et un secret.\n\nOpenAuth envoie le point de retour au fournisseur comme `redirect_uri` de chaque connexion : il doit donc correspondre exactement à ce que tu as enregistré, y compris `https://` et la barre oblique finale.\n\nL’extension Facebook demande la permission `email` : les utilisateurs voient donc cette demande sur l’écran de consentement de Facebook.\n\n## 3. Saisir les clés dans OpenAuth\n\n**1.** Dans le même formulaire, remplis **App ID** et **Secret** avec les valeurs du fournisseur.\n\n**2.** Clique sur **SUBMIT**. OpenAuth affiche « The configuration has been updated successfully. ».\n\nLes réglages s’appliquent dès la connexion suivante ; il n’y a rien à redémarrer.\n\n## Vérifier la configuration\n\nLance une connexion de test depuis ton application, ou suis [Vérifier un fournisseur avec curl](../../recipes/check-provider/) pour voir l’adresse vers laquelle OpenAuth envoie les utilisateurs.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.550Z"}
{"id":"JapjQD2Rl60f-it","url":"https://totaljs.es/docs/it/openauth/1-0/guides/set-up-provider/","project":"openauth","version":"1-0","section":"guides","language":"it","title":"Configurare un provider","summary":"Registra OpenAuth presso il provider e inserisci l'App ID e il segreto del provider.","markdown":"---\ntitle: Configurare un provider\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/guides/set-up-provider/\nupdated: 2026-11-19T09:22:03.550Z\n---\n\n# Configurare un provider\n\n> Registra OpenAuth presso il provider e inserisci l'App ID e il segreto del provider.\n\nPrima che gli utenti possano accedere con un provider, il provider deve conoscere OpenAuth, e OpenAuth deve conoscere le chiavi che il provider ti dà. I passaggi qui sotto usano Facebook; le altre estensioni funzionano allo stesso modo, con i campi che mostra il loro modulo.\n\n## 1. Trovare l'indirizzo di callback\n\n**1.** Apri **Extensions** e fai clic sulla scheda del provider (oppure su **Configure** nel suo menu).\n\n**2.** Il riquadro **Documentation** mostra l'endpoint di callback, per esempio `https://auth.example.com/oauth/facebook/`.\n\n![Il modulo di configurazione di Facebook con l'endpoint di callback, App ID e Secret](/files/JapjQB2Ql61f.webp)\n\nL'indirizzo viene costruito a partire dall'indirizzo che usi per aprire OpenAuth. Apri l'interfaccia di amministrazione dallo stesso indirizzo pubblico `https://` che vedranno i tuoi utenti, così l'endpoint di callback è quello giusto.\n\n## 2. Registrare OpenAuth presso il provider\n\nNella console per sviluppatori del provider, crea un'app (Facebook la chiama app; altri provider dicono client o progetto) e aggiungi l'endpoint di callback come indirizzo di reindirizzamento consentito. Il provider ti dà allora un ID e un segreto.\n\nOpenAuth invia l'endpoint di callback al provider come `redirect_uri` di ogni accesso, quindi deve corrispondere esattamente a quello che hai registrato, compresi `https://` e la barra finale.\n\nL'estensione Facebook chiede il permesso `email`, quindi gli utenti vedono questa richiesta nella schermata di consenso di Facebook.\n\n## 3. Inserire le chiavi in OpenAuth\n\n**1.** Nello stesso modulo, compila **App ID** e **Secret** (segreto) con i valori del provider.\n\n**2.** Premi **SUBMIT**. OpenAuth mostra \"The configuration has been updated successfully.\"\n\nLe impostazioni valgono dall'accesso successivo; non c'è niente da riavviare.\n\n## Controllare la configurazione\n\nAvvia un accesso di prova dalla tua app, oppure segui [Controllare un provider con curl](../../recipes/check-provider/) per vedere l'indirizzo a cui OpenAuth manda gli utenti.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.550Z"}
{"id":"JapjQD2Rl60f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/guides/set-up-provider/","project":"openauth","version":"1-0","section":"guides","language":"sk","title":"Nastavenie poskytovateľa","summary":"Zaregistruj OpenAuth u poskytovateľa a zadaj App ID a tajný kľúč poskytovateľa.","markdown":"---\ntitle: \"Nastavenie poskytovateľa\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/guides/set-up-provider/\nupdated: 2026-11-19T09:22:03.550Z\n---\n\n# Nastavenie poskytovateľa\n\n> Zaregistruj OpenAuth u poskytovateľa a zadaj App ID a tajný kľúč poskytovateľa.\n\nSkôr než sa používatelia môžu prihlásiť cez poskytovateľa, poskytovateľ musí poznať OpenAuth a OpenAuth musí poznať kľúče, ktoré ti poskytovateľ dá. Kroky nižšie používajú Facebook; ostatné rozšírenia fungujú rovnako, s poľami, ktoré ukazuje ich formulár.\n\n## 1. Nájdi adresu spätného volania\n\n**1.** Otvor **Extensions** a klikni na kartu poskytovateľa (alebo na **Configure** v jej menu).\n\n**2.** Pole **Documentation** ukazuje adresu spätného volania (callback endpoint), napríklad `https://auth.example.com/oauth/facebook/`.\n\n![Konfiguračný formulár Facebooku s adresou spätného volania, App ID a Secret](/files/JapjQB2Ql61f.webp)\n\nAdresa sa skladá z adresy, cez ktorú otváraš OpenAuth. Otvor administráciu cez tú istú verejnú adresu `https://`, ktorú uvidia tvoji používatelia, aby bola adresa spätného volania správna.\n\n## 2. Zaregistruj OpenAuth u poskytovateľa\n\nV konzole pre vývojárov u poskytovateľa vytvor aplikáciu (Facebook tomu hovorí aplikácia; iní poskytovatelia hovoria klient alebo projekt) a pridaj adresu spätného volania ako povolenú adresu presmerovania. Poskytovateľ ti potom dá ID a tajný kľúč.\n\nOpenAuth posiela adresu spätného volania poskytovateľovi ako `redirect_uri` pri každom prihlásení, takže sa musí presne zhodovať s tým, čo si zaregistroval, vrátane `https://` a lomky na konci.\n\nRozšírenie Facebook žiada povolenie `email`, takže používatelia túto žiadosť uvidia na obrazovke súhlasu Facebooku.\n\n## 3. Zadaj kľúče v OpenAuth\n\n**1.** V tom istom formulári vyplň **App ID** a **Secret** hodnotami od poskytovateľa.\n\n**2.** Stlač **SUBMIT**. OpenAuth ukáže „The configuration has been updated successfully.“ (konfigurácia bola úspešne aktualizovaná).\n\nNastavenia platia od nasledujúceho prihlásenia; nič netreba reštartovať.\n\n## Kontrola nastavenia\n\nSpusti testovacie prihlásenie zo svojej aplikácie alebo postupuj podľa [Kontrola poskytovateľa cez curl](../../recipes/check-provider/) a uvidíš adresu, na ktorú OpenAuth posiela používateľov.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.550Z"}
{"id":"JapjPl21l60f","url":"https://totaljs.es/docs/openauth/1-0/guides/app-tokens/","project":"openauth","version":"1-0","section":"guides","language":"en","title":"App tokens","summary":"Create, edit and remove the tokens that your apps use to call OpenAuth.","markdown":"---\ntitle: App tokens\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/guides/app-tokens/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# App tokens\n\n> Create, edit and remove the tokens that your apps use to call OpenAuth.\n\nEach app that signs users in through OpenAuth needs a token. The app sends it with every call to `POST /` and `GET /sessions/`. Give every app its own token, so you can remove one app's access without touching the others.\n\nOpen **Tokens** in the left menu.\n\n![The Tokens screen with two tokens, Demo app and Website](/files/JapjPg1yl61f.webp)\n\n## Create a token\n\n**1.** Press **Create** (or **Create first** when the list is empty).\n\n**2.** Type a **Name** that tells you which app uses it, for example `Website`.\n\n**3.** **Access token** is filled with a new random token. Keep it, or type your own (5 to 50 characters).\n\n![The Create token form with Name and the masked Access token](/files/JapjPi1zl60f.webp)\n\n**4.** Press **SUBMIT**.\n\nThen copy the token into your app's configuration. To see it again, open the token with **Edit**.\n\n## The token menu\n\nClick the cog on a token to open its menu.\n\n![The menu of a token with Copy URL address, Edit and Remove](/files/JapjPj20l61f.webp)\n\n- **Copy URL address** copies the OpenAuth address with the token as the `token` argument, for example `https://auth.example.com/?token=...`.\n- **Edit** opens the **Update token** form, where you change the name or the token. Clicking the card does the same. When you change the token, update the app too.\n- **Remove** deletes the token after you confirm. Calls with it fail with `401` at once.\n\n## Use the token\n\nSend the token in the `x-token` header (preferred) or as the `token` query argument. See [Start a sign-in](../../reference/start-sign-in/).\n\nAfter more than five calls with a wrong token, OpenAuth blocks the caller's IP address for a while. See [Sign-in questions](../../faq/sign-in/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjPl21l60f-de","url":"https://totaljs.es/docs/de/openauth/1-0/guides/app-tokens/","project":"openauth","version":"1-0","section":"guides","language":"de","title":"App-Tokens","summary":"Leg die Tokens an, mit denen deine Apps OpenAuth aufrufen, und bearbeite oder entferne sie.","markdown":"---\ntitle: App-Tokens\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/guides/app-tokens/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# App-Tokens\n\n> Leg die Tokens an, mit denen deine Apps OpenAuth aufrufen, und bearbeite oder entferne sie.\n\nJede App, die Benutzer über OpenAuth anmeldet, braucht ein Token. Die App sendet es bei jedem Aufruf von `POST /` und `GET /sessions/` mit. Gib jeder App ihr eigenes Token, dann kannst du einer App den Zugang entziehen, ohne die anderen anzufassen.\n\nÖffne **Tokens** im linken Menü.\n\n![Der Bildschirm Tokens mit zwei Tokens, Demo app und Website](/files/JapjPg1yl61f.webp)\n\n## Ein Token anlegen\n\n**1.** Klick auf **Create** (oder **Create first**, wenn die Liste leer ist).\n\n**2.** Gib einen **Name** ein, an dem du erkennst, welche App das Token nutzt, zum Beispiel `Website`.\n\n**3.** **Access token** ist schon mit einem neuen zufälligen Token gefüllt. Behalte es oder gib dein eigenes ein (5 bis 50 Zeichen).\n\n![Das Formular Create token mit Name und dem verdeckten Access token](/files/JapjPi1zl60f.webp)\n\n**4.** Klick auf **SUBMIT**.\n\nKopiere das Token dann in die Konfiguration deiner App. Um es wieder zu sehen, öffne das Token mit **Edit**.\n\n## Das Menü eines Tokens\n\nKlick auf das Zahnrad eines Tokens, um sein Menü zu öffnen.\n\n![Das Menü eines Tokens mit Copy URL address, Edit und Remove](/files/JapjPj20l61f.webp)\n\n- **Copy URL address** (URL-Adresse kopieren) kopiert die Adresse von OpenAuth mit dem Token als Argument `token`, zum Beispiel `https://auth.example.com/?token=...`.\n- **Edit** öffnet das Formular **Update token**, in dem du den Namen oder das Token änderst. Ein Klick auf die Karte macht dasselbe. Wenn du das Token änderst, pass auch die App an.\n- **Remove** löscht das Token, nachdem du bestätigt hast. Aufrufe damit schlagen sofort mit `401` fehl.\n\n## Das Token nutzen\n\nSende das Token im Header `x-token` (empfohlen) oder als Query-Argument `token`. Siehe [Eine Anmeldung starten](../../reference/start-sign-in/).\n\nNach mehr als fünf Aufrufen mit falschem Token sperrt OpenAuth die IP-Adresse des Aufrufers für eine Weile. Siehe [Fragen zur Anmeldung](../../faq/sign-in/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjPl21l60f-es","url":"https://totaljs.es/docs/es/openauth/1-0/guides/app-tokens/","project":"openauth","version":"1-0","section":"guides","language":"es","title":"Tokens de app","summary":"Crea, edita y elimina los tokens que usan tus apps para llamar a OpenAuth.","markdown":"---\ntitle: Tokens de app\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/guides/app-tokens/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# Tokens de app\n\n> Crea, edita y elimina los tokens que usan tus apps para llamar a OpenAuth.\n\nCada app que inicia la sesión de los usuarios a través de OpenAuth necesita un token. La app lo envía en cada llamada a `POST /` y `GET /sessions/`. Da a cada app su propio token, así puedes quitar el acceso a una app sin tocar las demás.\n\nAbre **Tokens** en el menú de la izquierda.\n\n![La pantalla Tokens con dos tokens, Demo app y Website](/files/JapjPg1yl61f.webp)\n\n## Crea un token\n\n**1.** Pulsa **Create** (o **Create first** cuando la lista está vacía).\n\n**2.** Escribe un **Name** (nombre) que te diga qué app lo usa, por ejemplo `Website`.\n\n**3.** **Access token** ya viene con un token aleatorio nuevo. Déjalo o escribe el tuyo (de 5 a 50 caracteres).\n\n![El formulario Create token con Name y el Access token oculto](/files/JapjPi1zl60f.webp)\n\n**4.** Pulsa **SUBMIT**.\n\nDespués copia el token en la configuración de tu app. Para volver a verlo, abre el token con **Edit**.\n\n## El menú del token\n\nHaz clic en el engranaje de un token para abrir su menú.\n\n![El menú de un token con Copy URL address, Edit y Remove](/files/JapjPj20l61f.webp)\n\n- **Copy URL address** copia la dirección de OpenAuth con el token como argumento `token`, por ejemplo `https://auth.example.com/?token=...`.\n- **Edit** abre el formulario **Update token**, donde cambias el nombre o el token. Hacer clic en la tarjeta hace lo mismo. Si cambias el token, actualiza también la app.\n- **Remove** borra el token después de que lo confirmes. Las llamadas con él fallan con `401` al momento.\n\n## Usa el token\n\nEnvía el token en la cabecera `x-token` (lo recomendado) o como argumento de consulta `token`. Consulta [Empieza un inicio de sesión](../../reference/start-sign-in/).\n\nDespués de más de cinco llamadas con un token incorrecto, OpenAuth bloquea durante un rato la dirección IP de quien llama. Consulta [Preguntas sobre el inicio de sesión](../../faq/sign-in/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjPl21l60f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/guides/app-tokens/","project":"openauth","version":"1-0","section":"guides","language":"fr","title":"Jetons d’application","summary":"Crée, modifie et supprime les jetons que tes applications utilisent pour appeler OpenAuth.","markdown":"---\ntitle: \"Jetons d’application\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/guides/app-tokens/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# Jetons d’application\n\n> Crée, modifie et supprime les jetons que tes applications utilisent pour appeler OpenAuth.\n\nChaque application qui connecte des utilisateurs via OpenAuth a besoin d’un jeton. L’application l’envoie à chaque appel de `POST /` et `GET /sessions/`. Donne à chaque application son propre jeton : tu pourras ainsi retirer l’accès d’une application sans toucher aux autres.\n\nOuvre **Tokens** (jetons) dans le menu de gauche.\n\n![L’écran Tokens avec deux jetons, Demo app et Website](/files/JapjPg1yl61f.webp)\n\n## Créer un jeton\n\n**1.** Clique sur **Create** (ou **Create first** quand la liste est vide).\n\n**2.** Saisis un **Name** (nom) qui t’indique quelle application l’utilise, par exemple `Website`.\n\n**3.** **Access token** est rempli avec un nouveau jeton aléatoire. Garde-le, ou saisis le tien (de 5 à 50 caractères).\n\n![Le formulaire Create token avec Name et l’Access token masqué](/files/JapjPi1zl60f.webp)\n\n**4.** Clique sur **SUBMIT**.\n\nCopie ensuite le jeton dans la configuration de ton application. Pour le revoir, ouvre le jeton avec **Edit**.\n\n## Le menu du jeton\n\nClique sur la roue dentée d’un jeton pour ouvrir son menu.\n\n![Le menu d’un jeton avec Copy URL address, Edit et Remove](/files/JapjPj20l61f.webp)\n\n- **Copy URL address** copie l’adresse d’OpenAuth avec le jeton comme argument `token`, par exemple `https://auth.example.com/?token=...`.\n- **Edit** ouvre le formulaire **Update token**, où tu changes le nom ou le jeton. Un clic sur la carte fait la même chose. Si tu changes le jeton, mets aussi à jour l’application.\n- **Remove** supprime le jeton après confirmation. Les appels qui l’utilisent échouent aussitôt avec `401`.\n\n## Utiliser le jeton\n\nEnvoie le jeton dans l’en-tête `x-token` (de préférence) ou comme argument de requête `token`. Consulte [Lancer une connexion](../../reference/start-sign-in/).\n\nAprès plus de cinq appels avec un mauvais jeton, OpenAuth bloque l’adresse IP de l’appelant pendant un moment. Consulte [Questions sur la connexion](../../faq/sign-in/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjPl21l60f-it","url":"https://totaljs.es/docs/it/openauth/1-0/guides/app-tokens/","project":"openauth","version":"1-0","section":"guides","language":"it","title":"Token delle app","summary":"Crea, modifica ed elimina i token che le tue app usano per chiamare OpenAuth.","markdown":"---\ntitle: Token delle app\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/guides/app-tokens/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# Token delle app\n\n> Crea, modifica ed elimina i token che le tue app usano per chiamare OpenAuth.\n\nOgni app che fa accedere gli utenti tramite OpenAuth ha bisogno di un token. L'app lo invia con ogni chiamata a `POST /` e `GET /sessions/`. Dai a ogni app il suo token, così puoi togliere l'accesso a un'app senza toccare le altre.\n\nApri **Tokens** nel menu a sinistra.\n\n![La schermata Tokens con due token, Demo app e Website](/files/JapjPg1yl61f.webp)\n\n## Creare un token\n\n**1.** Premi **Create** (oppure **Create first** quando l'elenco è vuoto).\n\n**2.** Scrivi un **Name** (nome) che ti dica quale app lo usa, per esempio `Website`.\n\n**3.** **Access token** è già compilato con un nuovo token casuale. Tienilo, oppure scrivine uno tuo (da 5 a 50 caratteri).\n\n![Il modulo Create token con Name e l'Access token nascosto](/files/JapjPi1zl60f.webp)\n\n**4.** Premi **SUBMIT**.\n\nPoi copia il token nella configurazione della tua app. Per rivederlo, apri il token con **Edit**.\n\n## Il menu del token\n\nFai clic sull'ingranaggio di un token per aprire il suo menu.\n\n![Il menu di un token con Copy URL address, Edit e Remove](/files/JapjPj20l61f.webp)\n\n- **Copy URL address** copia l'indirizzo di OpenAuth con il token come argomento `token`, per esempio `https://auth.example.com/?token=...`.\n- **Edit** apre il modulo **Update token**, dove cambi il nome o il token. Fare clic sulla scheda fa lo stesso. Quando cambi il token, aggiornalo anche nell'app.\n- **Remove** elimina il token dopo la tua conferma. Le chiamate con quel token falliscono subito con `401`.\n\n## Usare il token\n\nInvia il token nell'header `x-token` (consigliato) oppure come argomento di query `token`. Leggi [Avviare un accesso](../../reference/start-sign-in/).\n\nDopo più di cinque chiamate con un token sbagliato, OpenAuth blocca per un po' l'indirizzo IP di chi chiama. Leggi [Domande sull'accesso](../../faq/sign-in/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjPl21l60f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/guides/app-tokens/","project":"openauth","version":"1-0","section":"guides","language":"sk","title":"Tokeny aplikácií","summary":"Vytváraj, upravuj a odstraňuj tokeny, ktorými tvoje aplikácie volajú OpenAuth.","markdown":"---\ntitle: \"Tokeny aplikácií\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/guides/app-tokens/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# Tokeny aplikácií\n\n> Vytváraj, upravuj a odstraňuj tokeny, ktorými tvoje aplikácie volajú OpenAuth.\n\nKaždá aplikácia, ktorá prihlasuje používateľov cez OpenAuth, potrebuje token. Aplikácia ho posiela pri každom volaní `POST /` a `GET /sessions/`. Daj každej aplikácii vlastný token, aby si mohol odobrať prístup jednej aplikácii bez toho, aby si sa dotkol ostatných.\n\nV ľavom menu otvor **Tokens** (tokeny).\n\n![Obrazovka Tokens s dvoma tokenmi, Demo app a Website](/files/JapjPg1yl61f.webp)\n\n## Vytvorenie tokenu\n\n**1.** Stlač **Create** (alebo **Create first**, keď je zoznam prázdny).\n\n**2.** Napíš **Name** (názov), z ktorého spoznáš, ktorá aplikácia token používa, napríklad `Website`.\n\n**3.** **Access token** je vyplnený novým náhodným tokenom. Ponechaj ho alebo napíš vlastný (5 až 50 znakov).\n\n![Formulár Create token s poľom Name a skrytým Access token](/files/JapjPi1zl60f.webp)\n\n**4.** Stlač **SUBMIT**.\n\nPotom skopíruj token do konfigurácie svojej aplikácie. Ak ho chceš znova vidieť, otvor token cez **Edit**.\n\n## Menu tokenu\n\nKlikni na ozubené koliesko pri tokene a otvorí sa jeho menu.\n\n![Menu tokenu s položkami Copy URL address, Edit a Remove](/files/JapjPj20l61f.webp)\n\n- **Copy URL address** skopíruje adresu OpenAuth s tokenom ako argumentom `token`, napríklad `https://auth.example.com/?token=...`.\n- **Edit** otvorí formulár **Update token**, kde zmeníš názov alebo token. To isté urobí kliknutie na kartu. Keď zmeníš token, aktualizuj aj aplikáciu.\n- **Remove** po potvrdení token vymaže. Volania s ním okamžite zlyhajú s `401`.\n\n## Použitie tokenu\n\nPosielaj token v hlavičke `x-token` (odporúčané) alebo ako argument dotazu `token`. Pozri si [Spustenie prihlásenia](../../reference/start-sign-in/).\n\nPo viac ako piatich volaniach s nesprávnym tokenom OpenAuth na chvíľu zablokuje IP adresu volajúceho. Pozri si [Otázky o prihlásení](../../faq/sign-in/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjQH2Ul61f","url":"https://totaljs.es/docs/openauth/1-0/guides/sign-in-logs/","project":"openauth","version":"1-0","section":"guides","language":"en","title":"Sign-in logs","summary":"See who signed in, with which provider and when.","markdown":"---\ntitle: Sign-in logs\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/guides/sign-in-logs/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Sign-in logs\n\n> See who signed in, with which provider and when.\n\nOpenAuth writes one log entry for every finished sign-in. Open **Extensions** and press **Logs**.\n\n![The Logs window with two sign-ins through Facebook](/files/JapjQF2Tl60f.webp)\n\n| Column | What it shows |\n|---|---|\n| **Service** | The extension used, for example `facebook`. |\n| **Session** | The session ID that your app sent when it started the sign-in. |\n| **Name** | The user's name from the provider. |\n| **Email** | The user's email, if the provider gave one. |\n| **Created** | When the sign-in finished. |\n\nThe newest sign-ins are at the top. Type in a **Filter** box under a column to filter, or click a column title to sort. **Refresh** loads the list again; the window shows 100 entries per page.\n\nUse the **Session** value to match a log entry with a sign-in in your app.\n\nThe log is kept in the data folder (`logs.nosql`) and survives restarts. See [The data folder](../../reference/data-folder/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQH2Ul61f-de","url":"https://totaljs.es/docs/de/openauth/1-0/guides/sign-in-logs/","project":"openauth","version":"1-0","section":"guides","language":"de","title":"Anmeldeprotokoll","summary":"Sieh, wer sich wann über welchen Anbieter angemeldet hat.","markdown":"---\ntitle: Anmeldeprotokoll\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/guides/sign-in-logs/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Anmeldeprotokoll\n\n> Sieh, wer sich wann über welchen Anbieter angemeldet hat.\n\nOpenAuth schreibt für jede abgeschlossene Anmeldung einen Eintrag ins Protokoll. Öffne **Extensions** und klick auf **Logs**.\n\n![Das Fenster Logs mit zwei Anmeldungen über Facebook](/files/JapjQF2Tl60f.webp)\n\n| Spalte | Was sie zeigt |\n|---|---|\n| **Service** | Die genutzte Erweiterung, zum Beispiel `facebook`. |\n| **Session** | Die Sitzungs-ID, die deine App beim Start der Anmeldung gesendet hat. |\n| **Name** | Der Name der Person vom Anbieter. |\n| **Email** | Die E-Mail der Person, wenn der Anbieter eine geliefert hat. |\n| **Created** | Wann die Anmeldung abgeschlossen wurde. |\n\nDie neuesten Anmeldungen stehen oben. Tipp etwas in ein **Filter**-Feld unter einer Spalte, um zu filtern, oder klick auf einen Spaltentitel, um zu sortieren. **Refresh** lädt die Liste neu; das Fenster zeigt 100 Einträge pro Seite.\n\nMit dem Wert **Session** ordnest du einen Protokolleintrag einer Anmeldung in deiner App zu.\n\nDas Protokoll liegt im Datenordner (`logs.nosql`) und übersteht Neustarts. Siehe [Der Datenordner](../../reference/data-folder/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQH2Ul61f-es","url":"https://totaljs.es/docs/es/openauth/1-0/guides/sign-in-logs/","project":"openauth","version":"1-0","section":"guides","language":"es","title":"Registro de inicios de sesión","summary":"Mira quién ha iniciado sesión, con qué proveedor y cuándo.","markdown":"---\ntitle: \"Registro de inicios de sesión\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/guides/sign-in-logs/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Registro de inicios de sesión\n\n> Mira quién ha iniciado sesión, con qué proveedor y cuándo.\n\nOpenAuth escribe una entrada en el registro por cada inicio de sesión terminado. Abre **Extensions** y pulsa **Logs**.\n\n![La ventana Logs con dos inicios de sesión a través de Facebook](/files/JapjQF2Tl60f.webp)\n\n| Columna | Qué muestra |\n|---|---|\n| **Service** | La extensión usada, por ejemplo `facebook`. |\n| **Session** | El ID de sesión que envió tu app al empezar el inicio de sesión. |\n| **Name** | El nombre del usuario según el proveedor. |\n| **Email** | El correo del usuario, si el proveedor lo ha dado. |\n| **Created** | Cuándo terminó el inicio de sesión. |\n\nLos inicios de sesión más recientes están arriba. Escribe en un cuadro **Filter** bajo una columna para filtrar, o haz clic en el título de una columna para ordenar. **Refresh** vuelve a cargar la lista; la ventana muestra 100 entradas por página.\n\nUsa el valor de **Session** para relacionar una entrada del registro con un inicio de sesión en tu app.\n\nEl registro se guarda en la carpeta de datos (`logs.nosql`) y se mantiene tras los reinicios. Consulta [La carpeta de datos](../../reference/data-folder/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQH2Ul61f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/guides/sign-in-logs/","project":"openauth","version":"1-0","section":"guides","language":"fr","title":"Journal des connexions","summary":"Vois qui s’est connecté, avec quel fournisseur et quand.","markdown":"---\ntitle: Journal des connexions\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/guides/sign-in-logs/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Journal des connexions\n\n> Vois qui s’est connecté, avec quel fournisseur et quand.\n\nOpenAuth écrit une entrée de journal pour chaque connexion terminée. Ouvre **Extensions** et clique sur **Logs**.\n\n![La fenêtre Logs avec deux connexions via Facebook](/files/JapjQF2Tl60f.webp)\n\n| Colonne | Ce qu’elle affiche |\n|---|---|\n| **Service** | L’extension utilisée, par exemple `facebook`. |\n| **Session** | L’identifiant de session que ton application a envoyé en lançant la connexion. |\n| **Name** | Le nom de l’utilisateur, fourni par le fournisseur. |\n| **Email** | L’e-mail de l’utilisateur, si le fournisseur en a donné un. |\n| **Created** | Le moment où la connexion s’est terminée. |\n\nLes connexions les plus récentes sont en haut. Écris dans une case **Filter** sous une colonne pour filtrer, ou clique sur le titre d’une colonne pour trier. **Refresh** recharge la liste ; la fenêtre affiche 100 entrées par page.\n\nUtilise la valeur **Session** pour faire correspondre une entrée du journal à une connexion dans ton application.\n\nLe journal est conservé dans le dossier de données (`logs.nosql`) et survit aux redémarrages. Consulte [Le dossier de données](../../reference/data-folder/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQH2Ul61f-it","url":"https://totaljs.es/docs/it/openauth/1-0/guides/sign-in-logs/","project":"openauth","version":"1-0","section":"guides","language":"it","title":"Log degli accessi","summary":"Guarda chi ha effettuato l'accesso, con quale provider e quando.","markdown":"---\ntitle: Log degli accessi\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/guides/sign-in-logs/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Log degli accessi\n\n> Guarda chi ha effettuato l'accesso, con quale provider e quando.\n\nOpenAuth scrive una voce di log per ogni accesso completato. Apri **Extensions** e premi **Logs**.\n\n![La finestra Logs con due accessi tramite Facebook](/files/JapjQF2Tl60f.webp)\n\n| Colonna | Cosa mostra |\n|---|---|\n| **Service** | L'estensione usata, per esempio `facebook`. |\n| **Session** | L'ID di sessione che la tua app ha inviato quando ha avviato l'accesso. |\n| **Name** | Il nome dell'utente dato dal provider. |\n| **Email** | L'email dell'utente, se il provider l'ha fornita. |\n| **Created** | Quando l'accesso è stato completato. |\n\nGli accessi più recenti sono in cima. Scrivi in una casella **Filter** sotto una colonna per filtrare, oppure fai clic sul titolo di una colonna per ordinare. **Refresh** ricarica l'elenco; la finestra mostra 100 voci per pagina.\n\nUsa il valore di **Session** per abbinare una voce del log a un accesso nella tua app.\n\nIl log è conservato nella cartella dei dati (`logs.nosql`) e resta dopo i riavvii. Leggi [La cartella dei dati](../../reference/data-folder/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQH2Ul61f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/guides/sign-in-logs/","project":"openauth","version":"1-0","section":"guides","language":"sk","title":"Logy prihlásení","summary":"Pozri si, kto sa prihlásil, cez ktorého poskytovateľa a kedy.","markdown":"---\ntitle: \"Logy prihlásení\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/guides/sign-in-logs/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Logy prihlásení\n\n> Pozri si, kto sa prihlásil, cez ktorého poskytovateľa a kedy.\n\nOpenAuth zapíše jeden záznam do logu za každé dokončené prihlásenie. Otvor **Extensions** a stlač **Logs**.\n\n![Okno Logs s dvoma prihláseniami cez Facebook](/files/JapjQF2Tl60f.webp)\n\n| Stĺpec | Čo ukazuje |\n|---|---|\n| **Service** | Použité rozšírenie, napríklad `facebook`. |\n| **Session** | ID relácie, ktoré poslala tvoja aplikácia pri spustení prihlásenia. |\n| **Name** | Meno používateľa od poskytovateľa. |\n| **Email** | E-mail používateľa, ak ho poskytovateľ poslal. |\n| **Created** | Kedy sa prihlásenie dokončilo. |\n\nNajnovšie prihlásenia sú hore. Na filtrovanie píš do poľa **Filter** pod stĺpcom, na zoradenie klikni na názov stĺpca. **Refresh** načíta zoznam znova; okno ukazuje 100 záznamov na stranu.\n\nHodnotou **Session** spáruješ záznam v logu s prihlásením vo svojej aplikácii.\n\nLog sa uchováva v priečinku s dátami (`logs.nosql`) a prežije reštart. Pozri si [Priečinok s dátami](../../reference/data-folder/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQ22Il61f","url":"https://totaljs.es/docs/openauth/1-0/guides/open-sessions/","project":"openauth","version":"1-0","section":"guides","language":"en","title":"Open sessions","summary":"See the sign-ins that are in progress or waiting for your app to read the profile.","markdown":"---\ntitle: Open sessions\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/guides/open-sessions/\nupdated: 2026-11-19T09:22:02.490Z\n---\n\n# Open sessions\n\n> See the sign-ins that are in progress or waiting for your app to read the profile.\n\nA session starts when your app calls `POST /` and lasts 15 minutes. Open **Extensions** and press **Sessions** to see the sessions that are open now.\n\n![The Open sessions window with two finished sign-ins and one in progress](/files/JapjQ02Hl60f.webp)\n\n| Column | What it shows |\n|---|---|\n| **Service** | The extension, once the user has signed in. |\n| **Session** | OpenAuth's own ID of the session (the one in the `/login/.../` address), not your app's session ID. |\n| **Name** | The user's name, once the user has signed in. |\n| **Email** | The user's email, once the user has signed in. |\n| **Expire** | When the session and its profile are removed. |\n\nA row with an empty **Name** is a sign-in that has started but not finished: the user is still at the provider, or gave up.\n\nSessions are kept in memory. A restart of OpenAuth removes all of them, and users who were signing in have to start again.\n\n**Refresh** loads the list again.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:02.490Z"}
{"id":"JapjQ22Il61f-de","url":"https://totaljs.es/docs/de/openauth/1-0/guides/open-sessions/","project":"openauth","version":"1-0","section":"guides","language":"de","title":"Offene Sitzungen","summary":"Sieh dir die Anmeldungen an, die gerade laufen oder darauf warten, dass deine App das Profil liest.","markdown":"---\ntitle: Offene Sitzungen\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/guides/open-sessions/\nupdated: 2026-11-19T09:22:02.490Z\n---\n\n# Offene Sitzungen\n\n> Sieh dir die Anmeldungen an, die gerade laufen oder darauf warten, dass deine App das Profil liest.\n\nEine Sitzung beginnt, wenn deine App `POST /` aufruft, und dauert 15 Minuten. Öffne **Extensions** und klick auf **Sessions**, um die gerade offenen Sitzungen zu sehen.\n\n![Das Fenster Open sessions mit zwei abgeschlossenen Anmeldungen und einer laufenden](/files/JapjQ02Hl60f.webp)\n\n| Spalte | Was sie zeigt |\n|---|---|\n| **Service** | Die Erweiterung, sobald die Person angemeldet ist. |\n| **Session** | Die eigene ID der Sitzung bei OpenAuth (die in der Adresse `/login/.../`), nicht die Sitzungs-ID deiner App. |\n| **Name** | Der Name der Person, sobald sie angemeldet ist. |\n| **Email** | Die E-Mail der Person, sobald sie angemeldet ist. |\n| **Expire** | Wann die Sitzung und ihr Profil entfernt werden. |\n\nEine Zeile mit leerem **Name** ist eine Anmeldung, die begonnen, aber nicht abgeschlossen wurde: Die Person ist noch beim Anbieter oder hat aufgegeben.\n\nSitzungen liegen im Arbeitsspeicher. Ein Neustart von OpenAuth entfernt sie alle, und wer gerade bei der Anmeldung war, muss neu anfangen.\n\n**Refresh** lädt die Liste neu.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:02.490Z"}
{"id":"JapjQ22Il61f-es","url":"https://totaljs.es/docs/es/openauth/1-0/guides/open-sessions/","project":"openauth","version":"1-0","section":"guides","language":"es","title":"Sesiones abiertas","summary":"Mira los inicios de sesión que están en curso o esperando a que tu app lea el perfil.","markdown":"---\ntitle: Sesiones abiertas\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/guides/open-sessions/\nupdated: 2026-11-19T09:22:02.490Z\n---\n\n# Sesiones abiertas\n\n> Mira los inicios de sesión que están en curso o esperando a que tu app lea el perfil.\n\nUna sesión empieza cuando tu app llama a `POST /` y dura 15 minutos. Abre **Extensions** y pulsa **Sessions** para ver las sesiones abiertas ahora mismo.\n\n![La ventana Open sessions con dos inicios de sesión terminados y uno en curso](/files/JapjQ02Hl60f.webp)\n\n| Columna | Qué muestra |\n|---|---|\n| **Service** | La extensión, cuando el usuario ya ha iniciado sesión. |\n| **Session** | El ID de la sesión en OpenAuth (el de la dirección `/login/.../`), no el ID de sesión de tu app. |\n| **Name** | El nombre del usuario, cuando ya ha iniciado sesión. |\n| **Email** | El correo del usuario, cuando ya ha iniciado sesión. |\n| **Expire** | Cuándo se eliminan la sesión y su perfil. |\n\nUna fila con **Name** vacío es un inicio de sesión que ha empezado pero no ha terminado: el usuario sigue en el proveedor o lo ha dejado.\n\nLas sesiones se guardan en memoria. Un reinicio de OpenAuth las elimina todas, y los usuarios que estaban iniciando sesión tienen que volver a empezar.\n\n**Refresh** vuelve a cargar la lista.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:02.490Z"}
{"id":"JapjQ22Il61f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/guides/open-sessions/","project":"openauth","version":"1-0","section":"guides","language":"fr","title":"Sessions ouvertes","summary":"Vois les connexions en cours ou qui attendent que ton application lise le profil.","markdown":"---\ntitle: Sessions ouvertes\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/guides/open-sessions/\nupdated: 2026-11-19T09:22:02.490Z\n---\n\n# Sessions ouvertes\n\n> Vois les connexions en cours ou qui attendent que ton application lise le profil.\n\nUne session commence quand ton application appelle `POST /` et dure 15 minutes. Ouvre **Extensions** et clique sur **Sessions** pour voir les sessions ouvertes en ce moment.\n\n![La fenêtre Open sessions avec deux connexions terminées et une en cours](/files/JapjQ02Hl60f.webp)\n\n| Colonne | Ce qu’elle affiche |\n|---|---|\n| **Service** | L’extension, une fois l’utilisateur connecté. |\n| **Session** | L’identifiant de session propre à OpenAuth (celui de l’adresse `/login/.../`), pas l’identifiant de session de ton application. |\n| **Name** | Le nom de l’utilisateur, une fois l’utilisateur connecté. |\n| **Email** | L’e-mail de l’utilisateur, une fois l’utilisateur connecté. |\n| **Expire** | Le moment où la session et son profil sont supprimés. |\n\nUne ligne avec un **Name** vide est une connexion commencée mais pas terminée : l’utilisateur est encore chez le fournisseur, ou il a abandonné.\n\nLes sessions sont gardées en mémoire. Un redémarrage d’OpenAuth les supprime toutes, et les utilisateurs qui étaient en train de se connecter doivent recommencer.\n\n**Refresh** recharge la liste.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:02.490Z"}
{"id":"JapjQ22Il61f-it","url":"https://totaljs.es/docs/it/openauth/1-0/guides/open-sessions/","project":"openauth","version":"1-0","section":"guides","language":"it","title":"Sessioni aperte","summary":"Guarda gli accessi in corso o in attesa che la tua app legga il profilo.","markdown":"---\ntitle: Sessioni aperte\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/guides/open-sessions/\nupdated: 2026-11-19T09:22:02.490Z\n---\n\n# Sessioni aperte\n\n> Guarda gli accessi in corso o in attesa che la tua app legga il profilo.\n\nUna sessione inizia quando la tua app chiama `POST /` e dura 15 minuti. Apri **Extensions** e premi **Sessions** per vedere le sessioni aperte in questo momento.\n\n![La finestra Open sessions con due accessi completati e uno in corso](/files/JapjQ02Hl60f.webp)\n\n| Colonna | Cosa mostra |\n|---|---|\n| **Service** | L'estensione, una volta che l'utente ha effettuato l'accesso. |\n| **Session** | L'ID della sessione interno di OpenAuth (quello nell'indirizzo `/login/.../`), non l'ID di sessione della tua app. |\n| **Name** | Il nome dell'utente, una volta che ha effettuato l'accesso. |\n| **Email** | L'email dell'utente, una volta che ha effettuato l'accesso. |\n| **Expire** | Quando la sessione e il suo profilo vengono eliminati. |\n\nUna riga con **Name** vuoto è un accesso iniziato ma non finito: l'utente è ancora presso il provider, oppure ha rinunciato.\n\nLe sessioni stanno in memoria. Un riavvio di OpenAuth le elimina tutte, e gli utenti che stavano accedendo devono ricominciare.\n\n**Refresh** ricarica l'elenco.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:02.490Z"}
{"id":"JapjQ22Il61f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/guides/open-sessions/","project":"openauth","version":"1-0","section":"guides","language":"sk","title":"Otvorené relácie","summary":"Pozri si prihlásenia, ktoré práve prebiehajú alebo čakajú, kým tvoja aplikácia prečíta profil.","markdown":"---\ntitle: \"Otvorené relácie\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/guides/open-sessions/\nupdated: 2026-11-19T09:22:02.490Z\n---\n\n# Otvorené relácie\n\n> Pozri si prihlásenia, ktoré práve prebiehajú alebo čakajú, kým tvoja aplikácia prečíta profil.\n\nRelácia sa začne, keď tvoja aplikácia zavolá `POST /`, a trvá 15 minút. Otvor **Extensions** a stlač **Sessions**, aby si videl relácie, ktoré sú práve otvorené.\n\n![Okno Open sessions s dvoma dokončenými prihláseniami a jedným prebiehajúcim](/files/JapjQ02Hl60f.webp)\n\n| Stĺpec | Čo ukazuje |\n|---|---|\n| **Service** | Rozšírenie, keď sa už používateľ prihlásil. |\n| **Session** | Vlastné ID relácie v OpenAuth (to v adrese `/login/.../`), nie ID relácie tvojej aplikácie. |\n| **Name** | Meno používateľa, keď sa už prihlásil. |\n| **Email** | E-mail používateľa, keď sa už prihlásil. |\n| **Expire** | Kedy sa relácia a jej profil odstránia. |\n\nRiadok s prázdnym **Name** je prihlásenie, ktoré sa začalo, ale nedokončilo: používateľ je ešte u poskytovateľa alebo to vzdal.\n\nRelácie sa uchovávajú v pamäti. Reštart OpenAuth ich všetky odstráni a používatelia, ktorí sa práve prihlasovali, musia začať znova.\n\n**Refresh** načíta zoznam znova.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:02.490Z"}
{"id":"JapjPo25l60f","url":"https://totaljs.es/docs/openauth/1-0/guides/configuration/","project":"openauth","version":"1-0","section":"guides","language":"en","title":"Configuration","summary":"Change the name of your OpenAuth and its primary access token.","markdown":"---\ntitle: Configuration\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/guides/configuration/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# Configuration\n\n> Change the name of your OpenAuth and its primary access token.\n\nOpen **Configuration** (the cog in the left menu).\n\n## Name\n\nThe **Name** is required. OpenAuth shows it in the browser tab of the admin interface and as the answer of the root address `/`:\n\n```bash\ncurl https://auth.example.com/\n```\n\n```text\nOpenAuth\n```\n\n## Security\n\n**Primary access token** opens the admin interface. See [Protect the admin interface](../protect-admin/).\n\n## OpenPlatform\n\nThe **OpenPlatform** panel connects OpenAuth to a Total.js OpenPlatform instance with a **Request token** and a **Response token**. Leave both fields empty if you do not use OpenPlatform. As the panel warns, you are signed out of the admin interface when you enter these tokens.\n\n## Save\n\nPress **SUBMIT**. OpenAuth writes the settings to the data folder a few seconds later, so wait a moment before you stop the app.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjPo25l60f-de","url":"https://totaljs.es/docs/de/openauth/1-0/guides/configuration/","project":"openauth","version":"1-0","section":"guides","language":"de","title":"Konfiguration","summary":"Ändere den Namen deines OpenAuth und sein primäres Zugangstoken.","markdown":"---\ntitle: Konfiguration\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/guides/configuration/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# Konfiguration\n\n> Ändere den Namen deines OpenAuth und sein primäres Zugangstoken.\n\nÖffne **Configuration** (das Zahnrad im linken Menü).\n\n## Name\n\nDer **Name** ist Pflicht. OpenAuth zeigt ihn im Browser-Tab der Admin-Oberfläche und als Antwort der Stammadresse `/`:\n\n```bash\ncurl https://auth.example.com/\n```\n\n```text\nOpenAuth\n```\n\n## Sicherheit\n\n**Primary access token** (primäres Zugangstoken) öffnet die Admin-Oberfläche. Siehe [Die Admin-Oberfläche schützen](../protect-admin/).\n\n## OpenPlatform\n\nDer Bereich **OpenPlatform** verbindet OpenAuth mit einer Total.js-OpenPlatform-Instanz, mit einem **Request token** und einem **Response token**. Lass beide Felder leer, wenn du OpenPlatform nicht nutzt. Wie der Bereich warnt, wirst du aus der Admin-Oberfläche abgemeldet, wenn du diese Tokens eingibst.\n\n## Speichern\n\nKlick auf **SUBMIT**. OpenAuth schreibt die Einstellungen ein paar Sekunden später in den Datenordner, warte also kurz, bevor du die App stoppst.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjPo25l60f-es","url":"https://totaljs.es/docs/es/openauth/1-0/guides/configuration/","project":"openauth","version":"1-0","section":"guides","language":"es","title":"Configuración","summary":"Cambia el nombre de tu OpenAuth y su token de acceso principal.","markdown":"---\ntitle: \"Configuración\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/guides/configuration/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# Configuración\n\n> Cambia el nombre de tu OpenAuth y su token de acceso principal.\n\nAbre **Configuration** (configuración), el engranaje del menú de la izquierda.\n\n## Nombre\n\nEl **Name** (nombre) es obligatorio. OpenAuth lo muestra en la pestaña del navegador de la interfaz de administración y como respuesta de la dirección raíz `/`:\n\n```bash\ncurl https://auth.example.com/\n```\n\n```text\nOpenAuth\n```\n\n## Seguridad\n\nEl **Primary access token** (token de acceso principal) abre la interfaz de administración. Consulta [Protege la interfaz de administración](../protect-admin/).\n\n## OpenPlatform\n\nEl panel **OpenPlatform** conecta OpenAuth con una instancia de Total.js OpenPlatform mediante un **Request token** y un **Response token**. Deja los dos campos vacíos si no usas OpenPlatform. Como avisa el panel, se cierra tu sesión en la interfaz de administración cuando introduces estos tokens.\n\n## Guarda\n\nPulsa **SUBMIT**. OpenAuth escribe los ajustes en la carpeta de datos unos segundos después, así que espera un momento antes de detener la app.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjPo25l60f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/guides/configuration/","project":"openauth","version":"1-0","section":"guides","language":"fr","title":"Configuration","summary":"Change le nom de ton OpenAuth et son jeton d’accès principal.","markdown":"---\ntitle: Configuration\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/guides/configuration/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# Configuration\n\n> Change le nom de ton OpenAuth et son jeton d’accès principal.\n\nOuvre **Configuration** (la roue dentée dans le menu de gauche).\n\n## Nom\n\nLe champ **Name** (nom) est obligatoire. OpenAuth l’affiche dans l’onglet du navigateur de l’interface d’administration et comme réponse de l’adresse racine `/` :\n\n```bash\ncurl https://auth.example.com/\n```\n\n```text\nOpenAuth\n```\n\n## Sécurité\n\n**Primary access token** (jeton d’accès principal) ouvre l’interface d’administration. Consulte [Protéger l’interface d’administration](../protect-admin/).\n\n## OpenPlatform\n\nLe panneau **OpenPlatform** relie OpenAuth à une instance Total.js OpenPlatform avec un **Request token** et un **Response token**. Laisse les deux champs vides si tu n’utilises pas OpenPlatform. Comme le panneau le signale, tu es déconnecté de l’interface d’administration quand tu saisis ces jetons.\n\n## Enregistrer\n\nClique sur **SUBMIT**. OpenAuth écrit les réglages dans le dossier de données quelques secondes plus tard : attends un instant avant d’arrêter l’application.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjPo25l60f-it","url":"https://totaljs.es/docs/it/openauth/1-0/guides/configuration/","project":"openauth","version":"1-0","section":"guides","language":"it","title":"Configurazione","summary":"Cambia il nome del tuo OpenAuth e il suo token di accesso principale.","markdown":"---\ntitle: Configurazione\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/guides/configuration/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# Configurazione\n\n> Cambia il nome del tuo OpenAuth e il suo token di accesso principale.\n\nApri **Configuration** (l'ingranaggio nel menu a sinistra).\n\n## Nome\n\nIl **Name** è obbligatorio. OpenAuth lo mostra nella scheda del browser dell'interfaccia di amministrazione e come risposta dell'indirizzo principale `/`:\n\n```bash\ncurl https://auth.example.com/\n```\n\n```text\nOpenAuth\n```\n\n## Sicurezza\n\n**Primary access token** (token di accesso principale) apre l'interfaccia di amministrazione. Leggi [Proteggere l'interfaccia di amministrazione](../protect-admin/).\n\n## OpenPlatform\n\nIl pannello **OpenPlatform** collega OpenAuth a un'istanza di Total.js OpenPlatform con un **Request token** e un **Response token**. Lascia vuoti entrambi i campi se non usi OpenPlatform. Come avvisa il pannello, quando inserisci questi token vieni disconnesso dall'interfaccia di amministrazione.\n\n## Salvare\n\nPremi **SUBMIT**. OpenAuth scrive le impostazioni nella cartella dei dati qualche secondo dopo, quindi aspetta un momento prima di fermare l'app.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjPo25l60f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/guides/configuration/","project":"openauth","version":"1-0","section":"guides","language":"sk","title":"Konfigurácia","summary":"Zmeň názov svojho OpenAuth a jeho hlavný prístupový token.","markdown":"---\ntitle: \"Konfigurácia\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/guides/configuration/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# Konfigurácia\n\n> Zmeň názov svojho OpenAuth a jeho hlavný prístupový token.\n\nOtvor **Configuration** (konfigurácia; ozubené koliesko v ľavom menu).\n\n## Názov\n\n**Name** (názov) je povinný. OpenAuth ho ukazuje na karte prehliadača v administrácii a ako odpoveď koreňovej adresy `/`:\n\n```bash\ncurl https://auth.example.com/\n```\n\n```text\nOpenAuth\n```\n\n## Zabezpečenie\n\n**Primary access token** otvára administráciu. Pozri si [Ochrana administrácie](../protect-admin/).\n\n## OpenPlatform\n\nPanel **OpenPlatform** pripojí OpenAuth k inštancii Total.js OpenPlatform pomocou **Request token** a **Response token**. Ak OpenPlatform nepoužívaš, nechaj obe polia prázdne. Ako panel upozorňuje, po zadaní týchto tokenov ťa administrácia odhlási.\n\n## Uloženie\n\nStlač **SUBMIT**. OpenAuth zapíše nastavenia do priečinka s dátami o pár sekúnd neskôr, preto chvíľu počkaj, než aplikáciu zastavíš.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjPn23l60f","url":"https://totaljs.es/docs/openauth/1-0/guides/backups/","project":"openauth","version":"1-0","section":"guides","language":"en","title":"Back up your data","summary":"Copy the data folder of OpenAuth and restore it.","markdown":"---\ntitle: Back up your data\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/guides/backups/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# Back up your data\n\n> Copy the data folder of OpenAuth and restore it.\n\nEverything OpenAuth keeps is in one folder: `databases` inside the OpenAuth folder (`/www/.src/databases` in Docker). See [The data folder](../../reference/data-folder/).\n\n## Make a backup\n\n**1.** Stop OpenAuth, so every setting is written.\n\n**2.** Copy the whole `databases` folder:\n\n```bash\ntar -czf openauth-backup.tar.gz databases\n```\n\n**3.** Start OpenAuth again.\n\nWith Docker, copy the folder out of the container:\n\n```bash\ndocker cp openauth:/www/.src/databases ./openauth-databases\n```\n\nThe backup holds the provider secrets and the tokens, so keep it as safe as the server.\n\n## Restore\n\nStop OpenAuth, replace the `databases` folder with the copy and start OpenAuth. Your tokens, extensions, provider settings, primary access token and the sign-in log are back.\n\nSign-ins in progress are not part of the backup; they live in memory only.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjPn23l60f-de","url":"https://totaljs.es/docs/de/openauth/1-0/guides/backups/","project":"openauth","version":"1-0","section":"guides","language":"de","title":"Deine Daten sichern","summary":"Kopiere den Datenordner von OpenAuth und stelle ihn wieder her.","markdown":"---\ntitle: Deine Daten sichern\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/guides/backups/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# Deine Daten sichern\n\n> Kopiere den Datenordner von OpenAuth und stelle ihn wieder her.\n\nAlles, was OpenAuth speichert, liegt in einem Ordner: `databases` im Ordner von OpenAuth (`/www/.src/databases` in Docker). Siehe [Der Datenordner](../../reference/data-folder/).\n\n## Eine Sicherung machen\n\n**1.** Stoppe OpenAuth, damit jede Einstellung geschrieben ist.\n\n**2.** Kopiere den ganzen Ordner `databases`:\n\n```bash\ntar -czf openauth-backup.tar.gz databases\n```\n\n**3.** Starte OpenAuth wieder.\n\nMit Docker kopierst du den Ordner aus dem Container heraus:\n\n```bash\ndocker cp openauth:/www/.src/databases ./openauth-databases\n```\n\nDie Sicherung enthält die Geheimnisse der Anbieter und die Tokens, bewahre sie also so sicher auf wie den Server.\n\n## Wiederherstellen\n\nStoppe OpenAuth, ersetze den Ordner `databases` durch die Kopie und starte OpenAuth. Deine Tokens, Erweiterungen, Anbieter-Einstellungen, das primäre Zugangstoken und das Anmeldeprotokoll sind wieder da.\n\nLaufende Anmeldungen sind nicht Teil der Sicherung; sie liegen nur im Arbeitsspeicher.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjPn23l60f-es","url":"https://totaljs.es/docs/es/openauth/1-0/guides/backups/","project":"openauth","version":"1-0","section":"guides","language":"es","title":"Haz copia de seguridad de tus datos","summary":"Copia la carpeta de datos de OpenAuth y restáurala.","markdown":"---\ntitle: Haz copia de seguridad de tus datos\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/guides/backups/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# Haz copia de seguridad de tus datos\n\n> Copia la carpeta de datos de OpenAuth y restáurala.\n\nTodo lo que guarda OpenAuth está en una sola carpeta: `databases`, dentro de la carpeta de OpenAuth (`/www/.src/databases` en Docker). Consulta [La carpeta de datos](../../reference/data-folder/).\n\n## Haz una copia de seguridad\n\n**1.** Detén OpenAuth, para que se escriban todos los ajustes.\n\n**2.** Copia la carpeta `databases` entera:\n\n```bash\ntar -czf openauth-backup.tar.gz databases\n```\n\n**3.** Vuelve a iniciar OpenAuth.\n\nCon Docker, copia la carpeta fuera del contenedor:\n\n```bash\ndocker cp openauth:/www/.src/databases ./openauth-databases\n```\n\nLa copia contiene los secretos de los proveedores y los tokens, así que guárdala con el mismo cuidado que el servidor.\n\n## Restaura\n\nDetén OpenAuth, sustituye la carpeta `databases` por la copia e inicia OpenAuth. Recuperas tus tokens, extensiones, ajustes de proveedores, el token de acceso principal y el registro de inicios de sesión.\n\nLos inicios de sesión en curso no forman parte de la copia; solo existen en memoria.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjPn23l60f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/guides/backups/","project":"openauth","version":"1-0","section":"guides","language":"fr","title":"Sauvegarder tes données","summary":"Copie le dossier de données d’OpenAuth et restaure-le.","markdown":"---\ntitle: \"Sauvegarder tes données\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/guides/backups/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# Sauvegarder tes données\n\n> Copie le dossier de données d’OpenAuth et restaure-le.\n\nTout ce qu’OpenAuth conserve se trouve dans un seul dossier : `databases`, dans le dossier d’OpenAuth (`/www/.src/databases` avec Docker). Consulte [Le dossier de données](../../reference/data-folder/).\n\n## Faire une sauvegarde\n\n**1.** Arrête OpenAuth, pour que tous les réglages soient écrits.\n\n**2.** Copie tout le dossier `databases` :\n\n```bash\ntar -czf openauth-backup.tar.gz databases\n```\n\n**3.** Redémarre OpenAuth.\n\nAvec Docker, copie le dossier hors du conteneur :\n\n```bash\ndocker cp openauth:/www/.src/databases ./openauth-databases\n```\n\nLa sauvegarde contient les secrets des fournisseurs et les jetons : protège-la aussi bien que le serveur.\n\n## Restaurer\n\nArrête OpenAuth, remplace le dossier `databases` par la copie et démarre OpenAuth. Tes jetons, tes extensions, les réglages des fournisseurs, le jeton d’accès principal et le journal des connexions sont de retour.\n\nLes connexions en cours ne font pas partie de la sauvegarde : elles ne vivent qu’en mémoire.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjPn23l60f-it","url":"https://totaljs.es/docs/it/openauth/1-0/guides/backups/","project":"openauth","version":"1-0","section":"guides","language":"it","title":"Fare il backup dei dati","summary":"Copia la cartella dei dati di OpenAuth e ripristinala.","markdown":"---\ntitle: Fare il backup dei dati\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/guides/backups/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# Fare il backup dei dati\n\n> Copia la cartella dei dati di OpenAuth e ripristinala.\n\nTutto ciò che OpenAuth conserva sta in una sola cartella: `databases` dentro la cartella di OpenAuth (`/www/.src/databases` in Docker). Leggi [La cartella dei dati](../../reference/data-folder/).\n\n## Fare un backup\n\n**1.** Ferma OpenAuth, così ogni impostazione viene scritta.\n\n**2.** Copia l'intera cartella `databases`:\n\n```bash\ntar -czf openauth-backup.tar.gz databases\n```\n\n**3.** Avvia di nuovo OpenAuth.\n\nCon Docker, copia la cartella fuori dal container:\n\n```bash\ndocker cp openauth:/www/.src/databases ./openauth-databases\n```\n\nIl backup contiene i segreti dei provider e i token, quindi tienilo al sicuro come il server.\n\n## Ripristinare\n\nFerma OpenAuth, sostituisci la cartella `databases` con la copia e avvia OpenAuth. Tornano i tuoi token, le estensioni, le impostazioni dei provider, il token di accesso principale e il log degli accessi.\n\nGli accessi in corso non fanno parte del backup: stanno solo in memoria.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjPn23l60f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/guides/backups/","project":"openauth","version":"1-0","section":"guides","language":"sk","title":"Zálohuj svoje dáta","summary":"Skopíruj priečinok s dátami OpenAuth a obnov ho.","markdown":"---\ntitle: \"Zálohuj svoje dáta\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/guides/backups/\nupdated: 2026-11-19T09:22:00.799Z\n---\n\n# Zálohuj svoje dáta\n\n> Skopíruj priečinok s dátami OpenAuth a obnov ho.\n\nVšetko, čo OpenAuth uchováva, je v jednom priečinku: `databases` vnútri priečinka OpenAuth (`/www/.src/databases` v Dockeri). Pozri si [Priečinok s dátami](../../reference/data-folder/).\n\n## Vytvorenie zálohy\n\n**1.** Zastav OpenAuth, aby sa zapísali všetky nastavenia.\n\n**2.** Skopíruj celý priečinok `databases`:\n\n```bash\ntar -czf openauth-backup.tar.gz databases\n```\n\n**3.** Znova spusti OpenAuth.\n\nS Dockerom skopíruj priečinok z kontajnera:\n\n```bash\ndocker cp openauth:/www/.src/databases ./openauth-databases\n```\n\nZáloha obsahuje tajné kľúče poskytovateľov a tokeny, preto ju chráň rovnako ako server.\n\n## Obnovenie\n\nZastav OpenAuth, nahraď priečinok `databases` kópiou a spusti OpenAuth. Tvoje tokeny, rozšírenia, nastavenia poskytovateľov, hlavný prístupový token a log prihlásení sú späť.\n\nPrihlásenia, ktoré práve prebiehajú, nie sú súčasťou zálohy; existujú len v pamäti.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:00.799Z"}
{"id":"JapjQ42Kl61f","url":"https://totaljs.es/docs/openauth/1-0/guides/production/","project":"openauth","version":"1-0","section":"guides","language":"en","title":"Run in production","summary":"Prepare OpenAuth for a public server: HTTPS, the right address, release mode.","markdown":"---\ntitle: Run in production\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/guides/production/\nupdated: 2026-11-19T09:22:02.490Z\n---\n\n# Run in production\n\n> Prepare OpenAuth for a public server: HTTPS, the right address, release mode.\n\nOpenAuth holds your provider secrets and hands out access tokens, so the server needs some care before users reach it.\n\n## Set the primary access token\n\nDo it before anything else. See [Protect the admin interface](../protect-admin/).\n\n## Use HTTPS\n\nTokens, sign-in codes and profiles travel through OpenAuth. Put it behind a reverse proxy (for example Nginx or Caddy) that serves HTTPS, and let your apps and users use the `https://` address only.\n\n## Pass the public address to OpenAuth\n\nOpenAuth builds the sign-in address and the callback endpoint from the address of each request. Behind a reverse proxy, forward the original host and protocol, or providers reject the callback. With Nginx:\n\n```nginx\nlocation / {\n    proxy_pass http://127.0.0.1:8000;\n    proxy_set_header Host $host;\n    proxy_set_header X-Forwarded-Proto $scheme;\n}\n```\n\nThen check that **Configure** in [Extensions](../extensions/) shows the `https://` callback endpoint, and that `POST /` answers with an `https://` sign-in address.\n\n## Listen only on the local address\n\nBy default OpenAuth listens on all network interfaces. When the reverse proxy runs on the same server, make OpenAuth listen only on `127.0.0.1`. In `index.js`, change the line\n\n```js\n// options.ip = '127.0.0.1';\n```\n\nto\n\n```js\noptions.ip = '127.0.0.1';\n```\n\nand restart OpenAuth. With Docker, publish the port only on the local address instead:\n\n```bash\ndocker run -d --name openauth -p 127.0.0.1:8000:8000 -v openauth:/www openauth\n```\n\n## Start in release mode\n\n`npm start` runs in debug mode. On a server, start OpenAuth in release mode:\n\n```bash\nnode index.js 8000 --release\n```\n\n## Restrict the admin interface\n\nYour apps need only `/`, `/login/`, `/oauth/` and `/sessions/`. If you can, allow `/setup/` and `/api/` only from your own network in the reverse proxy.\n\n## One token per app\n\nGive each app its own [app token](../app-tokens/), and remove the token of an app you retire.\n\n## Back up\n\nCopy the data folder on a schedule. See [Back up your data](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:02.490Z"}
{"id":"JapjQ42Kl61f-de","url":"https://totaljs.es/docs/de/openauth/1-0/guides/production/","project":"openauth","version":"1-0","section":"guides","language":"de","title":"Im Produktivbetrieb","summary":"Mach OpenAuth bereit für einen öffentlichen Server: HTTPS, die richtige Adresse, Release-Modus.","markdown":"---\ntitle: Im Produktivbetrieb\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/guides/production/\nupdated: 2026-11-19T09:22:02.490Z\n---\n\n# Im Produktivbetrieb\n\n> Mach OpenAuth bereit für einen öffentlichen Server: HTTPS, die richtige Adresse, Release-Modus.\n\nOpenAuth verwahrt die Geheimnisse deiner Anbieter und gibt Zugangstokens heraus, deshalb braucht der Server etwas Pflege, bevor Benutzer ihn erreichen.\n\n## Das primäre Zugangstoken festlegen\n\nMach das vor allem anderen. Siehe [Die Admin-Oberfläche schützen](../protect-admin/).\n\n## HTTPS nutzen\n\nTokens, Anmeldecodes und Profile laufen durch OpenAuth. Stell es hinter einen Reverse Proxy (zum Beispiel Nginx oder Caddy), der HTTPS ausliefert, und lass deine Apps und Benutzer nur die `https://`-Adresse nutzen.\n\n## Die öffentliche Adresse an OpenAuth weitergeben\n\nOpenAuth baut die Anmeldeadresse und den Callback-Endpunkt aus der Adresse jeder Anfrage. Hinter einem Reverse Proxy musst du den ursprünglichen Host und das Protokoll weitergeben, sonst lehnen die Anbieter den Callback ab. Mit Nginx:\n\n```nginx\nlocation / {\n    proxy_pass http://127.0.0.1:8000;\n    proxy_set_header Host $host;\n    proxy_set_header X-Forwarded-Proto $scheme;\n}\n```\n\nPrüf dann, ob **Configure** unter [Erweiterungen](../extensions/) den Callback-Endpunkt mit `https://` zeigt und ob `POST /` mit einer Anmeldeadresse mit `https://` antwortet.\n\n## Nur auf der lokalen Adresse lauschen\n\nStandardmäßig lauscht OpenAuth auf allen Netzwerkschnittstellen. Wenn der Reverse Proxy auf demselben Server läuft, lass OpenAuth nur auf `127.0.0.1` lauschen. Ändere in `index.js` die Zeile\n\n```js\n// options.ip = '127.0.0.1';\n```\n\nin\n\n```js\noptions.ip = '127.0.0.1';\n```\n\nund starte OpenAuth neu. Mit Docker veröffentlichst du den Port stattdessen nur auf der lokalen Adresse:\n\n```bash\ndocker run -d --name openauth -p 127.0.0.1:8000:8000 -v openauth:/www openauth\n```\n\n## Im Release-Modus starten\n\n`npm start` läuft im Debug-Modus. Auf einem Server startest du OpenAuth im Release-Modus:\n\n```bash\nnode index.js 8000 --release\n```\n\n## Die Admin-Oberfläche einschränken\n\nDeine Apps brauchen nur `/`, `/login/`, `/oauth/` und `/sessions/`. Wenn möglich, erlaube `/setup/` und `/api/` im Reverse Proxy nur aus deinem eigenen Netzwerk.\n\n## Ein Token pro App\n\nGib jeder App ihr eigenes [App-Token](../app-tokens/) und entferne das Token einer App, die du nicht mehr nutzt.\n\n## Sichern\n\nKopiere den Datenordner regelmäßig. Siehe [Deine Daten sichern](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:02.490Z"}
{"id":"JapjQ42Kl61f-es","url":"https://totaljs.es/docs/es/openauth/1-0/guides/production/","project":"openauth","version":"1-0","section":"guides","language":"es","title":"Ponlo en producción","summary":"Prepara OpenAuth para un servidor público: HTTPS, la dirección correcta y el modo release.","markdown":"---\ntitle: \"Ponlo en producción\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/guides/production/\nupdated: 2026-11-19T09:22:02.490Z\n---\n\n# Ponlo en producción\n\n> Prepara OpenAuth para un servidor público: HTTPS, la dirección correcta y el modo release.\n\nOpenAuth guarda los secretos de tus proveedores y entrega tokens de acceso, así que el servidor necesita algo de cuidado antes de que lleguen los usuarios.\n\n## Pon el token de acceso principal\n\nHazlo antes que nada. Consulta [Protege la interfaz de administración](../protect-admin/).\n\n## Usa HTTPS\n\nPor OpenAuth pasan tokens, códigos de inicio de sesión y perfiles. Ponlo detrás de un proxy inverso (por ejemplo Nginx o Caddy) que sirva HTTPS, y haz que tus apps y tus usuarios usen solo la dirección `https://`.\n\n## Pasa la dirección pública a OpenAuth\n\nOpenAuth construye la dirección de inicio de sesión y el endpoint de retorno a partir de la dirección de cada petición. Detrás de un proxy inverso, reenvía el host y el protocolo originales; si no, los proveedores rechazan el retorno. Con Nginx:\n\n```nginx\nlocation / {\n    proxy_pass http://127.0.0.1:8000;\n    proxy_set_header Host $host;\n    proxy_set_header X-Forwarded-Proto $scheme;\n}\n```\n\nDespués comprueba que **Configure** en [Extensiones](../extensions/) muestra el endpoint de retorno con `https://`, y que `POST /` responde con una dirección de inicio de sesión `https://`.\n\n## Escucha solo en la dirección local\n\nPor defecto, OpenAuth escucha en todas las interfaces de red. Si el proxy inverso está en el mismo servidor, haz que OpenAuth escuche solo en `127.0.0.1`. En `index.js`, cambia la línea\n\n```js\n// options.ip = '127.0.0.1';\n```\n\npor\n\n```js\noptions.ip = '127.0.0.1';\n```\n\ny reinicia OpenAuth. Con Docker, publica el puerto solo en la dirección local:\n\n```bash\ndocker run -d --name openauth -p 127.0.0.1:8000:8000 -v openauth:/www openauth\n```\n\n## Inicia en modo release\n\n`npm start` funciona en modo debug. En un servidor, inicia OpenAuth en modo release:\n\n```bash\nnode index.js 8000 --release\n```\n\n## Limita la interfaz de administración\n\nTus apps solo necesitan `/`, `/login/`, `/oauth/` y `/sessions/`. Si puedes, permite `/setup/` y `/api/` solo desde tu propia red en el proxy inverso.\n\n## Un token por app\n\nDa a cada app su propio [token de app](../app-tokens/) y elimina el token de las apps que dejes de usar.\n\n## Copia de seguridad\n\nCopia la carpeta de datos de forma periódica. Consulta [Haz copia de seguridad de tus datos](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:02.490Z"}
{"id":"JapjQ42Kl61f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/guides/production/","project":"openauth","version":"1-0","section":"guides","language":"fr","title":"Exécuter en production","summary":"Prépare OpenAuth pour un serveur public : HTTPS, la bonne adresse, le mode release.","markdown":"---\ntitle: \"Exécuter en production\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/guides/production/\nupdated: 2026-11-19T09:22:02.490Z\n---\n\n# Exécuter en production\n\n> Prépare OpenAuth pour un serveur public : HTTPS, la bonne adresse, le mode release.\n\nOpenAuth détient les secrets de tes fournisseurs et distribue des jetons d’accès : le serveur demande donc un peu de soin avant que les utilisateurs y accèdent.\n\n## Définir le jeton d’accès principal\n\nFais-le avant toute autre chose. Consulte [Protéger l’interface d’administration](../protect-admin/).\n\n## Utiliser HTTPS\n\nDes jetons, des codes de connexion et des profils passent par OpenAuth. Place-le derrière un proxy inverse (par exemple Nginx ou Caddy) qui sert du HTTPS, et laisse tes applications et tes utilisateurs utiliser uniquement l’adresse `https://`.\n\n## Transmettre l’adresse publique à OpenAuth\n\nOpenAuth construit l’adresse de connexion et le point de retour (callback) à partir de l’adresse de chaque requête. Derrière un proxy inverse, transmets l’hôte et le protocole d’origine, sinon les fournisseurs refusent le retour. Avec Nginx :\n\n```nginx\nlocation / {\n    proxy_pass http://127.0.0.1:8000;\n    proxy_set_header Host $host;\n    proxy_set_header X-Forwarded-Proto $scheme;\n}\n```\n\nVérifie ensuite que **Configure** dans [Extensions](../extensions/) affiche le point de retour en `https://`, et que `POST /` répond avec une adresse de connexion en `https://`.\n\n## Écouter uniquement sur l’adresse locale\n\nPar défaut, OpenAuth écoute sur toutes les interfaces réseau. Quand le proxy inverse tourne sur le même serveur, fais écouter OpenAuth uniquement sur `127.0.0.1`. Dans `index.js`, change la ligne\n\n```js\n// options.ip = '127.0.0.1';\n```\n\nen\n\n```js\noptions.ip = '127.0.0.1';\n```\n\net redémarre OpenAuth. Avec Docker, publie plutôt le port uniquement sur l’adresse locale :\n\n```bash\ndocker run -d --name openauth -p 127.0.0.1:8000:8000 -v openauth:/www openauth\n```\n\n## Démarrer en mode release\n\n`npm start` tourne en mode debug. Sur un serveur, démarre OpenAuth en mode release :\n\n```bash\nnode index.js 8000 --release\n```\n\n## Restreindre l’interface d’administration\n\nTes applications n’ont besoin que de `/`, `/login/`, `/oauth/` et `/sessions/`. Si tu peux, autorise `/setup/` et `/api/` uniquement depuis ton propre réseau dans le proxy inverse.\n\n## Un jeton par application\n\nDonne à chaque application son propre [jeton d’application](../app-tokens/), et supprime le jeton d’une application que tu retires.\n\n## Sauvegarder\n\nCopie le dossier de données à intervalles réguliers. Consulte [Sauvegarder tes données](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:02.490Z"}
{"id":"JapjQ42Kl61f-it","url":"https://totaljs.es/docs/it/openauth/1-0/guides/production/","project":"openauth","version":"1-0","section":"guides","language":"it","title":"Usare in produzione","summary":"Prepara OpenAuth per un server pubblico: HTTPS, l'indirizzo giusto, modalità release.","markdown":"---\ntitle: Usare in produzione\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/guides/production/\nupdated: 2026-11-19T09:22:02.490Z\n---\n\n# Usare in produzione\n\n> Prepara OpenAuth per un server pubblico: HTTPS, l'indirizzo giusto, modalità release.\n\nOpenAuth custodisce i segreti dei tuoi provider e distribuisce token di accesso, quindi il server richiede un po' di attenzione prima che gli utenti lo raggiungano.\n\n## Impostare il token di accesso principale\n\nFallo prima di qualsiasi altra cosa. Leggi [Proteggere l'interfaccia di amministrazione](../protect-admin/).\n\n## Usare HTTPS\n\nToken, codici di accesso e profili passano per OpenAuth. Mettilo dietro un reverse proxy (per esempio Nginx o Caddy) che serva HTTPS, e fai usare alle tue app e ai tuoi utenti solo l'indirizzo `https://`.\n\n## Passare l'indirizzo pubblico a OpenAuth\n\nOpenAuth costruisce l'indirizzo di accesso e l'endpoint di callback a partire dall'indirizzo di ogni richiesta. Dietro un reverse proxy, inoltra l'host e il protocollo originali, altrimenti i provider rifiutano la callback. Con Nginx:\n\n```nginx\nlocation / {\n    proxy_pass http://127.0.0.1:8000;\n    proxy_set_header Host $host;\n    proxy_set_header X-Forwarded-Proto $scheme;\n}\n```\n\nPoi controlla che **Configure** in [Estensioni](../extensions/) mostri l'endpoint di callback con `https://`, e che `POST /` risponda con un indirizzo di accesso `https://`.\n\n## Ascoltare solo sull'indirizzo locale\n\nPer impostazione predefinita OpenAuth ascolta su tutte le interfacce di rete. Quando il reverse proxy gira sullo stesso server, fai ascoltare OpenAuth solo su `127.0.0.1`. In `index.js`, cambia la riga\n\n```js\n// options.ip = '127.0.0.1';\n```\n\nin\n\n```js\noptions.ip = '127.0.0.1';\n```\n\ne riavvia OpenAuth. Con Docker, pubblica invece la porta solo sull'indirizzo locale:\n\n```bash\ndocker run -d --name openauth -p 127.0.0.1:8000:8000 -v openauth:/www openauth\n```\n\n## Avviare in modalità release\n\n`npm start` gira in modalità debug. Su un server, avvia OpenAuth in modalità release:\n\n```bash\nnode index.js 8000 --release\n```\n\n## Limitare l'interfaccia di amministrazione\n\nAlle tue app servono solo `/`, `/login/`, `/oauth/` e `/sessions/`. Se puoi, nel reverse proxy consenti `/setup/` e `/api/` solo dalla tua rete.\n\n## Un token per ogni app\n\nDai a ogni app il suo [token dell'app](../app-tokens/), ed elimina il token di un'app che non usi più.\n\n## Fare il backup\n\nCopia la cartella dei dati a intervalli regolari. Leggi [Fare il backup dei dati](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:02.490Z"}
{"id":"JapjQ42Kl61f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/guides/production/","project":"openauth","version":"1-0","section":"guides","language":"sk","title":"Prevádzka v produkcii","summary":"Priprav OpenAuth na verejný server: HTTPS, správna adresa, režim release.","markdown":"---\ntitle: \"Prevádzka v produkcii\"\nproject: OpenAuth\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/guides/production/\nupdated: 2026-11-19T09:22:02.490Z\n---\n\n# Prevádzka v produkcii\n\n> Priprav OpenAuth na verejný server: HTTPS, správna adresa, režim release.\n\nOpenAuth uchováva tajné kľúče tvojich poskytovateľov a rozdáva prístupové tokeny, preto si server zaslúži trochu starostlivosti, skôr než sa k nemu dostanú používatelia.\n\n## Nastav hlavný prístupový token\n\nUrob to ako prvé. Pozri si [Ochrana administrácie](../protect-admin/).\n\n## Používaj HTTPS\n\nCez OpenAuth prechádzajú tokeny, prihlasovacie kódy a profily. Daj ho za reverzné proxy (napríklad Nginx alebo Caddy), ktoré poskytuje HTTPS, a nechaj svoje aplikácie a používateľov používať len adresu `https://`.\n\n## Odovzdaj OpenAuth verejnú adresu\n\nOpenAuth skladá adresu na prihlásenie a adresu spätného volania z adresy každej požiadavky. Za reverzným proxy preposielaj pôvodný hostiteľ a protokol, inak poskytovatelia spätné volanie odmietnu. S Nginx:\n\n```nginx\nlocation / {\n    proxy_pass http://127.0.0.1:8000;\n    proxy_set_header Host $host;\n    proxy_set_header X-Forwarded-Proto $scheme;\n}\n```\n\nPotom skontroluj, že **Configure** v [Rozšíreniach](../extensions/) ukazuje adresu spätného volania s `https://` a že `POST /` odpovedá adresou na prihlásenie s `https://`.\n\n## Počúvaj len na lokálnej adrese\n\nPredvolene OpenAuth počúva na všetkých sieťových rozhraniach. Keď reverzné proxy beží na tom istom serveri, nechaj OpenAuth počúvať len na `127.0.0.1`. V `index.js` zmeň riadok\n\n```js\n// options.ip = '127.0.0.1';\n```\n\nna\n\n```js\noptions.ip = '127.0.0.1';\n```\n\na reštartuj OpenAuth. S Dockerom namiesto toho zverejni port len na lokálnej adrese:\n\n```bash\ndocker run -d --name openauth -p 127.0.0.1:8000:8000 -v openauth:/www openauth\n```\n\n## Spúšťaj v režime release\n\n`npm start` beží v režime debug. Na serveri spúšťaj OpenAuth v režime release:\n\n```bash\nnode index.js 8000 --release\n```\n\n## Obmedz prístup do administrácie\n\nTvoje aplikácie potrebujú len `/`, `/login/`, `/oauth/` a `/sessions/`. Ak môžeš, povoľ v reverznom proxy `/setup/` a `/api/` len zo svojej siete.\n\n## Jeden token na aplikáciu\n\nDaj každej aplikácii vlastný [token aplikácie](../app-tokens/) a odstráň token aplikácie, ktorú už nepoužívaš.\n\n## Zálohuj\n\nKopíruj priečinok s dátami pravidelne. Pozri si [Zálohuj svoje dáta](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:02.490Z"}
{"id":"JapjQQ2gl61f","url":"https://totaljs.es/docs/openauth/1-0/reference/how-sign-in-works/","project":"openauth","version":"1-0","section":"reference","language":"en","title":"How sign-in works","summary":"The full round trip between your app, OpenAuth and the provider, step by step.","markdown":"---\ntitle: How sign-in works\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/reference/how-sign-in-works/\nupdated: 2026-11-19T09:22:04.896Z\n---\n\n# How sign-in works\n\n> The full round trip between your app, OpenAuth and the provider, step by step.\n\nYour app talks to OpenAuth over HTTP with an [app token](../../guides/app-tokens/). The user's browser goes from your app to OpenAuth, on to the provider, and back. In the examples, OpenAuth runs at `https://auth.example.com` and your app at `https://www.example.com`.\n\n## The steps\n\n**1.** Your app makes up a session ID (any unique text, for example a UUID) and [starts a sign-in](../start-sign-in/):\n\n```http\nPOST https://auth.example.com/\nx-token: YOUR_APP_TOKEN\nContent-Type: application/json\n\n{\"serviceid\":\"facebook\",\"sessionid\":\"7f3a9c21\",\"url\":\"https://www.example.com/auth/\"}\n```\n\n**2.** OpenAuth answers with a sign-in address:\n\n```json\n\"https://auth.example.com/login/mwn8jzivbyr19ogt6g/\"\n```\n\n**3.** Your app redirects the user's browser to that address. OpenAuth redirects the browser on to the provider's sign-in page.\n\n**4.** The user signs in at the provider and allows access. The provider sends the browser back to OpenAuth's callback endpoint, `https://auth.example.com/oauth/facebook/`.\n\n**5.** OpenAuth gets the profile from the provider and redirects the browser to your `url`, with your session ID added:\n\n```text\nhttps://www.example.com/auth/?sessionid=7f3a9c21\n```\n\n**6.** Your app [reads the profile](../get-profile/):\n\n```http\nGET https://auth.example.com/sessions/?id=7f3a9c21\nx-token: YOUR_APP_TOKEN\n```\n\n## Time limits\n\nThe session lives 15 minutes from step 1. The user must finish signing in, and your app must read the profile, within that time. After that, `/login/.../` and `/sessions/` answer `404 Session not found`.\n\nSessions are kept in memory, so a restart of OpenAuth ends them all.\n\n## Without a return address\n\nIf you leave out `url`, step 5 shows the user a page that says they have logged in and can close it. Your app then reads the profile with its session ID as in step 6. See [Start a sign-in](../start-sign-in/).\n\n## Addresses\n\n| Address | Who calls it |\n|---|---|\n| `POST /` | Your app, with a token. |\n| `GET /login/{id}/` | The user's browser. |\n| `GET /oauth/{serviceid}/` | The provider, through the user's browser. Register it at the provider. |\n| `GET /sessions/` | Your app, with a token. |\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:04.896Z"}
{"id":"JapjQQ2gl61f-de","url":"https://totaljs.es/docs/de/openauth/1-0/reference/how-sign-in-works/","project":"openauth","version":"1-0","section":"reference","language":"de","title":"So funktioniert die Anmeldung","summary":"Der ganze Weg zwischen deiner App, OpenAuth und dem Anbieter, Schritt für Schritt.","markdown":"---\ntitle: So funktioniert die Anmeldung\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/reference/how-sign-in-works/\nupdated: 2026-11-19T09:22:04.896Z\n---\n\n# So funktioniert die Anmeldung\n\n> Der ganze Weg zwischen deiner App, OpenAuth und dem Anbieter, Schritt für Schritt.\n\nDeine App spricht mit OpenAuth über HTTP und ein [App-Token](../../guides/app-tokens/). Der Browser der Person geht von deiner App zu OpenAuth, weiter zum Anbieter und zurück. In den Beispielen läuft OpenAuth unter `https://auth.example.com` und deine App unter `https://www.example.com`.\n\n## Die Schritte\n\n**1.** Deine App denkt sich eine Sitzungs-ID aus (einen beliebigen eindeutigen Text, zum Beispiel eine UUID) und [startet eine Anmeldung](../start-sign-in/):\n\n```http\nPOST https://auth.example.com/\nx-token: YOUR_APP_TOKEN\nContent-Type: application/json\n\n{\"serviceid\":\"facebook\",\"sessionid\":\"7f3a9c21\",\"url\":\"https://www.example.com/auth/\"}\n```\n\n**2.** OpenAuth antwortet mit einer Anmeldeadresse:\n\n```json\n\"https://auth.example.com/login/mwn8jzivbyr19ogt6g/\"\n```\n\n**3.** Deine App leitet den Browser der Person an diese Adresse weiter. OpenAuth leitet den Browser weiter zur Anmeldeseite des Anbieters.\n\n**4.** Die Person meldet sich beim Anbieter an und erlaubt den Zugriff. Der Anbieter schickt den Browser zurück an den Callback-Endpunkt von OpenAuth, `https://auth.example.com/oauth/facebook/`.\n\n**5.** OpenAuth holt das Profil vom Anbieter und leitet den Browser an deine `url` weiter, mit deiner Sitzungs-ID angehängt:\n\n```text\nhttps://www.example.com/auth/?sessionid=7f3a9c21\n```\n\n**6.** Deine App [liest das Profil](../get-profile/):\n\n```http\nGET https://auth.example.com/sessions/?id=7f3a9c21\nx-token: YOUR_APP_TOKEN\n```\n\n## Zeitlimits\n\nDie Sitzung lebt 15 Minuten ab Schritt 1. In dieser Zeit muss die Person die Anmeldung abschließen und deine App das Profil lesen. Danach antworten `/login/.../` und `/sessions/` mit `404 Session not found`.\n\nSitzungen liegen im Arbeitsspeicher, ein Neustart von OpenAuth beendet sie also alle.\n\n## Ohne Rücksprungadresse\n\nWenn du `url` weglässt, zeigt Schritt 5 der Person eine Seite, die sagt, dass sie angemeldet ist und die Seite schließen kann. Deine App liest das Profil dann wie in Schritt 6 mit ihrer Sitzungs-ID. Siehe [Eine Anmeldung starten](../start-sign-in/).\n\n## Adressen\n\n| Adresse | Wer sie aufruft |\n|---|---|\n| `POST /` | Deine App, mit einem Token. |\n| `GET /login/{id}/` | Der Browser der Person. |\n| `GET /oauth/{serviceid}/` | Der Anbieter, über den Browser der Person. Registriere sie beim Anbieter. |\n| `GET /sessions/` | Deine App, mit einem Token. |\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:04.896Z"}
{"id":"JapjQQ2gl61f-es","url":"https://totaljs.es/docs/es/openauth/1-0/reference/how-sign-in-works/","project":"openauth","version":"1-0","section":"reference","language":"es","title":"Cómo funciona el inicio de sesión","summary":"El recorrido completo entre tu app, OpenAuth y el proveedor, paso a paso.","markdown":"---\ntitle: \"Cómo funciona el inicio de sesión\"\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/reference/how-sign-in-works/\nupdated: 2026-11-19T09:22:04.896Z\n---\n\n# Cómo funciona el inicio de sesión\n\n> El recorrido completo entre tu app, OpenAuth y el proveedor, paso a paso.\n\nTu app habla con OpenAuth por HTTP con un [token de app](../../guides/app-tokens/). El navegador del usuario va de tu app a OpenAuth, sigue hasta el proveedor y vuelve. En los ejemplos, OpenAuth funciona en `https://auth.example.com` y tu app en `https://www.example.com`.\n\n## Los pasos\n\n**1.** Tu app se inventa un ID de sesión (cualquier texto único, por ejemplo un UUID) y [empieza un inicio de sesión](../start-sign-in/):\n\n```http\nPOST https://auth.example.com/\nx-token: YOUR_APP_TOKEN\nContent-Type: application/json\n\n{\"serviceid\":\"facebook\",\"sessionid\":\"7f3a9c21\",\"url\":\"https://www.example.com/auth/\"}\n```\n\n**2.** OpenAuth responde con una dirección de inicio de sesión:\n\n```json\n\"https://auth.example.com/login/mwn8jzivbyr19ogt6g/\"\n```\n\n**3.** Tu app redirige el navegador del usuario a esa dirección. OpenAuth redirige el navegador a la página de inicio de sesión del proveedor.\n\n**4.** El usuario inicia sesión en el proveedor y permite el acceso. El proveedor devuelve el navegador al endpoint de retorno de OpenAuth, `https://auth.example.com/oauth/facebook/`.\n\n**5.** OpenAuth obtiene el perfil del proveedor y redirige el navegador a tu `url`, con tu ID de sesión añadido:\n\n```text\nhttps://www.example.com/auth/?sessionid=7f3a9c21\n```\n\n**6.** Tu app [lee el perfil](../get-profile/):\n\n```http\nGET https://auth.example.com/sessions/?id=7f3a9c21\nx-token: YOUR_APP_TOKEN\n```\n\n## Límites de tiempo\n\nLa sesión dura 15 minutos desde el paso 1. El usuario tiene que terminar de iniciar sesión, y tu app tiene que leer el perfil, dentro de ese tiempo. Después, `/login/.../` y `/sessions/` responden `404 Session not found`.\n\nLas sesiones se guardan en memoria, así que un reinicio de OpenAuth las termina todas.\n\n## Sin dirección de retorno\n\nSi no incluyes `url`, en el paso 5 el usuario ve una página que le dice que ha iniciado sesión y que puede cerrarla. Tu app lee después el perfil con su ID de sesión, como en el paso 6. Consulta [Empieza un inicio de sesión](../start-sign-in/).\n\n## Direcciones\n\n| Dirección | Quién la llama |\n|---|---|\n| `POST /` | Tu app, con un token. |\n| `GET /login/{id}/` | El navegador del usuario. |\n| `GET /oauth/{serviceid}/` | El proveedor, a través del navegador del usuario. Regístrala en el proveedor. |\n| `GET /sessions/` | Tu app, con un token. |\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:04.896Z"}
{"id":"JapjQQ2gl61f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/reference/how-sign-in-works/","project":"openauth","version":"1-0","section":"reference","language":"fr","title":"Comment fonctionne la connexion","summary":"L’aller-retour complet entre ton application, OpenAuth et le fournisseur, étape par étape.","markdown":"---\ntitle: Comment fonctionne la connexion\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/reference/how-sign-in-works/\nupdated: 2026-11-19T09:22:04.896Z\n---\n\n# Comment fonctionne la connexion\n\n> L’aller-retour complet entre ton application, OpenAuth et le fournisseur, étape par étape.\n\nTon application parle à OpenAuth en HTTP avec un [jeton d’application](../../guides/app-tokens/). Le navigateur de l’utilisateur va de ton application à OpenAuth, puis au fournisseur, et revient. Dans les exemples, OpenAuth tourne à `https://auth.example.com` et ton application à `https://www.example.com`.\n\n## Les étapes\n\n**1.** Ton application crée un identifiant de session (n’importe quel texte unique, par exemple un UUID) et [lance une connexion](../start-sign-in/) :\n\n```http\nPOST https://auth.example.com/\nx-token: YOUR_APP_TOKEN\nContent-Type: application/json\n\n{\"serviceid\":\"facebook\",\"sessionid\":\"7f3a9c21\",\"url\":\"https://www.example.com/auth/\"}\n```\n\n**2.** OpenAuth répond avec une adresse de connexion :\n\n```json\n\"https://auth.example.com/login/mwn8jzivbyr19ogt6g/\"\n```\n\n**3.** Ton application redirige le navigateur de l’utilisateur vers cette adresse. OpenAuth redirige ensuite le navigateur vers la page de connexion du fournisseur.\n\n**4.** L’utilisateur se connecte chez le fournisseur et autorise l’accès. Le fournisseur renvoie le navigateur vers le point de retour (callback) d’OpenAuth, `https://auth.example.com/oauth/facebook/`.\n\n**5.** OpenAuth récupère le profil auprès du fournisseur et redirige le navigateur vers ton `url`, en y ajoutant ton identifiant de session :\n\n```text\nhttps://www.example.com/auth/?sessionid=7f3a9c21\n```\n\n**6.** Ton application [lit le profil](../get-profile/) :\n\n```http\nGET https://auth.example.com/sessions/?id=7f3a9c21\nx-token: YOUR_APP_TOKEN\n```\n\n## Délais\n\nLa session vit 15 minutes à partir de l’étape 1. L’utilisateur doit finir de se connecter, et ton application doit lire le profil, dans ce délai. Ensuite, `/login/.../` et `/sessions/` répondent `404 Session not found`.\n\nLes sessions sont gardées en mémoire : un redémarrage d’OpenAuth les termine toutes.\n\n## Sans adresse de retour\n\nSi tu omets `url`, l’étape 5 montre à l’utilisateur une page qui lui indique qu’il est connecté et qu’il peut la fermer. Ton application lit ensuite le profil avec son identifiant de session, comme à l’étape 6. Consulte [Lancer une connexion](../start-sign-in/).\n\n## Adresses\n\n| Adresse | Qui l’appelle |\n|---|---|\n| `POST /` | Ton application, avec un jeton. |\n| `GET /login/{id}/` | Le navigateur de l’utilisateur. |\n| `GET /oauth/{serviceid}/` | Le fournisseur, via le navigateur de l’utilisateur. Enregistre-la chez le fournisseur. |\n| `GET /sessions/` | Ton application, avec un jeton. |\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:04.896Z"}
{"id":"JapjQQ2gl61f-it","url":"https://totaljs.es/docs/it/openauth/1-0/reference/how-sign-in-works/","project":"openauth","version":"1-0","section":"reference","language":"it","title":"Come funziona l'accesso","summary":"Il giro completo tra la tua app, OpenAuth e il provider, passo dopo passo.","markdown":"---\ntitle: \"Come funziona l'accesso\"\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/reference/how-sign-in-works/\nupdated: 2026-11-19T09:22:04.896Z\n---\n\n# Come funziona l'accesso\n\n> Il giro completo tra la tua app, OpenAuth e il provider, passo dopo passo.\n\nLa tua app parla con OpenAuth via HTTP con un [token dell'app](../../guides/app-tokens/). Il browser dell'utente va dalla tua app a OpenAuth, poi al provider, e torna indietro. Negli esempi, OpenAuth gira su `https://auth.example.com` e la tua app su `https://www.example.com`.\n\n## I passaggi\n\n**1.** La tua app crea un ID di sessione (un qualsiasi testo univoco, per esempio un UUID) e [avvia un accesso](../start-sign-in/):\n\n```http\nPOST https://auth.example.com/\nx-token: YOUR_APP_TOKEN\nContent-Type: application/json\n\n{\"serviceid\":\"facebook\",\"sessionid\":\"7f3a9c21\",\"url\":\"https://www.example.com/auth/\"}\n```\n\n**2.** OpenAuth risponde con un indirizzo di accesso:\n\n```json\n\"https://auth.example.com/login/mwn8jzivbyr19ogt6g/\"\n```\n\n**3.** La tua app reindirizza il browser dell'utente a quell'indirizzo. OpenAuth reindirizza a sua volta il browser alla pagina di accesso del provider.\n\n**4.** L'utente accede presso il provider e consente l'accesso. Il provider rimanda il browser all'endpoint di callback di OpenAuth, `https://auth.example.com/oauth/facebook/`.\n\n**5.** OpenAuth riceve il profilo dal provider e reindirizza il browser al tuo `url`, con il tuo ID di sessione aggiunto:\n\n```text\nhttps://www.example.com/auth/?sessionid=7f3a9c21\n```\n\n**6.** La tua app [legge il profilo](../get-profile/):\n\n```http\nGET https://auth.example.com/sessions/?id=7f3a9c21\nx-token: YOUR_APP_TOKEN\n```\n\n## Limiti di tempo\n\nLa sessione dura 15 minuti dal passaggio 1. Entro quel tempo l'utente deve finire di accedere e la tua app deve leggere il profilo. Dopo, `/login/.../` e `/sessions/` rispondono `404 Session not found`.\n\nLe sessioni stanno in memoria, quindi un riavvio di OpenAuth le chiude tutte.\n\n## Senza un indirizzo di ritorno\n\nSe non metti `url`, al passaggio 5 l'utente vede una pagina che dice che ha effettuato l'accesso e che può chiuderla. La tua app legge poi il profilo con il suo ID di sessione come al passaggio 6. Leggi [Avviare un accesso](../start-sign-in/).\n\n## Indirizzi\n\n| Indirizzo | Chi lo chiama |\n|---|---|\n| `POST /` | La tua app, con un token. |\n| `GET /login/{id}/` | Il browser dell'utente. |\n| `GET /oauth/{serviceid}/` | Il provider, tramite il browser dell'utente. Registralo presso il provider. |\n| `GET /sessions/` | La tua app, con un token. |\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:04.896Z"}
{"id":"JapjQQ2gl61f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/reference/how-sign-in-works/","project":"openauth","version":"1-0","section":"reference","language":"sk","title":"Ako funguje prihlásenie","summary":"Celá cesta medzi tvojou aplikáciou, OpenAuth a poskytovateľom, krok za krokom.","markdown":"---\ntitle: \"Ako funguje prihlásenie\"\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/reference/how-sign-in-works/\nupdated: 2026-11-19T09:22:04.896Z\n---\n\n# Ako funguje prihlásenie\n\n> Celá cesta medzi tvojou aplikáciou, OpenAuth a poskytovateľom, krok za krokom.\n\nTvoja aplikácia komunikuje s OpenAuth cez HTTP pomocou [tokenu aplikácie](../../guides/app-tokens/). Prehliadač používateľa ide z tvojej aplikácie do OpenAuth, ďalej k poskytovateľovi a späť. V príkladoch OpenAuth beží na `https://auth.example.com` a tvoja aplikácia na `https://www.example.com`.\n\n## Kroky\n\n**1.** Tvoja aplikácia si vymyslí ID relácie (akýkoľvek jedinečný text, napríklad UUID) a [spustí prihlásenie](../start-sign-in/):\n\n```http\nPOST https://auth.example.com/\nx-token: YOUR_APP_TOKEN\nContent-Type: application/json\n\n{\"serviceid\":\"facebook\",\"sessionid\":\"7f3a9c21\",\"url\":\"https://www.example.com/auth/\"}\n```\n\n**2.** OpenAuth odpovie adresou na prihlásenie:\n\n```json\n\"https://auth.example.com/login/mwn8jzivbyr19ogt6g/\"\n```\n\n**3.** Tvoja aplikácia presmeruje prehliadač používateľa na túto adresu. OpenAuth presmeruje prehliadač ďalej na prihlasovaciu stránku poskytovateľa.\n\n**4.** Používateľ sa prihlási u poskytovateľa a povolí prístup. Poskytovateľ pošle prehliadač späť na adresu spätného volania OpenAuth, `https://auth.example.com/oauth/facebook/`.\n\n**5.** OpenAuth získa profil od poskytovateľa a presmeruje prehliadač na tvoju `url` s pridaným ID tvojej relácie:\n\n```text\nhttps://www.example.com/auth/?sessionid=7f3a9c21\n```\n\n**6.** Tvoja aplikácia [prečíta profil](../get-profile/):\n\n```http\nGET https://auth.example.com/sessions/?id=7f3a9c21\nx-token: YOUR_APP_TOKEN\n```\n\n## Časové limity\n\nRelácia žije 15 minút od kroku 1. V tomto čase sa musí používateľ prihlásiť a tvoja aplikácia musí prečítať profil. Potom `/login/.../` a `/sessions/` odpovedajú `404 Session not found`.\n\nRelácie sa uchovávajú v pamäti, takže reštart OpenAuth ich všetky ukončí.\n\n## Bez návratovej adresy\n\nAk vynecháš `url`, v kroku 5 sa používateľovi ukáže stránka s oznámením, že je prihlásený a môže ju zavrieť. Tvoja aplikácia potom prečíta profil so svojím ID relácie ako v kroku 6. Pozri si [Spustenie prihlásenia](../start-sign-in/).\n\n## Adresy\n\n| Adresa | Kto ju volá |\n|---|---|\n| `POST /` | Tvoja aplikácia, s tokenom. |\n| `GET /login/{id}/` | Prehliadač používateľa. |\n| `GET /oauth/{serviceid}/` | Poskytovateľ, cez prehliadač používateľa. Zaregistruj ju u poskytovateľa. |\n| `GET /sessions/` | Tvoja aplikácia, s tokenom. |\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:04.896Z"}
{"id":"JapjQT2jl60f","url":"https://totaljs.es/docs/openauth/1-0/reference/start-sign-in/","project":"openauth","version":"1-0","section":"reference","language":"en","title":"Start a sign-in","summary":"POST / creates a sign-in session and returns the address to send the user to.","markdown":"---\ntitle: Start a sign-in\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/reference/start-sign-in/\nupdated: 2026-11-19T09:22:05.212Z\n---\n\n# Start a sign-in\n\n> POST / creates a sign-in session and returns the address to send the user to.\n\n```http\nPOST /\nx-token: YOUR_APP_TOKEN\nContent-Type: application/json\n```\n\n## Token\n\nSend an [app token](../../guides/app-tokens/) in the `x-token` header, or as the `token` query argument (`POST /?token=YOUR_APP_TOKEN`). The header keeps the token out of server logs.\n\n## Body\n\n| Field | Required | Meaning |\n|---|---|---|\n| `serviceid` | yes | The ID of the [extension](../../guides/extensions/), for example `facebook`. |\n| `sessionid` | yes | Your own ID for this sign-in. OpenAuth returns it to you and you use it to read the profile. Make it unique and hard to guess, for example a UUID. |\n| `url` | no | Where OpenAuth sends the user after signing in. OpenAuth adds `sessionid` to it: `?sessionid=...`, or `&sessionid=...` when the address already has a query. |\n\n## Answer\n\n`200` with the sign-in address as a JSON string:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" -H \"Content-Type: application/json\" \\\n  -d '{\"serviceid\":\"facebook\",\"sessionid\":\"7f3a9c21\",\"url\":\"https://www.example.com/auth/\"}' \\\n  https://auth.example.com/\n```\n\n```json\n\"https://auth.example.com/login/mwn8jzivbyr19ogt6g/\"\n```\n\nRedirect the user's browser to that address within 15 minutes.\n\n## When the user comes back\n\n- With `url`: the browser arrives at `https://www.example.com/auth/?sessionid=7f3a9c21`. Check that the session ID is one your app started for this browser (for example, keep it in a cookie), then [read the profile](../get-profile/).\n- Without `url`: the user sees this page, which also tries to close itself after a moment. Use it when you open the sign-in in a popup window. Your app then reads the profile with its session ID.\n\n![The page that says You have logged in successfully and Close this page](/files/JapjQS2il61f.webp)\n\n## Errors\n\n| Status | Answer | Why |\n|---|---|---|\n| `400` | `[{\"name\":\"serviceid\",\"error\":\"The field \\\"serviceid\\\" is invalid\",...}]` | `serviceid` or `sessionid` is missing. |\n| `400` | `[{\"error\":\"Service not found\"}]` | No extension has that ID. |\n| `401` | An HTML error page | The token is wrong or missing. |\n\nSee [Errors](../errors/) for the other addresses.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:05.212Z"}
{"id":"JapjQT2jl60f-de","url":"https://totaljs.es/docs/de/openauth/1-0/reference/start-sign-in/","project":"openauth","version":"1-0","section":"reference","language":"de","title":"Eine Anmeldung starten","summary":"POST / legt eine Anmeldesitzung an und gibt die Adresse zurück, an die du die Person schickst.","markdown":"---\ntitle: Eine Anmeldung starten\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/reference/start-sign-in/\nupdated: 2026-11-19T09:22:05.212Z\n---\n\n# Eine Anmeldung starten\n\n> POST / legt eine Anmeldesitzung an und gibt die Adresse zurück, an die du die Person schickst.\n\n```http\nPOST /\nx-token: YOUR_APP_TOKEN\nContent-Type: application/json\n```\n\n## Token\n\nSende ein [App-Token](../../guides/app-tokens/) im Header `x-token` oder als Query-Argument `token` (`POST /?token=YOUR_APP_TOKEN`). Mit dem Header bleibt das Token aus den Server-Logs heraus.\n\n## Body\n\n| Feld | Pflicht | Bedeutung |\n|---|---|---|\n| `serviceid` | ja | Die ID der [Erweiterung](../../guides/extensions/), zum Beispiel `facebook`. |\n| `sessionid` | ja | Deine eigene ID für diese Anmeldung. OpenAuth gibt sie dir zurück, und du liest damit das Profil. Mach sie eindeutig und schwer zu erraten, zum Beispiel eine UUID. |\n| `url` | nein | Wohin OpenAuth die Person nach der Anmeldung schickt. OpenAuth hängt `sessionid` an: `?sessionid=...`, oder `&sessionid=...`, wenn die Adresse schon eine Query hat. |\n\n## Antwort\n\n`200` mit der Anmeldeadresse als JSON-String:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" -H \"Content-Type: application/json\" \\\n  -d '{\"serviceid\":\"facebook\",\"sessionid\":\"7f3a9c21\",\"url\":\"https://www.example.com/auth/\"}' \\\n  https://auth.example.com/\n```\n\n```json\n\"https://auth.example.com/login/mwn8jzivbyr19ogt6g/\"\n```\n\nLeite den Browser der Person innerhalb von 15 Minuten an diese Adresse weiter.\n\n## Wenn die Person zurückkommt\n\n- Mit `url`: Der Browser landet auf `https://www.example.com/auth/?sessionid=7f3a9c21`. Prüf, ob die Sitzungs-ID eine ist, die deine App für diesen Browser gestartet hat (bewahre sie zum Beispiel in einem Cookie auf), und [lies dann das Profil](../get-profile/).\n- Ohne `url`: Die Person sieht diese Seite, die nach einem Moment auch versucht, sich selbst zu schließen. Nutze das, wenn du die Anmeldung in einem Popup-Fenster öffnest. Deine App liest das Profil dann mit ihrer Sitzungs-ID.\n\n![Die Seite mit You have logged in successfully und Close this page](/files/JapjQS2il61f.webp)\n\n## Fehler\n\n| Status | Antwort | Warum |\n|---|---|---|\n| `400` | `[{\"name\":\"serviceid\",\"error\":\"The field \\\"serviceid\\\" is invalid\",...}]` | `serviceid` oder `sessionid` fehlt. |\n| `400` | `[{\"error\":\"Service not found\"}]` | Keine Erweiterung hat diese ID. |\n| `401` | Eine HTML-Fehlerseite | Das Token ist falsch oder fehlt. |\n\nSiehe [Fehler](../errors/) für die anderen Adressen.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:05.212Z"}
{"id":"JapjQT2jl60f-es","url":"https://totaljs.es/docs/es/openauth/1-0/reference/start-sign-in/","project":"openauth","version":"1-0","section":"reference","language":"es","title":"Empieza un inicio de sesión","summary":"POST / crea una sesión de inicio de sesión y devuelve la dirección a la que enviar al usuario.","markdown":"---\ntitle: \"Empieza un inicio de sesión\"\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/reference/start-sign-in/\nupdated: 2026-11-19T09:22:05.212Z\n---\n\n# Empieza un inicio de sesión\n\n> POST / crea una sesión de inicio de sesión y devuelve la dirección a la que enviar al usuario.\n\n```http\nPOST /\nx-token: YOUR_APP_TOKEN\nContent-Type: application/json\n```\n\n## Token\n\nEnvía un [token de app](../../guides/app-tokens/) en la cabecera `x-token` o como argumento de consulta `token` (`POST /?token=YOUR_APP_TOKEN`). Con la cabecera, el token no aparece en los registros del servidor.\n\n## Cuerpo\n\n| Campo | Obligatorio | Significado |\n|---|---|---|\n| `serviceid` | sí | El ID de la [extensión](../../guides/extensions/), por ejemplo `facebook`. |\n| `sessionid` | sí | Tu propio ID para este inicio de sesión. OpenAuth te lo devuelve y lo usas para leer el perfil. Hazlo único y difícil de adivinar, por ejemplo un UUID. |\n| `url` | no | Adónde envía OpenAuth al usuario después de iniciar sesión. OpenAuth le añade `sessionid`: `?sessionid=...`, o `&sessionid=...` si la dirección ya tiene una consulta. |\n\n## Respuesta\n\n`200` con la dirección de inicio de sesión como cadena JSON:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" -H \"Content-Type: application/json\" \\\n  -d '{\"serviceid\":\"facebook\",\"sessionid\":\"7f3a9c21\",\"url\":\"https://www.example.com/auth/\"}' \\\n  https://auth.example.com/\n```\n\n```json\n\"https://auth.example.com/login/mwn8jzivbyr19ogt6g/\"\n```\n\nRedirige el navegador del usuario a esa dirección antes de que pasen 15 minutos.\n\n## Cuando el usuario vuelve\n\n- Con `url`: el navegador llega a `https://www.example.com/auth/?sessionid=7f3a9c21`. Comprueba que el ID de sesión es uno que tu app empezó para este navegador (por ejemplo, guárdalo en una cookie) y luego [lee el perfil](../get-profile/).\n- Sin `url`: el usuario ve esta página, que además intenta cerrarse sola al cabo de un momento. Úsala cuando abras el inicio de sesión en una ventana emergente. Tu app lee después el perfil con su ID de sesión.\n\n![La página que dice You have logged in successfully y Close this page](/files/JapjQS2il61f.webp)\n\n## Errores\n\n| Estado | Respuesta | Por qué |\n|---|---|---|\n| `400` | `[{\"name\":\"serviceid\",\"error\":\"The field \\\"serviceid\\\" is invalid\",...}]` | Falta `serviceid` o `sessionid`. |\n| `400` | `[{\"error\":\"Service not found\"}]` | Ninguna extensión tiene ese ID. |\n| `401` | Una página de error HTML | El token es incorrecto o falta. |\n\nConsulta [Errores](../errors/) para las demás direcciones.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:05.212Z"}
{"id":"JapjQT2jl60f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/reference/start-sign-in/","project":"openauth","version":"1-0","section":"reference","language":"fr","title":"Lancer une connexion","summary":"POST / crée une session de connexion et renvoie l’adresse vers laquelle envoyer l’utilisateur.","markdown":"---\ntitle: Lancer une connexion\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/reference/start-sign-in/\nupdated: 2026-11-19T09:22:05.212Z\n---\n\n# Lancer une connexion\n\n> POST / crée une session de connexion et renvoie l’adresse vers laquelle envoyer l’utilisateur.\n\n```http\nPOST /\nx-token: YOUR_APP_TOKEN\nContent-Type: application/json\n```\n\n## Jeton\n\nEnvoie un [jeton d’application](../../guides/app-tokens/) dans l’en-tête `x-token`, ou comme argument de requête `token` (`POST /?token=YOUR_APP_TOKEN`). L’en-tête évite que le jeton apparaisse dans les journaux du serveur.\n\n## Corps\n\n| Champ | Obligatoire | Signification |\n|---|---|---|\n| `serviceid` | oui | L’identifiant de l’[extension](../../guides/extensions/), par exemple `facebook`. |\n| `sessionid` | oui | Ton propre identifiant pour cette connexion. OpenAuth te le renvoie et tu l’utilises pour lire le profil. Rends-le unique et difficile à deviner, par exemple un UUID. |\n| `url` | non | L’adresse où OpenAuth envoie l’utilisateur après la connexion. OpenAuth y ajoute `sessionid` : `?sessionid=...`, ou `&sessionid=...` quand l’adresse a déjà une requête. |\n\n## Réponse\n\n`200` avec l’adresse de connexion sous forme de chaîne JSON :\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" -H \"Content-Type: application/json\" \\\n  -d '{\"serviceid\":\"facebook\",\"sessionid\":\"7f3a9c21\",\"url\":\"https://www.example.com/auth/\"}' \\\n  https://auth.example.com/\n```\n\n```json\n\"https://auth.example.com/login/mwn8jzivbyr19ogt6g/\"\n```\n\nRedirige le navigateur de l’utilisateur vers cette adresse dans les 15 minutes.\n\n## Quand l’utilisateur revient\n\n- Avec `url` : le navigateur arrive à `https://www.example.com/auth/?sessionid=7f3a9c21`. Vérifie que l’identifiant de session est bien un de ceux que ton application a lancés pour ce navigateur (par exemple en le gardant dans un cookie), puis [lis le profil](../get-profile/).\n- Sans `url` : l’utilisateur voit cette page, qui essaie aussi de se fermer toute seule après un instant. Utilise cette option quand tu ouvres la connexion dans une fenêtre pop-up. Ton application lit ensuite le profil avec son identifiant de session.\n\n![La page qui affiche You have logged in successfully et Close this page](/files/JapjQS2il61f.webp)\n\n## Erreurs\n\n| Statut | Réponse | Pourquoi |\n|---|---|---|\n| `400` | `[{\"name\":\"serviceid\",\"error\":\"The field \\\"serviceid\\\" is invalid\",...}]` | `serviceid` ou `sessionid` manque. |\n| `400` | `[{\"error\":\"Service not found\"}]` | Aucune extension n’a cet identifiant. |\n| `401` | Une page d’erreur HTML | Le jeton est faux ou absent. |\n\nConsulte [Erreurs](../errors/) pour les autres adresses.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:05.212Z"}
{"id":"JapjQT2jl60f-it","url":"https://totaljs.es/docs/it/openauth/1-0/reference/start-sign-in/","project":"openauth","version":"1-0","section":"reference","language":"it","title":"Avviare un accesso","summary":"POST / crea una sessione di accesso e restituisce l'indirizzo a cui mandare l'utente.","markdown":"---\ntitle: Avviare un accesso\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/reference/start-sign-in/\nupdated: 2026-11-19T09:22:05.212Z\n---\n\n# Avviare un accesso\n\n> POST / crea una sessione di accesso e restituisce l'indirizzo a cui mandare l'utente.\n\n```http\nPOST /\nx-token: YOUR_APP_TOKEN\nContent-Type: application/json\n```\n\n## Token\n\nInvia un [token dell'app](../../guides/app-tokens/) nell'header `x-token`, oppure come argomento di query `token` (`POST /?token=YOUR_APP_TOKEN`). Con l'header il token resta fuori dai log del server.\n\n## Corpo\n\n| Campo | Obbligatorio | Significato |\n|---|---|---|\n| `serviceid` | sì | L'ID dell'[estensione](../../guides/extensions/), per esempio `facebook`. |\n| `sessionid` | sì | Il tuo ID per questo accesso. OpenAuth te lo restituisce e tu lo usi per leggere il profilo. Rendilo univoco e difficile da indovinare, per esempio un UUID. |\n| `url` | no | Dove OpenAuth manda l'utente dopo l'accesso. OpenAuth ci aggiunge `sessionid`: `?sessionid=...`, oppure `&sessionid=...` quando l'indirizzo ha già una query. |\n\n## Risposta\n\n`200` con l'indirizzo di accesso come stringa JSON:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" -H \"Content-Type: application/json\" \\\n  -d '{\"serviceid\":\"facebook\",\"sessionid\":\"7f3a9c21\",\"url\":\"https://www.example.com/auth/\"}' \\\n  https://auth.example.com/\n```\n\n```json\n\"https://auth.example.com/login/mwn8jzivbyr19ogt6g/\"\n```\n\nReindirizza il browser dell'utente a quell'indirizzo entro 15 minuti.\n\n## Quando l'utente torna\n\n- Con `url`: il browser arriva su `https://www.example.com/auth/?sessionid=7f3a9c21`. Controlla che l'ID di sessione sia uno che la tua app ha avviato per questo browser (per esempio, tienilo in un cookie), poi [leggi il profilo](../get-profile/).\n- Senza `url`: l'utente vede questa pagina, che dopo un momento prova anche a chiudersi da sola. Usala quando apri l'accesso in una finestra popup. La tua app legge poi il profilo con il suo ID di sessione.\n\n![La pagina che dice You have logged in successfully e Close this page](/files/JapjQS2il61f.webp)\n\n## Errori\n\n| Stato | Risposta | Perché |\n|---|---|---|\n| `400` | `[{\"name\":\"serviceid\",\"error\":\"The field \\\"serviceid\\\" is invalid\",...}]` | Manca `serviceid` o `sessionid`. |\n| `400` | `[{\"error\":\"Service not found\"}]` | Nessuna estensione ha quell'ID. |\n| `401` | Una pagina di errore HTML | Il token è sbagliato o manca. |\n\nLeggi [Errori](../errors/) per gli altri indirizzi.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:05.212Z"}
{"id":"JapjQT2jl60f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/reference/start-sign-in/","project":"openauth","version":"1-0","section":"reference","language":"sk","title":"Spustenie prihlásenia","summary":"POST / vytvorí reláciu prihlásenia a vráti adresu, na ktorú pošleš používateľa.","markdown":"---\ntitle: \"Spustenie prihlásenia\"\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/reference/start-sign-in/\nupdated: 2026-11-19T09:22:05.212Z\n---\n\n# Spustenie prihlásenia\n\n> POST / vytvorí reláciu prihlásenia a vráti adresu, na ktorú pošleš používateľa.\n\n```http\nPOST /\nx-token: YOUR_APP_TOKEN\nContent-Type: application/json\n```\n\n## Token\n\nPošli [token aplikácie](../../guides/app-tokens/) v hlavičke `x-token` alebo ako argument dotazu `token` (`POST /?token=YOUR_APP_TOKEN`). Hlavička udrží token mimo logov servera.\n\n## Telo požiadavky\n\n| Pole | Povinné | Význam |\n|---|---|---|\n| `serviceid` | áno | ID [rozšírenia](../../guides/extensions/), napríklad `facebook`. |\n| `sessionid` | áno | Tvoje vlastné ID pre toto prihlásenie. OpenAuth ti ho vráti a ty ním prečítaš profil. Nech je jedinečné a ťažko uhádnuteľné, napríklad UUID. |\n| `url` | nie | Kam OpenAuth pošle používateľa po prihlásení. OpenAuth k nej pridá `sessionid`: `?sessionid=...`, alebo `&sessionid=...`, keď adresa už má dotaz. |\n\n## Odpoveď\n\n`200` s adresou na prihlásenie ako reťazcom JSON:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" -H \"Content-Type: application/json\" \\\n  -d '{\"serviceid\":\"facebook\",\"sessionid\":\"7f3a9c21\",\"url\":\"https://www.example.com/auth/\"}' \\\n  https://auth.example.com/\n```\n\n```json\n\"https://auth.example.com/login/mwn8jzivbyr19ogt6g/\"\n```\n\nPresmeruj prehliadač používateľa na túto adresu do 15 minút.\n\n## Keď sa používateľ vráti\n\n- S `url`: prehliadač príde na `https://www.example.com/auth/?sessionid=7f3a9c21`. Skontroluj, že ID relácie je jedno z tých, ktoré tvoja aplikácia spustila pre tento prehliadač (napríklad ho uchovaj v cookie), a potom [prečítaj profil](../get-profile/).\n- Bez `url`: používateľ uvidí túto stránku, ktorá sa po chvíli aj pokúsi sama zavrieť. Použi to, keď otváraš prihlásenie vo vyskakovacom okne. Tvoja aplikácia potom prečíta profil so svojím ID relácie.\n\n![Stránka s textom You have logged in successfully a Close this page](/files/JapjQS2il61f.webp)\n\n## Chyby\n\n| Stav | Odpoveď | Prečo |\n|---|---|---|\n| `400` | `[{\"name\":\"serviceid\",\"error\":\"The field \\\"serviceid\\\" is invalid\",...}]` | Chýba `serviceid` alebo `sessionid`. |\n| `400` | `[{\"error\":\"Service not found\"}]` | Žiadne rozšírenie nemá toto ID. |\n| `401` | Chybová stránka HTML | Token je nesprávny alebo chýba. |\n\nOstatné adresy nájdeš v [Chybách](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:05.212Z"}
{"id":"JapjQP2el61f","url":"https://totaljs.es/docs/openauth/1-0/reference/get-profile/","project":"openauth","version":"1-0","section":"reference","language":"en","title":"Get the profile","summary":"GET /sessions/ returns the profile of a finished sign-in.","markdown":"---\ntitle: Get the profile\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/reference/get-profile/\nupdated: 2026-11-19T09:22:04.896Z\n---\n\n# Get the profile\n\n> GET /sessions/ returns the profile of a finished sign-in.\n\n```http\nGET /sessions/?id=SESSION_ID\nx-token: YOUR_APP_TOKEN\n```\n\n## One profile\n\nPass your session ID as `id` (or `sessionid`). Send the [app token](../../guides/app-tokens/) in the `x-token` header or as the `token` query argument.\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/?id=7f3a9c21\"\n```\n\n```json\n{\"id\":\"1001\",\"name\":\"Jane Doe\",\"firstname\":\"Jane\",\"lastname\":\"Doe\",\"email\":\"jane@example.com\",\"photo\":\"\",\"access_token\":\"...\",\"expire\":\"2026-11-19T08:30:37.743Z\",\"response\":{\"id\":\"1001\",\"name\":\"Jane Doe\"},\"sessionid\":\"7f3a9c21\",\"serviceid\":\"facebook\"}\n```\n\nThe fields are described in [The user profile](../user-profile/).\n\nIf the user has not finished signing in, the session has expired, or the ID is unknown, OpenAuth answers:\n\n```json\n[{\"error\":\"Session not found\"}]\n```\n\nwith status `404`.\n\nYou can read the same profile again until the session expires, 15 minutes after the sign-in started. Save what you need in your own database.\n\n## All finished sign-ins\n\nWithout `id`, OpenAuth returns an array with the profiles of all finished sign-ins that have not expired yet:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/\"\n```\n\n```json\n[{\"id\":\"1001\",\"name\":\"Jane Doe\",...,\"sessionid\":\"7f3a9c21\",\"serviceid\":\"facebook\"}]\n```\n\nSign-ins still in progress are not in the list.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:04.896Z"}
{"id":"JapjQP2el61f-de","url":"https://totaljs.es/docs/de/openauth/1-0/reference/get-profile/","project":"openauth","version":"1-0","section":"reference","language":"de","title":"Das Profil abrufen","summary":"GET /sessions/ gibt das Profil einer abgeschlossenen Anmeldung zurück.","markdown":"---\ntitle: Das Profil abrufen\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/reference/get-profile/\nupdated: 2026-11-19T09:22:04.896Z\n---\n\n# Das Profil abrufen\n\n> GET /sessions/ gibt das Profil einer abgeschlossenen Anmeldung zurück.\n\n```http\nGET /sessions/?id=SESSION_ID\nx-token: YOUR_APP_TOKEN\n```\n\n## Ein Profil\n\nGib deine Sitzungs-ID als `id` (oder `sessionid`) mit. Sende das [App-Token](../../guides/app-tokens/) im Header `x-token` oder als Query-Argument `token`.\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/?id=7f3a9c21\"\n```\n\n```json\n{\"id\":\"1001\",\"name\":\"Jane Doe\",\"firstname\":\"Jane\",\"lastname\":\"Doe\",\"email\":\"jane@example.com\",\"photo\":\"\",\"access_token\":\"...\",\"expire\":\"2026-11-19T08:30:37.743Z\",\"response\":{\"id\":\"1001\",\"name\":\"Jane Doe\"},\"sessionid\":\"7f3a9c21\",\"serviceid\":\"facebook\"}\n```\n\nDie Felder sind unter [Das Benutzerprofil](../user-profile/) beschrieben.\n\nHat die Person die Anmeldung noch nicht abgeschlossen, ist die Sitzung abgelaufen oder ist die ID unbekannt, antwortet OpenAuth:\n\n```json\n[{\"error\":\"Session not found\"}]\n```\n\nmit dem Status `404`.\n\nDu kannst dasselbe Profil erneut lesen, bis die Sitzung abläuft, 15 Minuten nach dem Start der Anmeldung. Speichere, was du brauchst, in deiner eigenen Datenbank.\n\n## Alle abgeschlossenen Anmeldungen\n\nOhne `id` gibt OpenAuth ein Array mit den Profilen aller abgeschlossenen Anmeldungen zurück, die noch nicht abgelaufen sind:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/\"\n```\n\n```json\n[{\"id\":\"1001\",\"name\":\"Jane Doe\",...,\"sessionid\":\"7f3a9c21\",\"serviceid\":\"facebook\"}]\n```\n\nLaufende Anmeldungen stehen nicht in der Liste.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:04.896Z"}
{"id":"JapjQP2el61f-es","url":"https://totaljs.es/docs/es/openauth/1-0/reference/get-profile/","project":"openauth","version":"1-0","section":"reference","language":"es","title":"Lee el perfil","summary":"GET /sessions/ devuelve el perfil de un inicio de sesión terminado.","markdown":"---\ntitle: Lee el perfil\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/reference/get-profile/\nupdated: 2026-11-19T09:22:04.896Z\n---\n\n# Lee el perfil\n\n> GET /sessions/ devuelve el perfil de un inicio de sesión terminado.\n\n```http\nGET /sessions/?id=SESSION_ID\nx-token: YOUR_APP_TOKEN\n```\n\n## Un perfil\n\nPasa tu ID de sesión como `id` (o `sessionid`). Envía el [token de app](../../guides/app-tokens/) en la cabecera `x-token` o como argumento de consulta `token`.\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/?id=7f3a9c21\"\n```\n\n```json\n{\"id\":\"1001\",\"name\":\"Jane Doe\",\"firstname\":\"Jane\",\"lastname\":\"Doe\",\"email\":\"jane@example.com\",\"photo\":\"\",\"access_token\":\"...\",\"expire\":\"2026-11-19T08:30:37.743Z\",\"response\":{\"id\":\"1001\",\"name\":\"Jane Doe\"},\"sessionid\":\"7f3a9c21\",\"serviceid\":\"facebook\"}\n```\n\nLos campos se describen en [El perfil del usuario](../user-profile/).\n\nSi el usuario no ha terminado de iniciar sesión, la sesión ha caducado o el ID es desconocido, OpenAuth responde:\n\n```json\n[{\"error\":\"Session not found\"}]\n```\n\ncon el estado `404`.\n\nPuedes volver a leer el mismo perfil hasta que caduque la sesión, 15 minutos después de que empezara el inicio de sesión. Guarda lo que necesites en tu propia base de datos.\n\n## Todos los inicios de sesión terminados\n\nSin `id`, OpenAuth devuelve un array con los perfiles de todos los inicios de sesión terminados que aún no han caducado:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/\"\n```\n\n```json\n[{\"id\":\"1001\",\"name\":\"Jane Doe\",...,\"sessionid\":\"7f3a9c21\",\"serviceid\":\"facebook\"}]\n```\n\nLos inicios de sesión que siguen en curso no aparecen en la lista.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:04.896Z"}
{"id":"JapjQP2el61f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/reference/get-profile/","project":"openauth","version":"1-0","section":"reference","language":"fr","title":"Lire le profil","summary":"GET /sessions/ renvoie le profil d’une connexion terminée.","markdown":"---\ntitle: Lire le profil\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/reference/get-profile/\nupdated: 2026-11-19T09:22:04.896Z\n---\n\n# Lire le profil\n\n> GET /sessions/ renvoie le profil d’une connexion terminée.\n\n```http\nGET /sessions/?id=SESSION_ID\nx-token: YOUR_APP_TOKEN\n```\n\n## Un profil\n\nPasse ton identifiant de session dans `id` (ou `sessionid`). Envoie le [jeton d’application](../../guides/app-tokens/) dans l’en-tête `x-token` ou comme argument de requête `token`.\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/?id=7f3a9c21\"\n```\n\n```json\n{\"id\":\"1001\",\"name\":\"Jane Doe\",\"firstname\":\"Jane\",\"lastname\":\"Doe\",\"email\":\"jane@example.com\",\"photo\":\"\",\"access_token\":\"...\",\"expire\":\"2026-11-19T08:30:37.743Z\",\"response\":{\"id\":\"1001\",\"name\":\"Jane Doe\"},\"sessionid\":\"7f3a9c21\",\"serviceid\":\"facebook\"}\n```\n\nLes champs sont décrits dans [Le profil utilisateur](../user-profile/).\n\nSi l’utilisateur n’a pas fini de se connecter, si la session a expiré ou si l’identifiant est inconnu, OpenAuth répond :\n\n```json\n[{\"error\":\"Session not found\"}]\n```\n\navec le statut `404`.\n\nTu peux relire le même profil jusqu’à l’expiration de la session, 15 minutes après le début de la connexion. Enregistre ce dont tu as besoin dans ta propre base de données.\n\n## Toutes les connexions terminées\n\nSans `id`, OpenAuth renvoie un tableau avec les profils de toutes les connexions terminées qui n’ont pas encore expiré :\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/\"\n```\n\n```json\n[{\"id\":\"1001\",\"name\":\"Jane Doe\",...,\"sessionid\":\"7f3a9c21\",\"serviceid\":\"facebook\"}]\n```\n\nLes connexions encore en cours ne figurent pas dans la liste.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:04.896Z"}
{"id":"JapjQP2el61f-it","url":"https://totaljs.es/docs/it/openauth/1-0/reference/get-profile/","project":"openauth","version":"1-0","section":"reference","language":"it","title":"Leggere il profilo","summary":"GET /sessions/ restituisce il profilo di un accesso completato.","markdown":"---\ntitle: Leggere il profilo\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/reference/get-profile/\nupdated: 2026-11-19T09:22:04.896Z\n---\n\n# Leggere il profilo\n\n> GET /sessions/ restituisce il profilo di un accesso completato.\n\n```http\nGET /sessions/?id=SESSION_ID\nx-token: YOUR_APP_TOKEN\n```\n\n## Un profilo\n\nPassa il tuo ID di sessione come `id` (oppure `sessionid`). Invia il [token dell'app](../../guides/app-tokens/) nell'header `x-token` oppure come argomento di query `token`.\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/?id=7f3a9c21\"\n```\n\n```json\n{\"id\":\"1001\",\"name\":\"Jane Doe\",\"firstname\":\"Jane\",\"lastname\":\"Doe\",\"email\":\"jane@example.com\",\"photo\":\"\",\"access_token\":\"...\",\"expire\":\"2026-11-19T08:30:37.743Z\",\"response\":{\"id\":\"1001\",\"name\":\"Jane Doe\"},\"sessionid\":\"7f3a9c21\",\"serviceid\":\"facebook\"}\n```\n\nI campi sono descritti in [Il profilo dell'utente](../user-profile/).\n\nSe l'utente non ha finito di accedere, la sessione è scaduta oppure l'ID è sconosciuto, OpenAuth risponde:\n\n```json\n[{\"error\":\"Session not found\"}]\n```\n\ncon lo stato `404`.\n\nPuoi rileggere lo stesso profilo finché la sessione non scade, 15 minuti dopo l'inizio dell'accesso. Salva ciò che ti serve nel tuo database.\n\n## Tutti gli accessi completati\n\nSenza `id`, OpenAuth restituisce un array con i profili di tutti gli accessi completati non ancora scaduti:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/\"\n```\n\n```json\n[{\"id\":\"1001\",\"name\":\"Jane Doe\",...,\"sessionid\":\"7f3a9c21\",\"serviceid\":\"facebook\"}]\n```\n\nGli accessi ancora in corso non sono nell'elenco.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:04.896Z"}
{"id":"JapjQP2el61f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/reference/get-profile/","project":"openauth","version":"1-0","section":"reference","language":"sk","title":"Získanie profilu","summary":"GET /sessions/ vráti profil dokončeného prihlásenia.","markdown":"---\ntitle: \"Získanie profilu\"\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/reference/get-profile/\nupdated: 2026-11-19T09:22:04.896Z\n---\n\n# Získanie profilu\n\n> GET /sessions/ vráti profil dokončeného prihlásenia.\n\n```http\nGET /sessions/?id=SESSION_ID\nx-token: YOUR_APP_TOKEN\n```\n\n## Jeden profil\n\nOdovzdaj svoje ID relácie ako `id` (alebo `sessionid`). Pošli [token aplikácie](../../guides/app-tokens/) v hlavičke `x-token` alebo ako argument dotazu `token`.\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/?id=7f3a9c21\"\n```\n\n```json\n{\"id\":\"1001\",\"name\":\"Jane Doe\",\"firstname\":\"Jane\",\"lastname\":\"Doe\",\"email\":\"jane@example.com\",\"photo\":\"\",\"access_token\":\"...\",\"expire\":\"2026-11-19T08:30:37.743Z\",\"response\":{\"id\":\"1001\",\"name\":\"Jane Doe\"},\"sessionid\":\"7f3a9c21\",\"serviceid\":\"facebook\"}\n```\n\nPolia sú popísané v [Profil používateľa](../user-profile/).\n\nAk sa používateľ ešte neprihlásil, relácia vypršala alebo je ID neznáme, OpenAuth odpovie:\n\n```json\n[{\"error\":\"Session not found\"}]\n```\n\nso stavom `404`.\n\nTen istý profil môžeš čítať opakovane, kým relácia nevyprší, 15 minút po začatí prihlásenia. Čo potrebuješ, ulož si do vlastnej databázy.\n\n## Všetky dokončené prihlásenia\n\nBez `id` OpenAuth vráti pole s profilmi všetkých dokončených prihlásení, ktoré ešte nevypršali:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/\"\n```\n\n```json\n[{\"id\":\"1001\",\"name\":\"Jane Doe\",...,\"sessionid\":\"7f3a9c21\",\"serviceid\":\"facebook\"}]\n```\n\nPrihlásenia, ktoré ešte prebiehajú, v zozname nie sú.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:04.896Z"}
{"id":"JapjQV2ll60f","url":"https://totaljs.es/docs/openauth/1-0/reference/user-profile/","project":"openauth","version":"1-0","section":"reference","language":"en","title":"The user profile","summary":"The fields of the profile that OpenAuth returns after a sign-in.","markdown":"---\ntitle: The user profile\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/reference/user-profile/\nupdated: 2026-11-19T09:22:05.212Z\n---\n\n# The user profile\n\n> The fields of the profile that OpenAuth returns after a sign-in.\n\nEvery extension turns the provider's answer into the same set of fields. A provider does not always send everything, so some fields can be empty.\n\n## Fields\n\n| Field | Meaning |\n|---|---|\n| `id` | The user's ID at the provider. Together with `serviceid` it identifies the user. |\n| `name` | Full name. |\n| `firstname` | First name. |\n| `lastname` | Last name. |\n| `nick` | Nickname, if the provider has one. |\n| `email` | Email address, if the user shares it. |\n| `gender` | Gender in lower case, if the provider sends it. |\n| `photo` | Address of the profile picture. |\n| `access_token` | The provider's access token, for calls to the provider's own API. |\n| `expire` | When the access token expires. |\n| `response` | The provider's raw answer, with everything it sent. |\n| `serviceid` | The extension that was used, for example `facebook`. Added by OpenAuth. |\n| `sessionid` | Your session ID. Added by OpenAuth. |\n\n## Facebook\n\nThe Facebook extension asks Facebook for `email`, `first_name`, `last_name`, `gender`, `hometown`, `locale`, `name`, `id`, `timezone` and `picture`. `response` holds that answer; `hometown`, `locale` and `timezone` are only there.\n\n## Find the user in your app\n\nUse `serviceid` and `id` together as the key of the user in your database. The email can change, and is not always present.\n\nKeep `access_token` only if your app calls the provider's API. It is a credential: store it like a password.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:05.212Z"}
{"id":"JapjQV2ll60f-de","url":"https://totaljs.es/docs/de/openauth/1-0/reference/user-profile/","project":"openauth","version":"1-0","section":"reference","language":"de","title":"Das Benutzerprofil","summary":"Die Felder des Profils, das OpenAuth nach einer Anmeldung zurückgibt.","markdown":"---\ntitle: Das Benutzerprofil\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/reference/user-profile/\nupdated: 2026-11-19T09:22:05.212Z\n---\n\n# Das Benutzerprofil\n\n> Die Felder des Profils, das OpenAuth nach einer Anmeldung zurückgibt.\n\nJede Erweiterung macht aus der Antwort des Anbieters dieselben Felder. Ein Anbieter sendet nicht immer alles, deshalb können manche Felder leer sein.\n\n## Felder\n\n| Feld | Bedeutung |\n|---|---|\n| `id` | Die ID der Person beim Anbieter. Zusammen mit `serviceid` identifiziert sie die Person. |\n| `name` | Vollständiger Name. |\n| `firstname` | Vorname. |\n| `lastname` | Nachname. |\n| `nick` | Spitzname, wenn der Anbieter einen hat. |\n| `email` | E-Mail-Adresse, wenn die Person sie teilt. |\n| `gender` | Geschlecht in Kleinbuchstaben, wenn der Anbieter es sendet. |\n| `photo` | Adresse des Profilbilds. |\n| `access_token` | Das Zugangstoken des Anbieters, für Aufrufe der eigenen API des Anbieters. |\n| `expire` | Wann das Zugangstoken abläuft. |\n| `response` | Die rohe Antwort des Anbieters, mit allem, was er gesendet hat. |\n| `serviceid` | Die genutzte Erweiterung, zum Beispiel `facebook`. Von OpenAuth hinzugefügt. |\n| `sessionid` | Deine Sitzungs-ID. Von OpenAuth hinzugefügt. |\n\n## Facebook\n\nDie Erweiterung Facebook fragt Facebook nach `email`, `first_name`, `last_name`, `gender`, `hometown`, `locale`, `name`, `id`, `timezone` und `picture`. `response` enthält diese Antwort; `hometown`, `locale` und `timezone` stehen nur dort.\n\n## Die Person in deiner App finden\n\nNutze `serviceid` und `id` zusammen als Schlüssel der Person in deiner Datenbank. Die E-Mail kann sich ändern und ist nicht immer vorhanden.\n\nBehalte `access_token` nur, wenn deine App die API des Anbieters aufruft. Es ist ein Zugangsnachweis: Speichere es wie ein Passwort.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:05.212Z"}
{"id":"JapjQV2ll60f-es","url":"https://totaljs.es/docs/es/openauth/1-0/reference/user-profile/","project":"openauth","version":"1-0","section":"reference","language":"es","title":"El perfil del usuario","summary":"Los campos del perfil que devuelve OpenAuth después de un inicio de sesión.","markdown":"---\ntitle: El perfil del usuario\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/reference/user-profile/\nupdated: 2026-11-19T09:22:05.212Z\n---\n\n# El perfil del usuario\n\n> Los campos del perfil que devuelve OpenAuth después de un inicio de sesión.\n\nCada extensión convierte la respuesta del proveedor en el mismo conjunto de campos. Un proveedor no siempre lo envía todo, así que algunos campos pueden estar vacíos.\n\n## Campos\n\n| Campo | Significado |\n|---|---|\n| `id` | El ID del usuario en el proveedor. Junto con `serviceid` identifica al usuario. |\n| `name` | Nombre completo. |\n| `firstname` | Nombre. |\n| `lastname` | Apellidos. |\n| `nick` | Apodo, si el proveedor tiene. |\n| `email` | Dirección de correo, si el usuario la comparte. |\n| `gender` | Género en minúsculas, si el proveedor lo envía. |\n| `photo` | Dirección de la foto de perfil. |\n| `access_token` | El token de acceso del proveedor, para llamar a la API del propio proveedor. |\n| `expire` | Cuándo caduca el token de acceso. |\n| `response` | La respuesta original del proveedor, con todo lo que envió. |\n| `serviceid` | La extensión usada, por ejemplo `facebook`. La añade OpenAuth. |\n| `sessionid` | Tu ID de sesión. Lo añade OpenAuth. |\n\n## Facebook\n\nLa extensión de Facebook pide a Facebook `email`, `first_name`, `last_name`, `gender`, `hometown`, `locale`, `name`, `id`, `timezone` y `picture`. `response` contiene esa respuesta; `hometown`, `locale` y `timezone` solo están ahí.\n\n## Busca al usuario en tu app\n\nUsa `serviceid` e `id` juntos como clave del usuario en tu base de datos. El correo puede cambiar y no siempre está presente.\n\nGuarda `access_token` solo si tu app llama a la API del proveedor. Es una credencial: guárdalo como una contraseña.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:05.212Z"}
{"id":"JapjQV2ll60f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/reference/user-profile/","project":"openauth","version":"1-0","section":"reference","language":"fr","title":"Le profil utilisateur","summary":"Les champs du profil qu’OpenAuth renvoie après une connexion.","markdown":"---\ntitle: Le profil utilisateur\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/reference/user-profile/\nupdated: 2026-11-19T09:22:05.212Z\n---\n\n# Le profil utilisateur\n\n> Les champs du profil qu’OpenAuth renvoie après une connexion.\n\nChaque extension transforme la réponse du fournisseur en un même ensemble de champs. Un fournisseur n’envoie pas toujours tout : certains champs peuvent donc être vides.\n\n## Champs\n\n| Champ | Signification |\n|---|---|\n| `id` | L’identifiant de l’utilisateur chez le fournisseur. Avec `serviceid`, il identifie l’utilisateur. |\n| `name` | Nom complet. |\n| `firstname` | Prénom. |\n| `lastname` | Nom de famille. |\n| `nick` | Pseudo, si le fournisseur en a un. |\n| `email` | Adresse e-mail, si l’utilisateur la partage. |\n| `gender` | Genre en minuscules, si le fournisseur l’envoie. |\n| `photo` | Adresse de la photo de profil. |\n| `access_token` | Le jeton d’accès du fournisseur, pour appeler l’API du fournisseur lui-même. |\n| `expire` | Le moment où le jeton d’accès expire. |\n| `response` | La réponse brute du fournisseur, avec tout ce qu’il a envoyé. |\n| `serviceid` | L’extension utilisée, par exemple `facebook`. Ajouté par OpenAuth. |\n| `sessionid` | Ton identifiant de session. Ajouté par OpenAuth. |\n\n## Facebook\n\nL’extension Facebook demande à Facebook `email`, `first_name`, `last_name`, `gender`, `hometown`, `locale`, `name`, `id`, `timezone` et `picture`. `response` contient cette réponse ; `hometown`, `locale` et `timezone` ne se trouvent que là.\n\n## Retrouver l’utilisateur dans ton application\n\nUtilise `serviceid` et `id` ensemble comme clé de l’utilisateur dans ta base de données. L’e-mail peut changer et n’est pas toujours présent.\n\nNe garde `access_token` que si ton application appelle l’API du fournisseur. C’est un identifiant d’accès : stocke-le comme un mot de passe.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:05.212Z"}
{"id":"JapjQV2ll60f-it","url":"https://totaljs.es/docs/it/openauth/1-0/reference/user-profile/","project":"openauth","version":"1-0","section":"reference","language":"it","title":"Il profilo dell'utente","summary":"I campi del profilo che OpenAuth restituisce dopo un accesso.","markdown":"---\ntitle: \"Il profilo dell'utente\"\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/reference/user-profile/\nupdated: 2026-11-19T09:22:05.212Z\n---\n\n# Il profilo dell'utente\n\n> I campi del profilo che OpenAuth restituisce dopo un accesso.\n\nOgni estensione trasforma la risposta del provider nello stesso insieme di campi. Un provider non invia sempre tutto, quindi alcuni campi possono essere vuoti.\n\n## Campi\n\n| Campo | Significato |\n|---|---|\n| `id` | L'ID dell'utente presso il provider. Insieme a `serviceid` identifica l'utente. |\n| `name` | Nome completo. |\n| `firstname` | Nome. |\n| `lastname` | Cognome. |\n| `nick` | Soprannome, se il provider ne ha uno. |\n| `email` | Indirizzo email, se l'utente lo condivide. |\n| `gender` | Genere in minuscolo, se il provider lo invia. |\n| `photo` | Indirizzo dell'immagine del profilo. |\n| `access_token` | Il token di accesso del provider, per le chiamate all'API del provider stesso. |\n| `expire` | Quando scade il token di accesso. |\n| `response` | La risposta originale del provider, con tutto ciò che ha inviato. |\n| `serviceid` | L'estensione usata, per esempio `facebook`. Aggiunto da OpenAuth. |\n| `sessionid` | Il tuo ID di sessione. Aggiunto da OpenAuth. |\n\n## Facebook\n\nL'estensione Facebook chiede a Facebook `email`, `first_name`, `last_name`, `gender`, `hometown`, `locale`, `name`, `id`, `timezone` e `picture`. `response` contiene quella risposta; `hometown`, `locale` e `timezone` si trovano solo lì.\n\n## Trovare l'utente nella tua app\n\nUsa `serviceid` e `id` insieme come chiave dell'utente nel tuo database. L'email può cambiare e non è sempre presente.\n\nConserva `access_token` solo se la tua app chiama l'API del provider. È una credenziale: salvalo come una password.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:05.212Z"}
{"id":"JapjQV2ll60f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/reference/user-profile/","project":"openauth","version":"1-0","section":"reference","language":"sk","title":"Profil používateľa","summary":"Polia profilu, ktorý OpenAuth vráti po prihlásení.","markdown":"---\ntitle: \"Profil používateľa\"\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/reference/user-profile/\nupdated: 2026-11-19T09:22:05.212Z\n---\n\n# Profil používateľa\n\n> Polia profilu, ktorý OpenAuth vráti po prihlásení.\n\nKaždé rozšírenie premení odpoveď poskytovateľa na rovnakú sadu polí. Poskytovateľ nie vždy pošle všetko, takže niektoré polia môžu byť prázdne.\n\n## Polia\n\n| Pole | Význam |\n|---|---|\n| `id` | ID používateľa u poskytovateľa. Spolu so `serviceid` identifikuje používateľa. |\n| `name` | Celé meno. |\n| `firstname` | Krstné meno. |\n| `lastname` | Priezvisko. |\n| `nick` | Prezývka, ak ju poskytovateľ má. |\n| `email` | E-mailová adresa, ak ju používateľ zdieľa. |\n| `gender` | Pohlavie malými písmenami, ak ho poskytovateľ posiela. |\n| `photo` | Adresa profilovej fotky. |\n| `access_token` | Prístupový token poskytovateľa na volania vlastného API poskytovateľa. |\n| `expire` | Kedy prístupový token vyprší. |\n| `response` | Pôvodná odpoveď poskytovateľa so všetkým, čo poslal. |\n| `serviceid` | Použité rozšírenie, napríklad `facebook`. Pridáva ho OpenAuth. |\n| `sessionid` | Tvoje ID relácie. Pridáva ho OpenAuth. |\n\n## Facebook\n\nRozšírenie Facebook žiada od Facebooku `email`, `first_name`, `last_name`, `gender`, `hometown`, `locale`, `name`, `id`, `timezone` a `picture`. `response` obsahuje túto odpoveď; `hometown`, `locale` a `timezone` sú len tam.\n\n## Hľadanie používateľa v tvojej aplikácii\n\nAko kľúč používateľa vo svojej databáze použi `serviceid` a `id` spolu. E-mail sa môže zmeniť a nie je vždy prítomný.\n\n`access_token` si uchovaj, len ak tvoja aplikácia volá API poskytovateľa. Je to prihlasovací údaj: ukladaj ho ako heslo.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:05.212Z"}
{"id":"JapjQN2cl61f","url":"https://totaljs.es/docs/openauth/1-0/reference/errors/","project":"openauth","version":"1-0","section":"reference","language":"en","title":"Errors","summary":"What OpenAuth answers when a sign-in step fails.","markdown":"---\ntitle: Errors\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/reference/errors/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Errors\n\n> What OpenAuth answers when a sign-in step fails.\n\nOpenAuth answers most errors with a JSON array that holds an `error` text. A wrong token gets an HTML error page instead.\n\n| Status | Answer | Where | Why |\n|---|---|---|---|\n| `400` | `[{\"name\":\"serviceid\",\"error\":\"The field \\\"serviceid\\\" is invalid\",...}]` | `POST /` | A required field is missing. |\n| `400` | `[{\"error\":\"Service not found\"}]` | `POST /` | No extension has that `serviceid`. |\n| `401` | HTML page **401 Unauthorized** | `POST /`, `/sessions/`, `/setup/`, `/api/` | The token is wrong or missing, or the IP address is blocked for a while. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/login/{id}/` | The sign-in address has expired (15 minutes) or OpenAuth was restarted. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/oauth/{serviceid}/` | The provider sent the user back after the session expired. |\n| `400` | `[{\"error\":\"Invalid code\"}]` | `/oauth/facebook/` | Facebook sent the user back without a code, for example because the user cancelled. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/sessions/` | No finished sign-in with that ID. |\n\n## Blocked IP address\n\nAfter more than five requests with a wrong token from one IP address, OpenAuth answers `401` to every request from that address that needs a token, even with the right one, for up to 15 minutes. See [Sign-in questions](../../faq/sign-in/).\n\n## What to do in your app\n\n- On `404` at `/sessions/`, show \"The sign-in has expired\" and offer to start again.\n- On `401`, check the token in your app's configuration and in [App tokens](../../guides/app-tokens/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQN2cl61f-de","url":"https://totaljs.es/docs/de/openauth/1-0/reference/errors/","project":"openauth","version":"1-0","section":"reference","language":"de","title":"Fehler","summary":"Was OpenAuth antwortet, wenn ein Schritt der Anmeldung fehlschlägt.","markdown":"---\ntitle: Fehler\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/reference/errors/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Fehler\n\n> Was OpenAuth antwortet, wenn ein Schritt der Anmeldung fehlschlägt.\n\nOpenAuth beantwortet die meisten Fehler mit einem JSON-Array, das einen Text `error` enthält. Ein falsches Token bekommt stattdessen eine HTML-Fehlerseite.\n\n| Status | Antwort | Wo | Warum |\n|---|---|---|---|\n| `400` | `[{\"name\":\"serviceid\",\"error\":\"The field \\\"serviceid\\\" is invalid\",...}]` | `POST /` | Ein Pflichtfeld fehlt. |\n| `400` | `[{\"error\":\"Service not found\"}]` | `POST /` | Keine Erweiterung hat diese `serviceid`. |\n| `401` | HTML-Seite **401 Unauthorized** | `POST /`, `/sessions/`, `/setup/`, `/api/` | Das Token ist falsch oder fehlt, oder die IP-Adresse ist für eine Weile gesperrt. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/login/{id}/` | Die Anmeldeadresse ist abgelaufen (15 Minuten), oder OpenAuth wurde neu gestartet. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/oauth/{serviceid}/` | Der Anbieter hat die Person zurückgeschickt, nachdem die Sitzung abgelaufen war. |\n| `400` | `[{\"error\":\"Invalid code\"}]` | `/oauth/facebook/` | Facebook hat die Person ohne Code zurückgeschickt, zum Beispiel weil sie abgebrochen hat. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/sessions/` | Keine abgeschlossene Anmeldung mit dieser ID. |\n\n## Gesperrte IP-Adresse\n\nNach mehr als fünf Anfragen mit falschem Token von einer IP-Adresse antwortet OpenAuth bis zu 15 Minuten lang mit `401` auf jede Anfrage von dieser Adresse, die ein Token braucht, auch mit dem richtigen. Siehe [Fragen zur Anmeldung](../../faq/sign-in/).\n\n## Was deine App tun sollte\n\n- Bei `404` auf `/sessions/` zeigst du „Die Anmeldung ist abgelaufen“ an und bietest an, neu zu starten.\n- Bei `401` prüfst du das Token in der Konfiguration deiner App und unter [App-Tokens](../../guides/app-tokens/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQN2cl61f-es","url":"https://totaljs.es/docs/es/openauth/1-0/reference/errors/","project":"openauth","version":"1-0","section":"reference","language":"es","title":"Errores","summary":"Qué responde OpenAuth cuando falla un paso del inicio de sesión.","markdown":"---\ntitle: Errores\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/reference/errors/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Errores\n\n> Qué responde OpenAuth cuando falla un paso del inicio de sesión.\n\nOpenAuth responde a la mayoría de los errores con un array JSON que contiene un texto `error`. Un token incorrecto recibe en cambio una página de error HTML.\n\n| Estado | Respuesta | Dónde | Por qué |\n|---|---|---|---|\n| `400` | `[{\"name\":\"serviceid\",\"error\":\"The field \\\"serviceid\\\" is invalid\",...}]` | `POST /` | Falta un campo obligatorio. |\n| `400` | `[{\"error\":\"Service not found\"}]` | `POST /` | Ninguna extensión tiene ese `serviceid`. |\n| `401` | Página HTML **401 Unauthorized** | `POST /`, `/sessions/`, `/setup/`, `/api/` | El token es incorrecto o falta, o la dirección IP está bloqueada durante un rato. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/login/{id}/` | La dirección de inicio de sesión ha caducado (15 minutos) o OpenAuth se reinició. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/oauth/{serviceid}/` | El proveedor devolvió al usuario después de que caducara la sesión. |\n| `400` | `[{\"error\":\"Invalid code\"}]` | `/oauth/facebook/` | Facebook devolvió al usuario sin código, por ejemplo porque el usuario canceló. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/sessions/` | No hay ningún inicio de sesión terminado con ese ID. |\n\n## Dirección IP bloqueada\n\nDespués de más de cinco peticiones con un token incorrecto desde una misma dirección IP, OpenAuth responde `401` a todas las peticiones de esa dirección que necesitan token, incluso con el correcto, durante hasta 15 minutos. Consulta [Preguntas sobre el inicio de sesión](../../faq/sign-in/).\n\n## Qué hacer en tu app\n\n- Con `404` en `/sessions/`, muestra \"El inicio de sesión ha caducado\" y ofrece empezar de nuevo.\n- Con `401`, revisa el token en la configuración de tu app y en [Tokens de app](../../guides/app-tokens/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQN2cl61f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/reference/errors/","project":"openauth","version":"1-0","section":"reference","language":"fr","title":"Erreurs","summary":"Ce qu’OpenAuth répond quand une étape de la connexion échoue.","markdown":"---\ntitle: Erreurs\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/reference/errors/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Erreurs\n\n> Ce qu’OpenAuth répond quand une étape de la connexion échoue.\n\nOpenAuth répond à la plupart des erreurs avec un tableau JSON qui contient un texte `error`. Un mauvais jeton reçoit à la place une page d’erreur HTML.\n\n| Statut | Réponse | Où | Pourquoi |\n|---|---|---|---|\n| `400` | `[{\"name\":\"serviceid\",\"error\":\"The field \\\"serviceid\\\" is invalid\",...}]` | `POST /` | Un champ obligatoire manque. |\n| `400` | `[{\"error\":\"Service not found\"}]` | `POST /` | Aucune extension n’a ce `serviceid`. |\n| `401` | Page HTML **401 Unauthorized** | `POST /`, `/sessions/`, `/setup/`, `/api/` | Le jeton est faux ou absent, ou l’adresse IP est bloquée pour un moment. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/login/{id}/` | L’adresse de connexion a expiré (15 minutes) ou OpenAuth a été redémarré. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/oauth/{serviceid}/` | Le fournisseur a renvoyé l’utilisateur après l’expiration de la session. |\n| `400` | `[{\"error\":\"Invalid code\"}]` | `/oauth/facebook/` | Facebook a renvoyé l’utilisateur sans code, par exemple parce que l’utilisateur a annulé. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/sessions/` | Aucune connexion terminée avec cet identifiant. |\n\n## Adresse IP bloquée\n\nAprès plus de cinq requêtes avec un mauvais jeton depuis une même adresse IP, OpenAuth répond `401` à toutes les requêtes de cette adresse qui demandent un jeton, même avec le bon, pendant 15 minutes au maximum. Consulte [Questions sur la connexion](../../faq/sign-in/).\n\n## Que faire dans ton application\n\n- Sur un `404` à `/sessions/`, affiche « La connexion a expiré » et propose de recommencer.\n- Sur un `401`, vérifie le jeton dans la configuration de ton application et dans [Jetons d’application](../../guides/app-tokens/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQN2cl61f-it","url":"https://totaljs.es/docs/it/openauth/1-0/reference/errors/","project":"openauth","version":"1-0","section":"reference","language":"it","title":"Errori","summary":"Cosa risponde OpenAuth quando un passaggio dell'accesso fallisce.","markdown":"---\ntitle: Errori\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/reference/errors/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Errori\n\n> Cosa risponde OpenAuth quando un passaggio dell'accesso fallisce.\n\nOpenAuth risponde alla maggior parte degli errori con un array JSON che contiene un testo `error`. Un token sbagliato riceve invece una pagina di errore HTML.\n\n| Stato | Risposta | Dove | Perché |\n|---|---|---|---|\n| `400` | `[{\"name\":\"serviceid\",\"error\":\"The field \\\"serviceid\\\" is invalid\",...}]` | `POST /` | Manca un campo obbligatorio. |\n| `400` | `[{\"error\":\"Service not found\"}]` | `POST /` | Nessuna estensione ha quel `serviceid`. |\n| `401` | Pagina HTML **401 Unauthorized** | `POST /`, `/sessions/`, `/setup/`, `/api/` | Il token è sbagliato o manca, oppure l'indirizzo IP è bloccato per un po'. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/login/{id}/` | L'indirizzo di accesso è scaduto (15 minuti) oppure OpenAuth è stato riavviato. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/oauth/{serviceid}/` | Il provider ha rimandato indietro l'utente dopo la scadenza della sessione. |\n| `400` | `[{\"error\":\"Invalid code\"}]` | `/oauth/facebook/` | Facebook ha rimandato indietro l'utente senza un codice, per esempio perché l'utente ha annullato. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/sessions/` | Nessun accesso completato con quell'ID. |\n\n## Indirizzo IP bloccato\n\nDopo più di cinque richieste con un token sbagliato da uno stesso indirizzo IP, OpenAuth risponde `401` a ogni richiesta da quell'indirizzo che richiede un token, anche con quello giusto, per un massimo di 15 minuti. Leggi [Domande sull'accesso](../../faq/sign-in/).\n\n## Cosa fare nella tua app\n\n- Con `404` su `/sessions/`, mostra \"L'accesso è scaduto\" e proponi di ricominciare.\n- Con `401`, controlla il token nella configurazione della tua app e in [Token delle app](../../guides/app-tokens/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQN2cl61f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/reference/errors/","project":"openauth","version":"1-0","section":"reference","language":"sk","title":"Chyby","summary":"Čo OpenAuth odpovie, keď krok prihlásenia zlyhá.","markdown":"---\ntitle: Chyby\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/reference/errors/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Chyby\n\n> Čo OpenAuth odpovie, keď krok prihlásenia zlyhá.\n\nNa väčšinu chýb OpenAuth odpovedá poľom JSON s textom `error`. Nesprávny token namiesto toho dostane chybovú stránku HTML.\n\n| Stav | Odpoveď | Kde | Prečo |\n|---|---|---|---|\n| `400` | `[{\"name\":\"serviceid\",\"error\":\"The field \\\"serviceid\\\" is invalid\",...}]` | `POST /` | Chýba povinné pole. |\n| `400` | `[{\"error\":\"Service not found\"}]` | `POST /` | Žiadne rozšírenie nemá toto `serviceid`. |\n| `401` | Stránka HTML **401 Unauthorized** | `POST /`, `/sessions/`, `/setup/`, `/api/` | Token je nesprávny alebo chýba, alebo je IP adresa na chvíľu zablokovaná. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/login/{id}/` | Adresa na prihlásenie vypršala (15 minút) alebo sa OpenAuth reštartoval. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/oauth/{serviceid}/` | Poskytovateľ poslal používateľa späť po vypršaní relácie. |\n| `400` | `[{\"error\":\"Invalid code\"}]` | `/oauth/facebook/` | Facebook poslal používateľa späť bez kódu, napríklad preto, že používateľ prihlásenie zrušil. |\n| `404` | `[{\"error\":\"Session not found\"}]` | `/sessions/` | Žiadne dokončené prihlásenie s týmto ID. |\n\n## Zablokovaná IP adresa\n\nPo viac ako piatich požiadavkách s nesprávnym tokenom z jednej IP adresy OpenAuth odpovedá `401` na každú požiadavku z tejto adresy, ktorá potrebuje token, aj so správnym tokenom, a to až 15 minút. Pozri si [Otázky o prihlásení](../../faq/sign-in/).\n\n## Čo robiť vo svojej aplikácii\n\n- Pri `404` na `/sessions/` ukáž „Prihlásenie vypršalo“ a ponúkni nové spustenie.\n- Pri `401` skontroluj token v konfigurácii svojej aplikácie a v [Tokenoch aplikácií](../../guides/app-tokens/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQL2al61f","url":"https://totaljs.es/docs/openauth/1-0/reference/data-folder/","project":"openauth","version":"1-0","section":"reference","language":"en","title":"The data folder","summary":"What OpenAuth saves on disk and where.","markdown":"---\ntitle: The data folder\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/reference/data-folder/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# The data folder\n\n> What OpenAuth saves on disk and where.\n\nOpenAuth keeps its data in the `databases` folder inside the OpenAuth folder. In the Docker image the folder is `/www/.src/databases`.\n\n| File or folder | What it holds |\n|---|---|\n| `memorize_data.json` | The name, the primary access token, the OpenPlatform tokens and the [app tokens](../../guides/app-tokens/). |\n| `extensions/` | One `.js` file per installed [extension](../../guides/extensions/). |\n| `extensions.json` | The settings of every extension, such as the App ID and secret. |\n| `logs.nosql` | The [sign-in log](../../guides/sign-in-logs/). |\n\nChanges in **Configuration** and **Tokens** are written a few seconds after you save them.\n\nSign-ins in progress and profiles waiting to be read are not on disk; they are kept in memory for 15 minutes.\n\nThe files hold secrets: the primary access token, the app tokens and the provider secrets. Keep the folder readable only by the user that runs OpenAuth, and protect your backups the same way. See [Back up your data](../../guides/backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQL2al61f-de","url":"https://totaljs.es/docs/de/openauth/1-0/reference/data-folder/","project":"openauth","version":"1-0","section":"reference","language":"de","title":"Der Datenordner","summary":"Was OpenAuth auf der Festplatte speichert und wo.","markdown":"---\ntitle: Der Datenordner\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/reference/data-folder/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Der Datenordner\n\n> Was OpenAuth auf der Festplatte speichert und wo.\n\nOpenAuth speichert seine Daten im Ordner `databases` im Ordner von OpenAuth. Im Docker-Image ist der Ordner `/www/.src/databases`.\n\n| Datei oder Ordner | Was sie enthält |\n|---|---|\n| `memorize_data.json` | Den Namen, das primäre Zugangstoken, die OpenPlatform-Tokens und die [App-Tokens](../../guides/app-tokens/). |\n| `extensions/` | Eine `.js`-Datei pro installierter [Erweiterung](../../guides/extensions/). |\n| `extensions.json` | Die Einstellungen jeder Erweiterung, etwa App ID und Secret. |\n| `logs.nosql` | Das [Anmeldeprotokoll](../../guides/sign-in-logs/). |\n\nÄnderungen unter **Configuration** und **Tokens** werden ein paar Sekunden nach dem Speichern geschrieben.\n\nLaufende Anmeldungen und Profile, die noch gelesen werden sollen, liegen nicht auf der Festplatte; sie werden 15 Minuten im Arbeitsspeicher gehalten.\n\nDie Dateien enthalten Geheimnisse: das primäre Zugangstoken, die App-Tokens und die Secrets der Anbieter. Mach den Ordner nur für den Benutzer lesbar, der OpenAuth ausführt, und schütze deine Sicherungen genauso. Siehe [Deine Daten sichern](../../guides/backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQL2al61f-es","url":"https://totaljs.es/docs/es/openauth/1-0/reference/data-folder/","project":"openauth","version":"1-0","section":"reference","language":"es","title":"La carpeta de datos","summary":"Qué guarda OpenAuth en el disco y dónde.","markdown":"---\ntitle: La carpeta de datos\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/reference/data-folder/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# La carpeta de datos\n\n> Qué guarda OpenAuth en el disco y dónde.\n\nOpenAuth guarda sus datos en la carpeta `databases`, dentro de la carpeta de OpenAuth. En la imagen de Docker, la carpeta es `/www/.src/databases`.\n\n| Archivo o carpeta | Qué contiene |\n|---|---|\n| `memorize_data.json` | El nombre, el token de acceso principal, los tokens de OpenPlatform y los [tokens de app](../../guides/app-tokens/). |\n| `extensions/` | Un archivo `.js` por cada [extensión](../../guides/extensions/) instalada. |\n| `extensions.json` | Los ajustes de cada extensión, como el App ID y el secreto. |\n| `logs.nosql` | El [registro de inicios de sesión](../../guides/sign-in-logs/). |\n\nLos cambios en **Configuration** y **Tokens** se escriben unos segundos después de guardarlos.\n\nLos inicios de sesión en curso y los perfiles pendientes de leer no están en el disco; se guardan en memoria durante 15 minutos.\n\nLos archivos contienen secretos: el token de acceso principal, los tokens de app y los secretos de los proveedores. Haz que la carpeta solo la pueda leer el usuario que ejecuta OpenAuth, y protege tus copias de seguridad de la misma forma. Consulta [Haz copia de seguridad de tus datos](../../guides/backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQL2al61f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/reference/data-folder/","project":"openauth","version":"1-0","section":"reference","language":"fr","title":"Le dossier de données","summary":"Ce qu’OpenAuth enregistre sur le disque, et où.","markdown":"---\ntitle: \"Le dossier de données\"\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/reference/data-folder/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Le dossier de données\n\n> Ce qu’OpenAuth enregistre sur le disque, et où.\n\nOpenAuth conserve ses données dans le dossier `databases`, dans le dossier d’OpenAuth. Dans l’image Docker, le dossier est `/www/.src/databases`.\n\n| Fichier ou dossier | Ce qu’il contient |\n|---|---|\n| `memorize_data.json` | Le nom, le jeton d’accès principal, les jetons OpenPlatform et les [jetons d’application](../../guides/app-tokens/). |\n| `extensions/` | Un fichier `.js` par [extension](../../guides/extensions/) installée. |\n| `extensions.json` | Les réglages de chaque extension, comme l’App ID et le secret. |\n| `logs.nosql` | Le [journal des connexions](../../guides/sign-in-logs/). |\n\nLes modifications faites dans **Configuration** et **Tokens** sont écrites quelques secondes après leur enregistrement.\n\nLes connexions en cours et les profils en attente de lecture ne sont pas sur le disque ; ils sont gardés en mémoire pendant 15 minutes.\n\nLes fichiers contiennent des secrets : le jeton d’accès principal, les jetons d’application et les secrets des fournisseurs. Fais en sorte que le dossier ne soit lisible que par l’utilisateur qui exécute OpenAuth, et protège tes sauvegardes de la même façon. Consulte [Sauvegarder tes données](../../guides/backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQL2al61f-it","url":"https://totaljs.es/docs/it/openauth/1-0/reference/data-folder/","project":"openauth","version":"1-0","section":"reference","language":"it","title":"La cartella dei dati","summary":"Cosa salva OpenAuth sul disco e dove.","markdown":"---\ntitle: La cartella dei dati\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/reference/data-folder/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# La cartella dei dati\n\n> Cosa salva OpenAuth sul disco e dove.\n\nOpenAuth conserva i suoi dati nella cartella `databases` dentro la cartella di OpenAuth. Nell'immagine Docker la cartella è `/www/.src/databases`.\n\n| File o cartella | Cosa contiene |\n|---|---|\n| `memorize_data.json` | Il nome, il token di accesso principale, i token di OpenPlatform e i [token delle app](../../guides/app-tokens/). |\n| `extensions/` | Un file `.js` per ogni [estensione](../../guides/extensions/) installata. |\n| `extensions.json` | Le impostazioni di ogni estensione, come l'App ID e il segreto. |\n| `logs.nosql` | Il [log degli accessi](../../guides/sign-in-logs/). |\n\nLe modifiche in **Configuration** e **Tokens** vengono scritte qualche secondo dopo il salvataggio.\n\nGli accessi in corso e i profili in attesa di essere letti non sono sul disco; stanno in memoria per 15 minuti.\n\nI file contengono segreti: il token di accesso principale, i token delle app e i segreti dei provider. Fai in modo che la cartella sia leggibile solo dall'utente che esegue OpenAuth, e proteggi i tuoi backup allo stesso modo. Leggi [Fare il backup dei dati](../../guides/backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQL2al61f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/reference/data-folder/","project":"openauth","version":"1-0","section":"reference","language":"sk","title":"Priečinok s dátami","summary":"Čo OpenAuth ukladá na disk a kam.","markdown":"---\ntitle: \"Priečinok s dátami\"\nproject: OpenAuth\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/reference/data-folder/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Priečinok s dátami\n\n> Čo OpenAuth ukladá na disk a kam.\n\nOpenAuth uchováva svoje dáta v priečinku `databases` vnútri priečinka OpenAuth. V obraze Docker je to priečinok `/www/.src/databases`.\n\n| Súbor alebo priečinok | Čo obsahuje |\n|---|---|\n| `memorize_data.json` | Názov, hlavný prístupový token, tokeny OpenPlatform a [tokeny aplikácií](../../guides/app-tokens/). |\n| `extensions/` | Jeden súbor `.js` pre každé nainštalované [rozšírenie](../../guides/extensions/). |\n| `extensions.json` | Nastavenia každého rozšírenia, napríklad App ID a tajný kľúč. |\n| `logs.nosql` | [Log prihlásení](../../guides/sign-in-logs/). |\n\nZmeny v **Configuration** a **Tokens** sa zapíšu pár sekúnd po uložení.\n\nPrebiehajúce prihlásenia a profily čakajúce na prečítanie nie sú na disku; uchovávajú sa v pamäti 15 minút.\n\nSúbory obsahujú tajné údaje: hlavný prístupový token, tokeny aplikácií a tajné kľúče poskytovateľov. Daj priečinok na čítanie len používateľovi, pod ktorým OpenAuth beží, a rovnako chráň aj svoje zálohy. Pozri si [Zálohuj svoje dáta](../../guides/backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQK2Yl61f","url":"https://totaljs.es/docs/openauth/1-0/recipes/sign-in-nodejs/","project":"openauth","version":"1-0","section":"recipes","language":"en","title":"Sign in from a Node.js app","summary":"A small Node.js server that signs users in with Facebook through OpenAuth.","markdown":"---\ntitle: Sign in from a Node.js app\nproject: OpenAuth\nversion: 1.0\nsection: recipes\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/recipes/sign-in-nodejs/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Sign in from a Node.js app\n\n> A small Node.js server that signs users in with Facebook through OpenAuth.\n\nThis server has two addresses: `/login/facebook/` starts the sign-in, and `/auth/` receives the user back and reads the profile. It uses only Node.js (18 or newer, for `fetch`).\n\n## The code\n\nSave it as `app.js` and fill in the three constants at the top:\n\n```js\nconst http = require('http');\nconst crypto = require('crypto');\n\nconst OPENAUTH = 'https://auth.example.com';   // your OpenAuth address\nconst TOKEN = 'paste-your-app-token-here';      // a token from Tokens in OpenAuth\nconst APP = 'https://www.example.com';          // the public address of this app\n\nconst server = http.createServer(async function(req, res) {\n\n\tconst url = new URL(req.url, APP);\n\n\t// 1. The user clicks \"Sign in with Facebook\"\n\tif (url.pathname === '/login/facebook/') {\n\n\t\tconst sessionid = crypto.randomUUID();\n\n\t\tconst response = await fetch(OPENAUTH + '/', {\n\t\t\tmethod: 'POST',\n\t\t\theaders: { 'content-type': 'application/json', 'x-token': TOKEN },\n\t\t\tbody: JSON.stringify({ serviceid: 'facebook', sessionid: sessionid, url: APP + '/auth/' })\n\t\t});\n\n\t\tif (!response.ok) {\n\t\t\tres.writeHead(502, { 'content-type': 'text/plain' });\n\t\t\tres.end('Sign-in is not available right now.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst address = await response.json();\n\t\tres.writeHead(302, { location: address, 'set-cookie': 'signin=' + sessionid + '; Path=/; HttpOnly; SameSite=Lax' });\n\t\tres.end();\n\t\treturn;\n\t}\n\n\t// 2. OpenAuth sends the user back here with ?sessionid=...\n\tif (url.pathname === '/auth/') {\n\n\t\tconst sessionid = url.searchParams.get('sessionid');\n\t\tconst cookie = (req.headers.cookie || '').match(/(?:^|;\\s*)signin=([^;]+)/);\n\n\t\tif (!sessionid || !cookie || cookie[1] !== sessionid) {\n\t\t\tres.writeHead(400, { 'content-type': 'text/plain' });\n\t\t\tres.end('Invalid sign-in.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst response = await fetch(OPENAUTH + '/sessions/?id=' + encodeURIComponent(sessionid), {\n\t\t\theaders: { 'x-token': TOKEN }\n\t\t});\n\n\t\tif (!response.ok) {\n\t\t\tres.writeHead(401, { 'content-type': 'text/plain' });\n\t\t\tres.end('The sign-in has expired. Please try again.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst profile = await response.json();\n\n\t\t// 3. Find or create the user in your database by profile.serviceid + profile.id\n\t\tres.writeHead(200, { 'content-type': 'text/plain' });\n\t\tres.end('Hello ' + profile.name + ' (' + profile.email + ')');\n\t\treturn;\n\t}\n\n\tres.writeHead(404, { 'content-type': 'text/plain' });\n\tres.end('Not found');\n});\n\nserver.listen(3000);\n```\n\n## Run it\n\n```bash\nnode app.js\n```\n\nPut a link to `/login/facebook/` on your sign-in page. After signing in, the user lands on `/auth/` and sees a greeting.\n\n## How it works\n\n- The session ID is random and is also saved in a cookie. On `/auth/`, the server accepts only the session ID that this browser started, so nobody can finish a sign-in with a link they got from someone else.\n- The token stays on the server; the browser never sees it.\n- If the user takes longer than 15 minutes, `/sessions/` answers `404` and the server asks them to try again.\n\nIn a real app, replace the greeting with your own session: look up the user by `profile.serviceid` and `profile.id`, then sign them in. See [The user profile](../../reference/user-profile/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQK2Yl61f-de","url":"https://totaljs.es/docs/de/openauth/1-0/recipes/sign-in-nodejs/","project":"openauth","version":"1-0","section":"recipes","language":"de","title":"Aus einer Node.js-App anmelden","summary":"Ein kleiner Node.js-Server, der Benutzer über OpenAuth mit Facebook anmeldet.","markdown":"---\ntitle: Aus einer Node.js-App anmelden\nproject: OpenAuth\nversion: 1.0\nsection: recipes\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/recipes/sign-in-nodejs/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Aus einer Node.js-App anmelden\n\n> Ein kleiner Node.js-Server, der Benutzer über OpenAuth mit Facebook anmeldet.\n\nDieser Server hat zwei Adressen: `/login/facebook/` startet die Anmeldung, und `/auth/` empfängt die Person wieder und liest das Profil. Er nutzt nur Node.js (18 oder neuer, wegen `fetch`).\n\n## Der Code\n\nSpeichere ihn als `app.js` und füll die drei Konstanten oben aus:\n\n```js\nconst http = require('http');\nconst crypto = require('crypto');\n\nconst OPENAUTH = 'https://auth.example.com';   // your OpenAuth address\nconst TOKEN = 'paste-your-app-token-here';      // a token from Tokens in OpenAuth\nconst APP = 'https://www.example.com';          // the public address of this app\n\nconst server = http.createServer(async function(req, res) {\n\n\tconst url = new URL(req.url, APP);\n\n\t// 1. The user clicks \"Sign in with Facebook\"\n\tif (url.pathname === '/login/facebook/') {\n\n\t\tconst sessionid = crypto.randomUUID();\n\n\t\tconst response = await fetch(OPENAUTH + '/', {\n\t\t\tmethod: 'POST',\n\t\t\theaders: { 'content-type': 'application/json', 'x-token': TOKEN },\n\t\t\tbody: JSON.stringify({ serviceid: 'facebook', sessionid: sessionid, url: APP + '/auth/' })\n\t\t});\n\n\t\tif (!response.ok) {\n\t\t\tres.writeHead(502, { 'content-type': 'text/plain' });\n\t\t\tres.end('Sign-in is not available right now.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst address = await response.json();\n\t\tres.writeHead(302, { location: address, 'set-cookie': 'signin=' + sessionid + '; Path=/; HttpOnly; SameSite=Lax' });\n\t\tres.end();\n\t\treturn;\n\t}\n\n\t// 2. OpenAuth sends the user back here with ?sessionid=...\n\tif (url.pathname === '/auth/') {\n\n\t\tconst sessionid = url.searchParams.get('sessionid');\n\t\tconst cookie = (req.headers.cookie || '').match(/(?:^|;\\s*)signin=([^;]+)/);\n\n\t\tif (!sessionid || !cookie || cookie[1] !== sessionid) {\n\t\t\tres.writeHead(400, { 'content-type': 'text/plain' });\n\t\t\tres.end('Invalid sign-in.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst response = await fetch(OPENAUTH + '/sessions/?id=' + encodeURIComponent(sessionid), {\n\t\t\theaders: { 'x-token': TOKEN }\n\t\t});\n\n\t\tif (!response.ok) {\n\t\t\tres.writeHead(401, { 'content-type': 'text/plain' });\n\t\t\tres.end('The sign-in has expired. Please try again.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst profile = await response.json();\n\n\t\t// 3. Find or create the user in your database by profile.serviceid + profile.id\n\t\tres.writeHead(200, { 'content-type': 'text/plain' });\n\t\tres.end('Hello ' + profile.name + ' (' + profile.email + ')');\n\t\treturn;\n\t}\n\n\tres.writeHead(404, { 'content-type': 'text/plain' });\n\tres.end('Not found');\n});\n\nserver.listen(3000);\n```\n\n## Starten\n\n```bash\nnode app.js\n```\n\nSetz auf deiner Anmeldeseite einen Link auf `/login/facebook/`. Nach der Anmeldung landet die Person auf `/auth/` und sieht eine Begrüßung.\n\n## Wie es funktioniert\n\n- Die Sitzungs-ID ist zufällig und wird auch in einem Cookie gespeichert. Auf `/auth/` akzeptiert der Server nur die Sitzungs-ID, die dieser Browser gestartet hat, damit niemand eine Anmeldung mit einem Link abschließen kann, den er von jemand anderem bekommen hat.\n- Das Token bleibt auf dem Server; der Browser sieht es nie.\n- Braucht die Person länger als 15 Minuten, antwortet `/sessions/` mit `404`, und der Server bittet sie, es noch einmal zu versuchen.\n\nIn einer echten App ersetzt du die Begrüßung durch deine eigene Sitzung: Such die Person über `profile.serviceid` und `profile.id` und melde sie an. Siehe [Das Benutzerprofil](../../reference/user-profile/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQK2Yl61f-es","url":"https://totaljs.es/docs/es/openauth/1-0/recipes/sign-in-nodejs/","project":"openauth","version":"1-0","section":"recipes","language":"es","title":"Inicia sesión desde una app de Node.js","summary":"Un pequeño servidor de Node.js que inicia la sesión de los usuarios con Facebook a través de OpenAuth.","markdown":"---\ntitle: \"Inicia sesión desde una app de Node.js\"\nproject: OpenAuth\nversion: 1.0\nsection: recipes\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/recipes/sign-in-nodejs/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Inicia sesión desde una app de Node.js\n\n> Un pequeño servidor de Node.js que inicia la sesión de los usuarios con Facebook a través de OpenAuth.\n\nEste servidor tiene dos direcciones: `/login/facebook/` empieza el inicio de sesión, y `/auth/` recibe al usuario de vuelta y lee el perfil. Solo usa Node.js (18 o posterior, por `fetch`).\n\n## El código\n\nGuárdalo como `app.js` y rellena las tres constantes del principio:\n\n```js\nconst http = require('http');\nconst crypto = require('crypto');\n\nconst OPENAUTH = 'https://auth.example.com';   // your OpenAuth address\nconst TOKEN = 'paste-your-app-token-here';      // a token from Tokens in OpenAuth\nconst APP = 'https://www.example.com';          // the public address of this app\n\nconst server = http.createServer(async function(req, res) {\n\n\tconst url = new URL(req.url, APP);\n\n\t// 1. The user clicks \"Sign in with Facebook\"\n\tif (url.pathname === '/login/facebook/') {\n\n\t\tconst sessionid = crypto.randomUUID();\n\n\t\tconst response = await fetch(OPENAUTH + '/', {\n\t\t\tmethod: 'POST',\n\t\t\theaders: { 'content-type': 'application/json', 'x-token': TOKEN },\n\t\t\tbody: JSON.stringify({ serviceid: 'facebook', sessionid: sessionid, url: APP + '/auth/' })\n\t\t});\n\n\t\tif (!response.ok) {\n\t\t\tres.writeHead(502, { 'content-type': 'text/plain' });\n\t\t\tres.end('Sign-in is not available right now.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst address = await response.json();\n\t\tres.writeHead(302, { location: address, 'set-cookie': 'signin=' + sessionid + '; Path=/; HttpOnly; SameSite=Lax' });\n\t\tres.end();\n\t\treturn;\n\t}\n\n\t// 2. OpenAuth sends the user back here with ?sessionid=...\n\tif (url.pathname === '/auth/') {\n\n\t\tconst sessionid = url.searchParams.get('sessionid');\n\t\tconst cookie = (req.headers.cookie || '').match(/(?:^|;\\s*)signin=([^;]+)/);\n\n\t\tif (!sessionid || !cookie || cookie[1] !== sessionid) {\n\t\t\tres.writeHead(400, { 'content-type': 'text/plain' });\n\t\t\tres.end('Invalid sign-in.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst response = await fetch(OPENAUTH + '/sessions/?id=' + encodeURIComponent(sessionid), {\n\t\t\theaders: { 'x-token': TOKEN }\n\t\t});\n\n\t\tif (!response.ok) {\n\t\t\tres.writeHead(401, { 'content-type': 'text/plain' });\n\t\t\tres.end('The sign-in has expired. Please try again.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst profile = await response.json();\n\n\t\t// 3. Find or create the user in your database by profile.serviceid + profile.id\n\t\tres.writeHead(200, { 'content-type': 'text/plain' });\n\t\tres.end('Hello ' + profile.name + ' (' + profile.email + ')');\n\t\treturn;\n\t}\n\n\tres.writeHead(404, { 'content-type': 'text/plain' });\n\tres.end('Not found');\n});\n\nserver.listen(3000);\n```\n\n## Ejecútalo\n\n```bash\nnode app.js\n```\n\nPon un enlace a `/login/facebook/` en tu página de inicio de sesión. Después de iniciar sesión, el usuario llega a `/auth/` y ve un saludo.\n\n## Cómo funciona\n\n- El ID de sesión es aleatorio y también se guarda en una cookie. En `/auth/`, el servidor solo acepta el ID de sesión que empezó este navegador, así nadie puede terminar un inicio de sesión con un enlace que le haya pasado otra persona.\n- El token se queda en el servidor; el navegador nunca lo ve.\n- Si el usuario tarda más de 15 minutos, `/sessions/` responde `404` y el servidor le pide que lo intente de nuevo.\n\nEn una app real, sustituye el saludo por tu propia sesión: busca al usuario por `profile.serviceid` y `profile.id` y luego inicia su sesión. Consulta [El perfil del usuario](../../reference/user-profile/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQK2Yl61f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/recipes/sign-in-nodejs/","project":"openauth","version":"1-0","section":"recipes","language":"fr","title":"Connexion depuis une application Node.js","summary":"Un petit serveur Node.js qui connecte les utilisateurs avec Facebook via OpenAuth.","markdown":"---\ntitle: Connexion depuis une application Node.js\nproject: OpenAuth\nversion: 1.0\nsection: recipes\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/recipes/sign-in-nodejs/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Connexion depuis une application Node.js\n\n> Un petit serveur Node.js qui connecte les utilisateurs avec Facebook via OpenAuth.\n\nCe serveur a deux adresses : `/login/facebook/` lance la connexion, et `/auth/` reçoit l’utilisateur à son retour et lit le profil. Il utilise uniquement Node.js (18 ou plus récent, pour `fetch`).\n\n## Le code\n\nEnregistre-le sous `app.js` et remplis les trois constantes en haut :\n\n```js\nconst http = require('http');\nconst crypto = require('crypto');\n\nconst OPENAUTH = 'https://auth.example.com';   // your OpenAuth address\nconst TOKEN = 'paste-your-app-token-here';      // a token from Tokens in OpenAuth\nconst APP = 'https://www.example.com';          // the public address of this app\n\nconst server = http.createServer(async function(req, res) {\n\n\tconst url = new URL(req.url, APP);\n\n\t// 1. The user clicks \"Sign in with Facebook\"\n\tif (url.pathname === '/login/facebook/') {\n\n\t\tconst sessionid = crypto.randomUUID();\n\n\t\tconst response = await fetch(OPENAUTH + '/', {\n\t\t\tmethod: 'POST',\n\t\t\theaders: { 'content-type': 'application/json', 'x-token': TOKEN },\n\t\t\tbody: JSON.stringify({ serviceid: 'facebook', sessionid: sessionid, url: APP + '/auth/' })\n\t\t});\n\n\t\tif (!response.ok) {\n\t\t\tres.writeHead(502, { 'content-type': 'text/plain' });\n\t\t\tres.end('Sign-in is not available right now.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst address = await response.json();\n\t\tres.writeHead(302, { location: address, 'set-cookie': 'signin=' + sessionid + '; Path=/; HttpOnly; SameSite=Lax' });\n\t\tres.end();\n\t\treturn;\n\t}\n\n\t// 2. OpenAuth sends the user back here with ?sessionid=...\n\tif (url.pathname === '/auth/') {\n\n\t\tconst sessionid = url.searchParams.get('sessionid');\n\t\tconst cookie = (req.headers.cookie || '').match(/(?:^|;\\s*)signin=([^;]+)/);\n\n\t\tif (!sessionid || !cookie || cookie[1] !== sessionid) {\n\t\t\tres.writeHead(400, { 'content-type': 'text/plain' });\n\t\t\tres.end('Invalid sign-in.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst response = await fetch(OPENAUTH + '/sessions/?id=' + encodeURIComponent(sessionid), {\n\t\t\theaders: { 'x-token': TOKEN }\n\t\t});\n\n\t\tif (!response.ok) {\n\t\t\tres.writeHead(401, { 'content-type': 'text/plain' });\n\t\t\tres.end('The sign-in has expired. Please try again.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst profile = await response.json();\n\n\t\t// 3. Find or create the user in your database by profile.serviceid + profile.id\n\t\tres.writeHead(200, { 'content-type': 'text/plain' });\n\t\tres.end('Hello ' + profile.name + ' (' + profile.email + ')');\n\t\treturn;\n\t}\n\n\tres.writeHead(404, { 'content-type': 'text/plain' });\n\tres.end('Not found');\n});\n\nserver.listen(3000);\n```\n\n## Le lancer\n\n```bash\nnode app.js\n```\n\nMets un lien vers `/login/facebook/` sur ta page de connexion. Après s’être connecté, l’utilisateur arrive sur `/auth/` et voit un message d’accueil.\n\n## Comment ça marche\n\n- L’identifiant de session est aléatoire et il est aussi enregistré dans un cookie. Sur `/auth/`, le serveur n’accepte que l’identifiant de session lancé par ce navigateur : personne ne peut donc terminer une connexion avec un lien reçu de quelqu’un d’autre.\n- Le jeton reste sur le serveur ; le navigateur ne le voit jamais.\n- Si l’utilisateur met plus de 15 minutes, `/sessions/` répond `404` et le serveur lui demande de réessayer.\n\nDans une vraie application, remplace le message d’accueil par ta propre session : cherche l’utilisateur par `profile.serviceid` et `profile.id`, puis connecte-le. Consulte [Le profil utilisateur](../../reference/user-profile/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQK2Yl61f-it","url":"https://totaljs.es/docs/it/openauth/1-0/recipes/sign-in-nodejs/","project":"openauth","version":"1-0","section":"recipes","language":"it","title":"Accedere da un'app Node.js","summary":"Un piccolo server Node.js che fa accedere gli utenti con Facebook tramite OpenAuth.","markdown":"---\ntitle: \"Accedere da un'app Node.js\"\nproject: OpenAuth\nversion: 1.0\nsection: recipes\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/recipes/sign-in-nodejs/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Accedere da un'app Node.js\n\n> Un piccolo server Node.js che fa accedere gli utenti con Facebook tramite OpenAuth.\n\nQuesto server ha due indirizzi: `/login/facebook/` avvia l'accesso, e `/auth/` riceve l'utente di ritorno e legge il profilo. Usa solo Node.js (18 o più recente, per `fetch`).\n\n## Il codice\n\nSalvalo come `app.js` e compila le tre costanti in cima:\n\n```js\nconst http = require('http');\nconst crypto = require('crypto');\n\nconst OPENAUTH = 'https://auth.example.com';   // your OpenAuth address\nconst TOKEN = 'paste-your-app-token-here';      // a token from Tokens in OpenAuth\nconst APP = 'https://www.example.com';          // the public address of this app\n\nconst server = http.createServer(async function(req, res) {\n\n\tconst url = new URL(req.url, APP);\n\n\t// 1. The user clicks \"Sign in with Facebook\"\n\tif (url.pathname === '/login/facebook/') {\n\n\t\tconst sessionid = crypto.randomUUID();\n\n\t\tconst response = await fetch(OPENAUTH + '/', {\n\t\t\tmethod: 'POST',\n\t\t\theaders: { 'content-type': 'application/json', 'x-token': TOKEN },\n\t\t\tbody: JSON.stringify({ serviceid: 'facebook', sessionid: sessionid, url: APP + '/auth/' })\n\t\t});\n\n\t\tif (!response.ok) {\n\t\t\tres.writeHead(502, { 'content-type': 'text/plain' });\n\t\t\tres.end('Sign-in is not available right now.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst address = await response.json();\n\t\tres.writeHead(302, { location: address, 'set-cookie': 'signin=' + sessionid + '; Path=/; HttpOnly; SameSite=Lax' });\n\t\tres.end();\n\t\treturn;\n\t}\n\n\t// 2. OpenAuth sends the user back here with ?sessionid=...\n\tif (url.pathname === '/auth/') {\n\n\t\tconst sessionid = url.searchParams.get('sessionid');\n\t\tconst cookie = (req.headers.cookie || '').match(/(?:^|;\\s*)signin=([^;]+)/);\n\n\t\tif (!sessionid || !cookie || cookie[1] !== sessionid) {\n\t\t\tres.writeHead(400, { 'content-type': 'text/plain' });\n\t\t\tres.end('Invalid sign-in.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst response = await fetch(OPENAUTH + '/sessions/?id=' + encodeURIComponent(sessionid), {\n\t\t\theaders: { 'x-token': TOKEN }\n\t\t});\n\n\t\tif (!response.ok) {\n\t\t\tres.writeHead(401, { 'content-type': 'text/plain' });\n\t\t\tres.end('The sign-in has expired. Please try again.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst profile = await response.json();\n\n\t\t// 3. Find or create the user in your database by profile.serviceid + profile.id\n\t\tres.writeHead(200, { 'content-type': 'text/plain' });\n\t\tres.end('Hello ' + profile.name + ' (' + profile.email + ')');\n\t\treturn;\n\t}\n\n\tres.writeHead(404, { 'content-type': 'text/plain' });\n\tres.end('Not found');\n});\n\nserver.listen(3000);\n```\n\n## Eseguirlo\n\n```bash\nnode app.js\n```\n\nMetti un link a `/login/facebook/` nella tua pagina di accesso. Dopo l'accesso, l'utente arriva su `/auth/` e vede un saluto.\n\n## Come funziona\n\n- L'ID di sessione è casuale e viene salvato anche in un cookie. Su `/auth/`, il server accetta solo l'ID di sessione avviato da questo browser, così nessuno può completare un accesso con un link ricevuto da qualcun altro.\n- Il token resta sul server; il browser non lo vede mai.\n- Se l'utente ci mette più di 15 minuti, `/sessions/` risponde `404` e il server gli chiede di riprovare.\n\nIn un'app vera, sostituisci il saluto con la tua sessione: cerca l'utente tramite `profile.serviceid` e `profile.id`, poi fallo accedere. Leggi [Il profilo dell'utente](../../reference/user-profile/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQK2Yl61f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/recipes/sign-in-nodejs/","project":"openauth","version":"1-0","section":"recipes","language":"sk","title":"Prihlásenie z aplikácie Node.js","summary":"Malý server Node.js, ktorý prihlasuje používateľov cez Facebook pomocou OpenAuth.","markdown":"---\ntitle: \"Prihlásenie z aplikácie Node.js\"\nproject: OpenAuth\nversion: 1.0\nsection: recipes\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/recipes/sign-in-nodejs/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Prihlásenie z aplikácie Node.js\n\n> Malý server Node.js, ktorý prihlasuje používateľov cez Facebook pomocou OpenAuth.\n\nTento server má dve adresy: `/login/facebook/` spúšťa prihlásenie a `/auth/` prijme vracajúceho sa používateľa a prečíta profil. Používa len Node.js (18 alebo novší, kvôli `fetch`).\n\n## Kód\n\nUlož ho ako `app.js` a vyplň tri konštanty na začiatku:\n\n```js\nconst http = require('http');\nconst crypto = require('crypto');\n\nconst OPENAUTH = 'https://auth.example.com';   // your OpenAuth address\nconst TOKEN = 'paste-your-app-token-here';      // a token from Tokens in OpenAuth\nconst APP = 'https://www.example.com';          // the public address of this app\n\nconst server = http.createServer(async function(req, res) {\n\n\tconst url = new URL(req.url, APP);\n\n\t// 1. The user clicks \"Sign in with Facebook\"\n\tif (url.pathname === '/login/facebook/') {\n\n\t\tconst sessionid = crypto.randomUUID();\n\n\t\tconst response = await fetch(OPENAUTH + '/', {\n\t\t\tmethod: 'POST',\n\t\t\theaders: { 'content-type': 'application/json', 'x-token': TOKEN },\n\t\t\tbody: JSON.stringify({ serviceid: 'facebook', sessionid: sessionid, url: APP + '/auth/' })\n\t\t});\n\n\t\tif (!response.ok) {\n\t\t\tres.writeHead(502, { 'content-type': 'text/plain' });\n\t\t\tres.end('Sign-in is not available right now.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst address = await response.json();\n\t\tres.writeHead(302, { location: address, 'set-cookie': 'signin=' + sessionid + '; Path=/; HttpOnly; SameSite=Lax' });\n\t\tres.end();\n\t\treturn;\n\t}\n\n\t// 2. OpenAuth sends the user back here with ?sessionid=...\n\tif (url.pathname === '/auth/') {\n\n\t\tconst sessionid = url.searchParams.get('sessionid');\n\t\tconst cookie = (req.headers.cookie || '').match(/(?:^|;\\s*)signin=([^;]+)/);\n\n\t\tif (!sessionid || !cookie || cookie[1] !== sessionid) {\n\t\t\tres.writeHead(400, { 'content-type': 'text/plain' });\n\t\t\tres.end('Invalid sign-in.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst response = await fetch(OPENAUTH + '/sessions/?id=' + encodeURIComponent(sessionid), {\n\t\t\theaders: { 'x-token': TOKEN }\n\t\t});\n\n\t\tif (!response.ok) {\n\t\t\tres.writeHead(401, { 'content-type': 'text/plain' });\n\t\t\tres.end('The sign-in has expired. Please try again.');\n\t\t\treturn;\n\t\t}\n\n\t\tconst profile = await response.json();\n\n\t\t// 3. Find or create the user in your database by profile.serviceid + profile.id\n\t\tres.writeHead(200, { 'content-type': 'text/plain' });\n\t\tres.end('Hello ' + profile.name + ' (' + profile.email + ')');\n\t\treturn;\n\t}\n\n\tres.writeHead(404, { 'content-type': 'text/plain' });\n\tres.end('Not found');\n});\n\nserver.listen(3000);\n```\n\n## Spustenie\n\n```bash\nnode app.js\n```\n\nNa svoju prihlasovaciu stránku daj odkaz na `/login/facebook/`. Po prihlásení používateľ skončí na `/auth/` a uvidí pozdrav.\n\n## Ako to funguje\n\n- ID relácie je náhodné a ukladá sa aj do cookie. Na `/auth/` server prijme len ID relácie, ktoré spustil tento prehliadač, takže nikto nemôže dokončiť prihlásenie s odkazom, ktorý dostal od niekoho iného.\n- Token zostáva na serveri; prehliadač ho nikdy nevidí.\n- Ak to používateľovi trvá dlhšie ako 15 minút, `/sessions/` odpovie `404` a server ho požiada, aby to skúsil znova.\n\nV skutočnej aplikácii nahraď pozdrav vlastnou reláciou: vyhľadaj používateľa podľa `profile.serviceid` a `profile.id` a potom ho prihlás. Pozri si [Profil používateľa](../../reference/user-profile/).\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQI2Wl61f","url":"https://totaljs.es/docs/openauth/1-0/recipes/check-provider/","project":"openauth","version":"1-0","section":"recipes","language":"en","title":"Check a provider with curl","summary":"Start a sign-in by hand to check the token, the extension and the address sent to the provider.","markdown":"---\ntitle: Check a provider with curl\nproject: OpenAuth\nversion: 1.0\nsection: recipes\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/recipes/check-provider/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Check a provider with curl\n\n> Start a sign-in by hand to check the token, the extension and the address sent to the provider.\n\nBefore you connect an app, you can check the setup from a terminal. You need an [app token](../../guides/app-tokens/) and a configured provider.\n\n**1.** Start a sign-in:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" -H \"Content-Type: application/json\" \\\n  -d '{\"serviceid\":\"facebook\",\"sessionid\":\"test-1\",\"url\":\"https://www.example.com/auth/\"}' \\\n  https://auth.example.com/\n```\n\nOpenAuth answers with the sign-in address:\n\n```json\n\"https://auth.example.com/login/mwn8dxrxawfhtu3sc9/\"\n```\n\nAn error here points to the token or the `serviceid`. See [Errors](../../reference/errors/).\n\n**2.** Ask the sign-in address where it sends the user, without following it:\n\n```bash\ncurl -s -o /dev/null -D - https://auth.example.com/login/mwn8dxrxawfhtu3sc9/\n```\n\n**3.** Read the `Location` line. For Facebook it looks like this:\n\n```text\nLocation: https://graph.facebook.com/oauth/authorize?type=web_server&client_id=YOUR_APP_ID&redirect_uri=https%3A%2F%2Fauth.example.com%2Foauth%2Ffacebook%2F&scope=email&state=mwn8dxrxawfhtu3sc9\n```\n\nCheck that:\n\n- `client_id` is the **App ID** you entered in OpenAuth.\n- `redirect_uri` is your public callback endpoint, with `https://`, exactly as you registered it at the provider.\n\n**4.** To try the whole sign-in, open the sign-in address in a browser within 15 minutes, sign in, and read the profile with `test-1`:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/?id=test-1\"\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQI2Wl61f-de","url":"https://totaljs.es/docs/de/openauth/1-0/recipes/check-provider/","project":"openauth","version":"1-0","section":"recipes","language":"de","title":"Einen Anbieter mit curl prüfen","summary":"Starte eine Anmeldung von Hand, um das Token, die Erweiterung und die an den Anbieter gesendete Adresse zu prüfen.","markdown":"---\ntitle: \"Einen Anbieter mit curl prüfen\"\nproject: OpenAuth\nversion: 1.0\nsection: recipes\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/recipes/check-provider/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Einen Anbieter mit curl prüfen\n\n> Starte eine Anmeldung von Hand, um das Token, die Erweiterung und die an den Anbieter gesendete Adresse zu prüfen.\n\nBevor du eine App anbindest, kannst du die Einrichtung im Terminal prüfen. Du brauchst ein [App-Token](../../guides/app-tokens/) und einen eingerichteten Anbieter.\n\n**1.** Starte eine Anmeldung:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" -H \"Content-Type: application/json\" \\\n  -d '{\"serviceid\":\"facebook\",\"sessionid\":\"test-1\",\"url\":\"https://www.example.com/auth/\"}' \\\n  https://auth.example.com/\n```\n\nOpenAuth antwortet mit der Anmeldeadresse:\n\n```json\n\"https://auth.example.com/login/mwn8dxrxawfhtu3sc9/\"\n```\n\nEin Fehler an dieser Stelle deutet auf das Token oder die `serviceid` hin. Siehe [Fehler](../../reference/errors/).\n\n**2.** Frag die Anmeldeadresse, wohin sie die Person schickt, ohne ihr zu folgen:\n\n```bash\ncurl -s -o /dev/null -D - https://auth.example.com/login/mwn8dxrxawfhtu3sc9/\n```\n\n**3.** Lies die Zeile `Location`. Bei Facebook sieht sie so aus:\n\n```text\nLocation: https://graph.facebook.com/oauth/authorize?type=web_server&client_id=YOUR_APP_ID&redirect_uri=https%3A%2F%2Fauth.example.com%2Foauth%2Ffacebook%2F&scope=email&state=mwn8dxrxawfhtu3sc9\n```\n\nPrüf, dass:\n\n- `client_id` die **App ID** ist, die du in OpenAuth eingetragen hast.\n- `redirect_uri` dein öffentlicher Callback-Endpunkt ist, mit `https://`, genau so, wie du ihn beim Anbieter registriert hast.\n\n**4.** Um die ganze Anmeldung auszuprobieren, öffne die Anmeldeadresse innerhalb von 15 Minuten in einem Browser, melde dich an und lies das Profil mit `test-1`:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/?id=test-1\"\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQI2Wl61f-es","url":"https://totaljs.es/docs/es/openauth/1-0/recipes/check-provider/","project":"openauth","version":"1-0","section":"recipes","language":"es","title":"Comprueba un proveedor con curl","summary":"Empieza un inicio de sesión a mano para comprobar el token, la extensión y la dirección que se envía al proveedor.","markdown":"---\ntitle: Comprueba un proveedor con curl\nproject: OpenAuth\nversion: 1.0\nsection: recipes\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/recipes/check-provider/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Comprueba un proveedor con curl\n\n> Empieza un inicio de sesión a mano para comprobar el token, la extensión y la dirección que se envía al proveedor.\n\nAntes de conectar una app, puedes comprobar la configuración desde un terminal. Necesitas un [token de app](../../guides/app-tokens/) y un proveedor configurado.\n\n**1.** Empieza un inicio de sesión:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" -H \"Content-Type: application/json\" \\\n  -d '{\"serviceid\":\"facebook\",\"sessionid\":\"test-1\",\"url\":\"https://www.example.com/auth/\"}' \\\n  https://auth.example.com/\n```\n\nOpenAuth responde con la dirección de inicio de sesión:\n\n```json\n\"https://auth.example.com/login/mwn8dxrxawfhtu3sc9/\"\n```\n\nSi aquí sale un error, el problema está en el token o en el `serviceid`. Consulta [Errores](../../reference/errors/).\n\n**2.** Pregunta a la dirección de inicio de sesión adónde envía al usuario, sin seguirla:\n\n```bash\ncurl -s -o /dev/null -D - https://auth.example.com/login/mwn8dxrxawfhtu3sc9/\n```\n\n**3.** Lee la línea `Location`. Para Facebook se parece a esto:\n\n```text\nLocation: https://graph.facebook.com/oauth/authorize?type=web_server&client_id=YOUR_APP_ID&redirect_uri=https%3A%2F%2Fauth.example.com%2Foauth%2Ffacebook%2F&scope=email&state=mwn8dxrxawfhtu3sc9\n```\n\nComprueba que:\n\n- `client_id` es el **App ID** que introdujiste en OpenAuth.\n- `redirect_uri` es tu endpoint de retorno público, con `https://`, exactamente como lo registraste en el proveedor.\n\n**4.** Para probar el inicio de sesión completo, abre la dirección de inicio de sesión en un navegador antes de que pasen 15 minutos, inicia sesión y lee el perfil con `test-1`:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/?id=test-1\"\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQI2Wl61f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/recipes/check-provider/","project":"openauth","version":"1-0","section":"recipes","language":"fr","title":"Vérifier un fournisseur avec curl","summary":"Lance une connexion à la main pour vérifier le jeton, l’extension et l’adresse envoyée au fournisseur.","markdown":"---\ntitle: \"Vérifier un fournisseur avec curl\"\nproject: OpenAuth\nversion: 1.0\nsection: recipes\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/recipes/check-provider/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Vérifier un fournisseur avec curl\n\n> Lance une connexion à la main pour vérifier le jeton, l’extension et l’adresse envoyée au fournisseur.\n\nAvant de connecter une application, tu peux vérifier la configuration depuis un terminal. Il te faut un [jeton d’application](../../guides/app-tokens/) et un fournisseur configuré.\n\n**1.** Lance une connexion :\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" -H \"Content-Type: application/json\" \\\n  -d '{\"serviceid\":\"facebook\",\"sessionid\":\"test-1\",\"url\":\"https://www.example.com/auth/\"}' \\\n  https://auth.example.com/\n```\n\nOpenAuth répond avec l’adresse de connexion :\n\n```json\n\"https://auth.example.com/login/mwn8dxrxawfhtu3sc9/\"\n```\n\nUne erreur à cette étape vient du jeton ou du `serviceid`. Consulte [Erreurs](../../reference/errors/).\n\n**2.** Demande à l’adresse de connexion où elle envoie l’utilisateur, sans la suivre :\n\n```bash\ncurl -s -o /dev/null -D - https://auth.example.com/login/mwn8dxrxawfhtu3sc9/\n```\n\n**3.** Lis la ligne `Location`. Pour Facebook, elle ressemble à ceci :\n\n```text\nLocation: https://graph.facebook.com/oauth/authorize?type=web_server&client_id=YOUR_APP_ID&redirect_uri=https%3A%2F%2Fauth.example.com%2Foauth%2Ffacebook%2F&scope=email&state=mwn8dxrxawfhtu3sc9\n```\n\nVérifie que :\n\n- `client_id` est l’**App ID** que tu as saisi dans OpenAuth.\n- `redirect_uri` est ton point de retour public, en `https://`, exactement comme tu l’as enregistré chez le fournisseur.\n\n**4.** Pour essayer la connexion complète, ouvre l’adresse de connexion dans un navigateur dans les 15 minutes, connecte-toi, puis lis le profil avec `test-1` :\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/?id=test-1\"\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQI2Wl61f-it","url":"https://totaljs.es/docs/it/openauth/1-0/recipes/check-provider/","project":"openauth","version":"1-0","section":"recipes","language":"it","title":"Controllare un provider con curl","summary":"Avvia un accesso a mano per controllare il token, l'estensione e l'indirizzo inviato al provider.","markdown":"---\ntitle: Controllare un provider con curl\nproject: OpenAuth\nversion: 1.0\nsection: recipes\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/recipes/check-provider/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Controllare un provider con curl\n\n> Avvia un accesso a mano per controllare il token, l'estensione e l'indirizzo inviato al provider.\n\nPrima di collegare un'app, puoi controllare la configurazione da un terminale. Ti servono un [token dell'app](../../guides/app-tokens/) e un provider configurato.\n\n**1.** Avvia un accesso:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" -H \"Content-Type: application/json\" \\\n  -d '{\"serviceid\":\"facebook\",\"sessionid\":\"test-1\",\"url\":\"https://www.example.com/auth/\"}' \\\n  https://auth.example.com/\n```\n\nOpenAuth risponde con l'indirizzo di accesso:\n\n```json\n\"https://auth.example.com/login/mwn8dxrxawfhtu3sc9/\"\n```\n\nUn errore qui indica un problema con il token o con il `serviceid`. Leggi [Errori](../../reference/errors/).\n\n**2.** Chiedi all'indirizzo di accesso dove manda l'utente, senza seguirlo:\n\n```bash\ncurl -s -o /dev/null -D - https://auth.example.com/login/mwn8dxrxawfhtu3sc9/\n```\n\n**3.** Leggi la riga `Location`. Per Facebook è così:\n\n```text\nLocation: https://graph.facebook.com/oauth/authorize?type=web_server&client_id=YOUR_APP_ID&redirect_uri=https%3A%2F%2Fauth.example.com%2Foauth%2Ffacebook%2F&scope=email&state=mwn8dxrxawfhtu3sc9\n```\n\nControlla che:\n\n- `client_id` sia l'**App ID** che hai inserito in OpenAuth.\n- `redirect_uri` sia il tuo endpoint di callback pubblico, con `https://`, esattamente come l'hai registrato presso il provider.\n\n**4.** Per provare l'accesso completo, apri l'indirizzo di accesso in un browser entro 15 minuti, accedi e leggi il profilo con `test-1`:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/?id=test-1\"\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjQI2Wl61f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/recipes/check-provider/","project":"openauth","version":"1-0","section":"recipes","language":"sk","title":"Kontrola poskytovateľa cez curl","summary":"Spusti prihlásenie ručne a skontroluj token, rozšírenie a adresu, ktorá ide poskytovateľovi.","markdown":"---\ntitle: \"Kontrola poskytovateľa cez curl\"\nproject: OpenAuth\nversion: 1.0\nsection: recipes\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/recipes/check-provider/\nupdated: 2026-11-19T09:22:03.917Z\n---\n\n# Kontrola poskytovateľa cez curl\n\n> Spusti prihlásenie ručne a skontroluj token, rozšírenie a adresu, ktorá ide poskytovateľovi.\n\nSkôr než pripojíš aplikáciu, môžeš nastavenie skontrolovať z terminálu. Potrebuješ [token aplikácie](../../guides/app-tokens/) a nakonfigurovaného poskytovateľa.\n\n**1.** Spusti prihlásenie:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" -H \"Content-Type: application/json\" \\\n  -d '{\"serviceid\":\"facebook\",\"sessionid\":\"test-1\",\"url\":\"https://www.example.com/auth/\"}' \\\n  https://auth.example.com/\n```\n\nOpenAuth odpovie adresou na prihlásenie:\n\n```json\n\"https://auth.example.com/login/mwn8dxrxawfhtu3sc9/\"\n```\n\nChyba v tomto kroku ukazuje na token alebo `serviceid`. Pozri si [Chyby](../../reference/errors/).\n\n**2.** Zisti, kam adresa na prihlásenie posiela používateľa, bez toho, aby si ju nasledoval:\n\n```bash\ncurl -s -o /dev/null -D - https://auth.example.com/login/mwn8dxrxawfhtu3sc9/\n```\n\n**3.** Prečítaj riadok `Location`. Pri Facebooku vyzerá takto:\n\n```text\nLocation: https://graph.facebook.com/oauth/authorize?type=web_server&client_id=YOUR_APP_ID&redirect_uri=https%3A%2F%2Fauth.example.com%2Foauth%2Ffacebook%2F&scope=email&state=mwn8dxrxawfhtu3sc9\n```\n\nSkontroluj, že:\n\n- `client_id` je **App ID**, ktoré si zadal v OpenAuth.\n- `redirect_uri` je tvoja verejná adresa spätného volania s `https://`, presne tak, ako si ju zaregistroval u poskytovateľa.\n\n**4.** Ak chceš vyskúšať celé prihlásenie, otvor adresu na prihlásenie v prehliadači do 15 minút, prihlás sa a prečítaj profil s `test-1`:\n\n```bash\ncurl -H \"x-token: YOUR_APP_TOKEN\" \"https://auth.example.com/sessions/?id=test-1\"\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T09:22:03.917Z"}
{"id":"JapjPf1wl61f","url":"https://totaljs.es/docs/openauth/1-0/faq/sign-in/","project":"openauth","version":"1-0","section":"faq","language":"en","title":"Sign-in","summary":"Questions about sign-ins, sessions and tokens.","markdown":"---\ntitle: Sign-in\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/faq/sign-in/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Sign-in\n\n> Questions about sign-ins, sessions and tokens.\n\n## My app gets 401 although the token is right. Why?\n\nAfter more than five requests with a wrong token from one IP address, OpenAuth blocks that address for up to 15 minutes, for every request that needs a token. Fix the token in your app, wait, and try again. Requests from other addresses are not affected.\n\n## How long does a user have to sign in?\n\n15 minutes from the moment your app calls `POST /`. Your app must also read the profile within that time.\n\n## The user came back but /sessions/ answers 404. Why?\n\nThe session has expired, OpenAuth was restarted while the user was signing in, or the session ID does not match the one your app sent. Start the sign-in again.\n\n## Can I sign users in without a return address?\n\nYes. Leave out `url` in `POST /`. The user sees a page that says they have logged in, and your app reads the profile with its session ID. See [Start a sign-in](../../reference/start-sign-in/).\n\n## Does OpenAuth remember users?\n\nNo. It keeps each profile only until the session expires and writes a line in the [sign-in log](../../guides/sign-in-logs/). Your app stores its users.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
{"id":"JapjPf1wl61f-de","url":"https://totaljs.es/docs/de/openauth/1-0/faq/sign-in/","project":"openauth","version":"1-0","section":"faq","language":"de","title":"Anmeldung","summary":"Fragen zu Anmeldungen, Sitzungen und Tokens.","markdown":"---\ntitle: Anmeldung\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/faq/sign-in/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Anmeldung\n\n> Fragen zu Anmeldungen, Sitzungen und Tokens.\n\n## Meine App bekommt 401, obwohl das Token stimmt. Warum?\n\nNach mehr als fünf Anfragen mit falschem Token von einer IP-Adresse sperrt OpenAuth diese Adresse für bis zu 15 Minuten, und zwar für jede Anfrage, die ein Token braucht. Korrigiere das Token in deiner App, warte und versuch es noch einmal. Anfragen von anderen Adressen sind nicht betroffen.\n\n## Wie viel Zeit hat jemand für die Anmeldung?\n\n15 Minuten ab dem Moment, in dem deine App `POST /` aufruft. Auch deine App muss das Profil in dieser Zeit lesen.\n\n## Die Person ist zurückgekommen, aber /sessions/ antwortet 404. Warum?\n\nDie Sitzung ist abgelaufen, OpenAuth wurde während der Anmeldung neu gestartet, oder die Sitzungs-ID passt nicht zu der, die deine App gesendet hat. Starte die Anmeldung neu.\n\n## Kann ich Leute ohne Rücksprungadresse anmelden?\n\nJa. Lass `url` in `POST /` weg. Die Person sieht eine Seite, die sagt, dass sie angemeldet ist, und deine App liest das Profil mit ihrer Sitzungs-ID. Siehe [Eine Anmeldung starten](../../reference/start-sign-in/).\n\n## Merkt sich OpenAuth die Benutzer?\n\nNein. Es behält jedes Profil nur, bis die Sitzung abläuft, und schreibt eine Zeile ins [Anmeldeprotokoll](../../guides/sign-in-logs/). Deine Benutzer speichert deine App.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
{"id":"JapjPf1wl61f-es","url":"https://totaljs.es/docs/es/openauth/1-0/faq/sign-in/","project":"openauth","version":"1-0","section":"faq","language":"es","title":"Inicio de sesión","summary":"Preguntas sobre los inicios de sesión, las sesiones y los tokens.","markdown":"---\ntitle: \"Inicio de sesión\"\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/faq/sign-in/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Inicio de sesión\n\n> Preguntas sobre los inicios de sesión, las sesiones y los tokens.\n\n## Mi app recibe 401 aunque el token es correcto. ¿Por qué?\n\nDespués de más de cinco peticiones con un token incorrecto desde una misma dirección IP, OpenAuth bloquea esa dirección hasta 15 minutos para todas las peticiones que necesitan token. Corrige el token en tu app, espera y vuelve a intentarlo. Las peticiones desde otras direcciones no se ven afectadas.\n\n## ¿Cuánto tiempo tiene un usuario para iniciar sesión?\n\n15 minutos desde que tu app llama a `POST /`. Tu app también tiene que leer el perfil dentro de ese tiempo.\n\n## El usuario ha vuelto, pero /sessions/ responde 404. ¿Por qué?\n\nLa sesión ha caducado, OpenAuth se reinició mientras el usuario iniciaba sesión, o el ID de sesión no coincide con el que envió tu app. Vuelve a empezar el inicio de sesión.\n\n## ¿Puedo iniciar la sesión de los usuarios sin dirección de retorno?\n\nSí. No incluyas `url` en `POST /`. El usuario ve una página que le dice que ha iniciado sesión, y tu app lee el perfil con su ID de sesión. Consulta [Empieza un inicio de sesión](../../reference/start-sign-in/).\n\n## ¿OpenAuth recuerda a los usuarios?\n\nNo. Guarda cada perfil solo hasta que caduca la sesión y escribe una línea en el [registro de inicios de sesión](../../guides/sign-in-logs/). Es tu app la que guarda sus usuarios.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
{"id":"JapjPf1wl61f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/faq/sign-in/","project":"openauth","version":"1-0","section":"faq","language":"fr","title":"Connexion","summary":"Les questions sur les connexions, les sessions et les jetons.","markdown":"---\ntitle: Connexion\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/faq/sign-in/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Connexion\n\n> Les questions sur les connexions, les sessions et les jetons.\n\n## Mon application reçoit 401 alors que le jeton est correct. Pourquoi ?\n\nAprès plus de cinq requêtes avec un mauvais jeton depuis une même adresse IP, OpenAuth bloque cette adresse pendant 15 minutes au maximum, pour toutes les requêtes qui demandent un jeton. Corrige le jeton dans ton application, attends, puis réessaie. Les requêtes venant d’autres adresses ne sont pas concernées.\n\n## Combien de temps un utilisateur a-t-il pour se connecter ?\n\n15 minutes à partir du moment où ton application appelle `POST /`. Ton application doit aussi lire le profil dans ce délai.\n\n## L’utilisateur est revenu, mais /sessions/ répond 404. Pourquoi ?\n\nLa session a expiré, OpenAuth a été redémarré pendant que l’utilisateur se connectait, ou l’identifiant de session ne correspond pas à celui que ton application a envoyé. Relance la connexion.\n\n## Puis-je connecter des utilisateurs sans adresse de retour ?\n\nOui. Omets `url` dans `POST /`. L’utilisateur voit une page qui lui indique qu’il est connecté, et ton application lit le profil avec son identifiant de session. Consulte [Lancer une connexion](../../reference/start-sign-in/).\n\n## OpenAuth se souvient-il des utilisateurs ?\n\nNon. Il garde chaque profil seulement jusqu’à l’expiration de la session et écrit une ligne dans le [journal des connexions](../../guides/sign-in-logs/). C’est ton application qui enregistre ses utilisateurs.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
{"id":"JapjPf1wl61f-it","url":"https://totaljs.es/docs/it/openauth/1-0/faq/sign-in/","project":"openauth","version":"1-0","section":"faq","language":"it","title":"Accesso","summary":"Domande su accessi, sessioni e token.","markdown":"---\ntitle: Accesso\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/faq/sign-in/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Accesso\n\n> Domande su accessi, sessioni e token.\n\n## La mia app riceve 401 anche se il token è giusto. Perché?\n\nDopo più di cinque richieste con un token sbagliato da uno stesso indirizzo IP, OpenAuth blocca quell'indirizzo per un massimo di 15 minuti, per tutte le richieste che richiedono un token. Correggi il token nella tua app, aspetta e riprova. Le richieste da altri indirizzi non vengono toccate.\n\n## Quanto tempo ha un utente per accedere?\n\n15 minuti dal momento in cui la tua app chiama `POST /`. Anche la tua app deve leggere il profilo entro quel tempo.\n\n## L'utente è tornato ma /sessions/ risponde 404. Perché?\n\nLa sessione è scaduta, OpenAuth è stato riavviato mentre l'utente stava accedendo, oppure l'ID di sessione non corrisponde a quello inviato dalla tua app. Fai ripartire l'accesso.\n\n## Posso far accedere gli utenti senza un indirizzo di ritorno?\n\nSì. Non mettere `url` in `POST /`. L'utente vede una pagina che dice che ha effettuato l'accesso, e la tua app legge il profilo con il suo ID di sessione. Leggi [Avviare un accesso](../../reference/start-sign-in/).\n\n## OpenAuth si ricorda degli utenti?\n\nNo. Tiene ogni profilo solo finché la sessione non scade e scrive una riga nel [log degli accessi](../../guides/sign-in-logs/). Gli utenti li salva la tua app.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
{"id":"JapjPf1wl61f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/faq/sign-in/","project":"openauth","version":"1-0","section":"faq","language":"sk","title":"Prihlásenie","summary":"Otázky o prihláseniach, reláciách a tokenoch.","markdown":"---\ntitle: \"Prihlásenie\"\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/faq/sign-in/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Prihlásenie\n\n> Otázky o prihláseniach, reláciách a tokenoch.\n\n## Moja aplikácia dostáva 401, hoci je token správny. Prečo?\n\nPo viac ako piatich požiadavkách s nesprávnym tokenom z jednej IP adresy OpenAuth túto adresu zablokuje až na 15 minút, a to pre každú požiadavku, ktorá potrebuje token. Oprav token vo svojej aplikácii, počkaj a skús to znova. Požiadavok z iných adries sa to netýka.\n\n## Koľko času má používateľ na prihlásenie?\n\n15 minút od chvíle, keď tvoja aplikácia zavolá `POST /`. V tomto čase musí tvoja aplikácia aj prečítať profil.\n\n## Používateľ sa vrátil, ale /sessions/ odpovedá 404. Prečo?\n\nRelácia vypršala, OpenAuth sa reštartoval, kým sa používateľ prihlasoval, alebo sa ID relácie nezhoduje s tým, ktoré poslala tvoja aplikácia. Začni prihlásenie znova.\n\n## Môžem prihlasovať používateľov bez návratovej adresy?\n\nÁno. Vynechaj `url` v `POST /`. Používateľ uvidí stránku s oznámením, že je prihlásený, a tvoja aplikácia prečíta profil pomocou svojho ID relácie. Pozri si [Spustenie prihlásenia](../../reference/start-sign-in/).\n\n## Pamätá si OpenAuth používateľov?\n\nNie. Každý profil uchováva len do vypršania relácie a zapíše riadok do [logu prihlásení](../../guides/sign-in-logs/). Používateľov si ukladá tvoja aplikácia.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
{"id":"JapjPd1ul61f","url":"https://totaljs.es/docs/openauth/1-0/faq/providers/","project":"openauth","version":"1-0","section":"faq","language":"en","title":"Providers","summary":"Questions about extensions and provider settings.","markdown":"---\ntitle: Providers\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/faq/providers/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Providers\n\n> Questions about extensions and provider settings.\n\n## Which providers can I use?\n\nFacebook is included. Google, Apple, GitHub, LinkedIn, Dropbox, VKontakte and Yandex are premium extensions from Total.js; ask at [totaljs.com/support](https://www.totaljs.com/support/). Import them in [Extensions](../../guides/extensions/).\n\n## The provider says the redirect address is not allowed. What now?\n\nThe callback endpoint that OpenAuth sends must match the one registered at the provider exactly. Open **Configure** on the extension and compare the **Documentation** box with the provider's settings. If it shows `http://` or an internal address, OpenAuth does not see your public address; see [Run in production](../../guides/production/).\n\n## Can I use one provider app for several of my apps?\n\nYes. The provider knows only OpenAuth. All your apps use the same extension, each with its own [app token](../../guides/app-tokens/).\n\n## I changed the App ID. Do I need to restart?\n\nNo. The next sign-in uses the new settings.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
{"id":"JapjPd1ul61f-de","url":"https://totaljs.es/docs/de/openauth/1-0/faq/providers/","project":"openauth","version":"1-0","section":"faq","language":"de","title":"Anbieter","summary":"Fragen zu Erweiterungen und Anbieter-Einstellungen.","markdown":"---\ntitle: Anbieter\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/faq/providers/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Anbieter\n\n> Fragen zu Erweiterungen und Anbieter-Einstellungen.\n\n## Welche Anbieter kann ich nutzen?\n\nFacebook ist dabei. Google, Apple, GitHub, LinkedIn, Dropbox, VKontakte und Yandex sind Premium-Erweiterungen von Total.js; frag unter [totaljs.com/support](https://www.totaljs.com/support/) danach. Importiere sie unter [Erweiterungen](../../guides/extensions/).\n\n## Der Anbieter sagt, die Weiterleitungsadresse ist nicht erlaubt. Was jetzt?\n\nDer Callback-Endpunkt, den OpenAuth sendet, muss genau mit dem übereinstimmen, den du beim Anbieter registriert hast. Öffne **Configure** bei der Erweiterung und vergleiche das Feld **Documentation** mit den Einstellungen des Anbieters. Zeigt es `http://` oder eine interne Adresse, sieht OpenAuth deine öffentliche Adresse nicht; siehe [Im Produktivbetrieb](../../guides/production/).\n\n## Kann ich eine Anbieter-App für mehrere meiner Apps nutzen?\n\nJa. Der Anbieter kennt nur OpenAuth. Alle deine Apps nutzen dieselbe Erweiterung, jede mit ihrem eigenen [App-Token](../../guides/app-tokens/).\n\n## Ich habe die App ID geändert. Muss ich neu starten?\n\nNein. Die nächste Anmeldung nutzt schon die neuen Einstellungen.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
{"id":"JapjPd1ul61f-es","url":"https://totaljs.es/docs/es/openauth/1-0/faq/providers/","project":"openauth","version":"1-0","section":"faq","language":"es","title":"Proveedores","summary":"Preguntas sobre las extensiones y los ajustes de los proveedores.","markdown":"---\ntitle: Proveedores\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/faq/providers/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Proveedores\n\n> Preguntas sobre las extensiones y los ajustes de los proveedores.\n\n## ¿Qué proveedores puedo usar?\n\nFacebook viene incluido. Google, Apple, GitHub, LinkedIn, Dropbox, VKontakte y Yandex son extensiones premium de Total.js; pregunta en [totaljs.com/support](https://www.totaljs.com/support/). Impórtalas en [Extensiones](../../guides/extensions/).\n\n## El proveedor dice que la dirección de redirección no está permitida. ¿Y ahora qué?\n\nEl endpoint de retorno que envía OpenAuth tiene que coincidir exactamente con el que registraste en el proveedor. Abre **Configure** en la extensión y compara el cuadro **Documentation** con los ajustes del proveedor. Si muestra `http://` o una dirección interna, OpenAuth no ve tu dirección pública; consulta [Ponlo en producción](../../guides/production/).\n\n## ¿Puedo usar una sola app del proveedor para varias de mis apps?\n\nSí. El proveedor solo conoce OpenAuth. Todas tus apps usan la misma extensión, cada una con su propio [token de app](../../guides/app-tokens/).\n\n## He cambiado el App ID. ¿Tengo que reiniciar?\n\nNo. El siguiente inicio de sesión ya usa los ajustes nuevos.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
{"id":"JapjPd1ul61f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/faq/providers/","project":"openauth","version":"1-0","section":"faq","language":"fr","title":"Fournisseurs","summary":"Les questions sur les extensions et les réglages des fournisseurs.","markdown":"---\ntitle: Fournisseurs\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/faq/providers/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Fournisseurs\n\n> Les questions sur les extensions et les réglages des fournisseurs.\n\n## Quels fournisseurs puis-je utiliser ?\n\nFacebook est inclus. Google, Apple, GitHub, LinkedIn, Dropbox, VKontakte et Yandex sont des extensions premium de Total.js ; demande-les sur [totaljs.com/support](https://www.totaljs.com/support/). Importe-les dans [Extensions](../../guides/extensions/).\n\n## Le fournisseur dit que l’adresse de redirection n’est pas autorisée. Que faire ?\n\nLe point de retour (callback) qu’OpenAuth envoie doit correspondre exactement à celui enregistré chez le fournisseur. Ouvre **Configure** sur l’extension et compare l’encadré **Documentation** avec les réglages du fournisseur. S’il affiche `http://` ou une adresse interne, OpenAuth ne voit pas ton adresse publique ; consulte [Exécuter en production](../../guides/production/).\n\n## Puis-je utiliser une seule application chez le fournisseur pour plusieurs de mes applications ?\n\nOui. Le fournisseur ne connaît qu’OpenAuth. Toutes tes applications utilisent la même extension, chacune avec son propre [jeton d’application](../../guides/app-tokens/).\n\n## J’ai changé l’App ID. Dois-je redémarrer ?\n\nNon. La connexion suivante utilise les nouveaux réglages.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
{"id":"JapjPd1ul61f-it","url":"https://totaljs.es/docs/it/openauth/1-0/faq/providers/","project":"openauth","version":"1-0","section":"faq","language":"it","title":"Provider","summary":"Domande sulle estensioni e sulle impostazioni dei provider.","markdown":"---\ntitle: Provider\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/faq/providers/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Provider\n\n> Domande sulle estensioni e sulle impostazioni dei provider.\n\n## Quali provider posso usare?\n\nFacebook è incluso. Google, Apple, GitHub, LinkedIn, Dropbox, VKontakte e Yandex sono estensioni premium di Total.js; chiedile su [totaljs.com/support](https://www.totaljs.com/support/). Importale in [Estensioni](../../guides/extensions/).\n\n## Il provider dice che l'indirizzo di reindirizzamento non è consentito. E ora?\n\nL'endpoint di callback che OpenAuth invia deve corrispondere esattamente a quello registrato presso il provider. Apri **Configure** sull'estensione e confronta il riquadro **Documentation** con le impostazioni del provider. Se mostra `http://` o un indirizzo interno, OpenAuth non vede il tuo indirizzo pubblico; leggi [Usare in produzione](../../guides/production/).\n\n## Posso usare una sola app del provider per più app mie?\n\nSì. Il provider conosce solo OpenAuth. Tutte le tue app usano la stessa estensione, ognuna con il suo [token dell'app](../../guides/app-tokens/).\n\n## Ho cambiato l'App ID. Devo riavviare?\n\nNo. L'accesso successivo usa già le nuove impostazioni.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
{"id":"JapjPd1ul61f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/faq/providers/","project":"openauth","version":"1-0","section":"faq","language":"sk","title":"Poskytovatelia","summary":"Otázky o rozšíreniach a nastaveniach poskytovateľov.","markdown":"---\ntitle: Poskytovatelia\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/faq/providers/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Poskytovatelia\n\n> Otázky o rozšíreniach a nastaveniach poskytovateľov.\n\n## Ktorých poskytovateľov môžem použiť?\n\nFacebook je súčasťou aplikácie. Google, Apple, GitHub, LinkedIn, Dropbox, VKontakte a Yandex sú prémiové rozšírenia od Total.js; opýtaj sa na [totaljs.com/support](https://www.totaljs.com/support/). Importuješ ich v [Rozšíreniach](../../guides/extensions/).\n\n## Poskytovateľ hlási, že adresa presmerovania nie je povolená. Čo teraz?\n\nAdresa spätného volania (callback endpoint), ktorú OpenAuth posiela, sa musí presne zhodovať s tou, ktorú si zaregistroval u poskytovateľa. Otvor **Configure** pri rozšírení a porovnaj pole **Documentation** s nastaveniami poskytovateľa. Ak ukazuje `http://` alebo internú adresu, OpenAuth nevidí tvoju verejnú adresu; pozri si [Prevádzka v produkcii](../../guides/production/).\n\n## Môžem použiť jednu aplikáciu u poskytovateľa pre viac svojich aplikácií?\n\nÁno. Poskytovateľ pozná len OpenAuth. Všetky tvoje aplikácie používajú to isté rozšírenie, každá s vlastným [tokenom aplikácie](../../guides/app-tokens/).\n\n## Zmenil som App ID. Musím reštartovať?\n\nNie. Nasledujúce prihlásenie použije nové nastavenia.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
{"id":"JapjPc1sl61f","url":"https://totaljs.es/docs/openauth/1-0/faq/admin-access/","project":"openauth","version":"1-0","section":"faq","language":"en","title":"Admin access","summary":"Questions about the primary access token and the admin interface.","markdown":"---\ntitle: Admin access\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openauth/1-0/faq/admin-access/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Admin access\n\n> Questions about the primary access token and the admin interface.\n\n## I lost the primary access token. How do I get in?\n\n**1.** Stop OpenAuth.\n\n**2.** Open `databases/memorize_data.json` in a text editor. In the `\"config\"` section, remove the `\"token\"` line. Leave the `\"token\"` lines under `\"tokens\"` alone: those are your app tokens.\n\n```json\n\"config\": {\n\t\"name\": \"OpenAuth\",\n\t\"totalapi\": \"\",\n\t\"op_reqtoken\": \"\",\n\t\"op_restoken\": \"\"\n}\n```\n\nKeep the JSON valid: no comma after the last line of a section.\n\n**3.** Start OpenAuth. The admin interface opens without a token.\n\n**4.** Set a new primary access token at once. See [Protect the admin interface](../../guides/protect-admin/).\n\nYour app tokens, extensions and provider settings stay as they are.\n\n## Why does the root address show only a name?\n\nOnce a primary access token is set, `/` shows the name from **Configuration**. The admin interface is at `/setup/?token=YOUR_PRIMARY_TOKEN`.\n\n## Can several people manage OpenAuth?\n\nEveryone with the primary access token has full access. Share it only with people you trust, and change it when someone leaves. Your apps use their own [app tokens](../../guides/app-tokens/), never the primary one.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
{"id":"JapjPc1sl61f-de","url":"https://totaljs.es/docs/de/openauth/1-0/faq/admin-access/","project":"openauth","version":"1-0","section":"faq","language":"de","title":"Admin-Zugang","summary":"Fragen zum primären Zugangstoken und zur Admin-Oberfläche.","markdown":"---\ntitle: Admin-Zugang\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openauth/1-0/faq/admin-access/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Admin-Zugang\n\n> Fragen zum primären Zugangstoken und zur Admin-Oberfläche.\n\n## Ich habe das primäre Zugangstoken verloren. Wie komme ich wieder rein?\n\n**1.** Stoppe OpenAuth.\n\n**2.** Öffne `databases/memorize_data.json` in einem Texteditor. Entferne im Abschnitt `\"config\"` die Zeile `\"token\"`. Lass die Zeilen `\"token\"` unter `\"tokens\"` in Ruhe: Das sind deine App-Tokens.\n\n```json\n\"config\": {\n\t\"name\": \"OpenAuth\",\n\t\"totalapi\": \"\",\n\t\"op_reqtoken\": \"\",\n\t\"op_restoken\": \"\"\n}\n```\n\nAchte darauf, dass das JSON gültig bleibt: kein Komma nach der letzten Zeile eines Abschnitts.\n\n**3.** Starte OpenAuth. Die Admin-Oberfläche öffnet sich ohne Token.\n\n**4.** Leg sofort ein neues primäres Zugangstoken fest. Siehe [Die Admin-Oberfläche schützen](../../guides/protect-admin/).\n\nDeine App-Tokens, Erweiterungen und Anbieter-Einstellungen bleiben, wie sie sind.\n\n## Warum zeigt die Stammadresse nur einen Namen?\n\nSobald ein primäres Zugangstoken festgelegt ist, zeigt `/` den Namen aus **Configuration**. Die Admin-Oberfläche findest du unter `/setup/?token=YOUR_PRIMARY_TOKEN`.\n\n## Können mehrere Personen OpenAuth verwalten?\n\nAlle, die das primäre Zugangstoken haben, haben vollen Zugriff. Gib es nur an Menschen weiter, denen du vertraust, und ändere es, wenn jemand geht. Deine Apps nutzen ihre eigenen [App-Tokens](../../guides/app-tokens/), nie das primäre.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
{"id":"JapjPc1sl61f-es","url":"https://totaljs.es/docs/es/openauth/1-0/faq/admin-access/","project":"openauth","version":"1-0","section":"faq","language":"es","title":"Acceso de administración","summary":"Preguntas sobre el token de acceso principal y la interfaz de administración.","markdown":"---\ntitle: \"Acceso de administración\"\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openauth/1-0/faq/admin-access/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Acceso de administración\n\n> Preguntas sobre el token de acceso principal y la interfaz de administración.\n\n## He perdido el token de acceso principal. ¿Cómo entro?\n\n**1.** Detén OpenAuth.\n\n**2.** Abre `databases/memorize_data.json` en un editor de texto. En la sección `\"config\"`, borra la línea `\"token\"`. No toques las líneas `\"token\"` que hay dentro de `\"tokens\"`: son tus tokens de app.\n\n```json\n\"config\": {\n\t\"name\": \"OpenAuth\",\n\t\"totalapi\": \"\",\n\t\"op_reqtoken\": \"\",\n\t\"op_restoken\": \"\"\n}\n```\n\nMantén el JSON válido: sin coma después de la última línea de una sección.\n\n**3.** Inicia OpenAuth. La interfaz de administración se abre sin token.\n\n**4.** Pon enseguida un token de acceso principal nuevo. Consulta [Protege la interfaz de administración](../../guides/protect-admin/).\n\nTus tokens de app, tus extensiones y los ajustes de los proveedores siguen como estaban.\n\n## ¿Por qué la dirección raíz solo muestra un nombre?\n\nEn cuanto pones un token de acceso principal, `/` muestra el nombre de **Configuration**. La interfaz de administración está en `/setup/?token=YOUR_PRIMARY_TOKEN`.\n\n## ¿Pueden administrar OpenAuth varias personas?\n\nTodo el que tenga el token de acceso principal tiene acceso completo. Compártelo solo con personas de confianza y cámbialo cuando alguien se vaya. Tus apps usan sus propios [tokens de app](../../guides/app-tokens/), nunca el principal.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
{"id":"JapjPc1sl61f-fr","url":"https://totaljs.es/docs/fr/openauth/1-0/faq/admin-access/","project":"openauth","version":"1-0","section":"faq","language":"fr","title":"Accès à l’administration","summary":"Les questions sur le jeton d’accès principal et l’interface d’administration.","markdown":"---\ntitle: \"Accès à l’administration\"\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openauth/1-0/faq/admin-access/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Accès à l’administration\n\n> Les questions sur le jeton d’accès principal et l’interface d’administration.\n\n## J’ai perdu le jeton d’accès principal. Comment revenir dans l’application ?\n\n**1.** Arrête OpenAuth.\n\n**2.** Ouvre `databases/memorize_data.json` dans un éditeur de texte. Dans la section `\"config\"`, supprime la ligne `\"token\"`. Ne touche pas aux lignes `\"token\"` sous `\"tokens\"` : ce sont les jetons de tes applications.\n\n```json\n\"config\": {\n\t\"name\": \"OpenAuth\",\n\t\"totalapi\": \"\",\n\t\"op_reqtoken\": \"\",\n\t\"op_restoken\": \"\"\n}\n```\n\nGarde un JSON valide : pas de virgule après la dernière ligne d’une section.\n\n**3.** Démarre OpenAuth. L’interface d’administration s’ouvre sans jeton.\n\n**4.** Définis tout de suite un nouveau jeton d’accès principal. Consulte [Protéger l’interface d’administration](../../guides/protect-admin/).\n\nLes jetons de tes applications, les extensions et les réglages des fournisseurs restent tels quels.\n\n## Pourquoi l’adresse racine n’affiche-t-elle qu’un nom ?\n\nDès qu’un jeton d’accès principal est défini, `/` affiche le nom saisi dans **Configuration**. L’interface d’administration se trouve à `/setup/?token=YOUR_PRIMARY_TOKEN`.\n\n## Plusieurs personnes peuvent-elles gérer OpenAuth ?\n\nToute personne qui a le jeton d’accès principal a un accès complet. Ne le partage qu’avec des personnes de confiance, et change-le quand quelqu’un s’en va. Tes applications utilisent leurs propres [jetons d’application](../../guides/app-tokens/), jamais le jeton principal.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
{"id":"JapjPc1sl61f-it","url":"https://totaljs.es/docs/it/openauth/1-0/faq/admin-access/","project":"openauth","version":"1-0","section":"faq","language":"it","title":"Accesso di amministrazione","summary":"Domande sul token di accesso principale e sull'interfaccia di amministrazione.","markdown":"---\ntitle: Accesso di amministrazione\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openauth/1-0/faq/admin-access/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Accesso di amministrazione\n\n> Domande sul token di accesso principale e sull'interfaccia di amministrazione.\n\n## Ho perso il token di accesso principale. Come rientro?\n\n**1.** Ferma OpenAuth.\n\n**2.** Apri `databases/memorize_data.json` in un editor di testo. Nella sezione `\"config\"`, elimina la riga `\"token\"`. Non toccare le righe `\"token\"` sotto `\"tokens\"`: sono i token delle tue app.\n\n```json\n\"config\": {\n\t\"name\": \"OpenAuth\",\n\t\"totalapi\": \"\",\n\t\"op_reqtoken\": \"\",\n\t\"op_restoken\": \"\"\n}\n```\n\nMantieni il JSON valido: nessuna virgola dopo l'ultima riga di una sezione.\n\n**3.** Avvia OpenAuth. L'interfaccia di amministrazione si apre senza token.\n\n**4.** Imposta subito un nuovo token di accesso principale. Leggi [Proteggere l'interfaccia di amministrazione](../../guides/protect-admin/).\n\nI token delle app, le estensioni e le impostazioni dei provider restano come sono.\n\n## Perché l'indirizzo principale mostra solo un nome?\n\nUna volta impostato un token di accesso principale, `/` mostra il nome indicato in **Configuration**. L'interfaccia di amministrazione si trova in `/setup/?token=YOUR_PRIMARY_TOKEN`.\n\n## Più persone possono gestire OpenAuth?\n\nChiunque abbia il token di accesso principale ha accesso completo. Condividilo solo con persone di cui ti fidi e cambialo quando qualcuno se ne va. Le tue app usano i loro [token delle app](../../guides/app-tokens/), mai quello principale.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
{"id":"JapjPc1sl61f-sk","url":"https://totaljs.es/docs/sk/openauth/1-0/faq/admin-access/","project":"openauth","version":"1-0","section":"faq","language":"sk","title":"Prístup do administrácie","summary":"Otázky o hlavnom prístupovom tokene a administrácii.","markdown":"---\ntitle: \"Prístup do administrácie\"\nproject: OpenAuth\nversion: 1.0\nsection: faq\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openauth/1-0/faq/admin-access/\nupdated: 2026-11-19T09:21:59.894Z\n---\n\n# Prístup do administrácie\n\n> Otázky o hlavnom prístupovom tokene a administrácii.\n\n## Stratil som hlavný prístupový token. Ako sa dostanem dnu?\n\n**1.** Zastav OpenAuth.\n\n**2.** Otvor `databases/memorize_data.json` v textovom editore. V sekcii `\"config\"` odstráň riadok `\"token\"`. Riadky `\"token\"` pod `\"tokens\"` nechaj tak: to sú tvoje tokeny aplikácií.\n\n```json\n\"config\": {\n\t\"name\": \"OpenAuth\",\n\t\"totalapi\": \"\",\n\t\"op_reqtoken\": \"\",\n\t\"op_restoken\": \"\"\n}\n```\n\nDbaj na to, aby JSON zostal platný: za posledným riadkom sekcie nesmie byť čiarka.\n\n**3.** Spusti OpenAuth. Administrácia sa otvorí bez tokenu.\n\n**4.** Hneď nastav nový hlavný prístupový token. Pozri si [Ochrana administrácie](../../guides/protect-admin/).\n\nTvoje tokeny aplikácií, rozšírenia a nastavenia poskytovateľov zostanú tak, ako sú.\n\n## Prečo koreňová adresa ukazuje len názov?\n\nKeď je hlavný prístupový token nastavený, `/` ukazuje názov z **Configuration**. Administrácia je na `/setup/?token=YOUR_PRIMARY_TOKEN`.\n\n## Môže OpenAuth spravovať viac ľudí?\n\nKaždý, kto má hlavný prístupový token, má plný prístup. Zdieľaj ho len s ľuďmi, ktorým dôveruješ, a zmeň ho, keď niekto odíde. Tvoje aplikácie používajú vlastné [tokeny aplikácií](../../guides/app-tokens/), nikdy nie ten hlavný.\n","entries":[],"license":"MIT","updated":"2026-11-19T09:21:59.894Z"}
