{"repo":"gbv/login-server","free":true,"listed":false,"github":"https://github.com/gbv/login-server","clone":"git clone https://github.com/gbv/login-server.git","description":"Login and connect accounts with multiple identity providers","language":"JavaScript","stars":34,"topics":["coli-conc","oauth","service","web-application","ts4nfdi"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Login Server This repository offers a login server to be used with the Cocoda Mapping Tool. It allows users to authenticate using different providers (e.g. GitHub, ORCID). See for an example on how you could use this. Table of Contents - Install - Dependencies - Clone and Install - Docker - Configuration - .env - providers.json - applications.json - Usage - Test - Strategies - Providers - Notes on MediaWiki providers - Notes on OpenIDConnect providers - Notes on Script providers - Notes on LDAP providers - JWTs - Web interface - GET / - GET /account - GET /sessions - GET /login - GET /login/:provider - POST /login/:provider - GET /disconnect/:provider - GET /logout - GET /delete - POST /delete - OAuth endpoint - GET /login/:provider/return - HTTP API - GET /about - GET /providers - GET /currentUser - GET /users/:id - PATCH /users/:id - DELETE /sessions - DELETE /sessions/:id - GET /token - WebSocket - Event types - Authenticate request - Example Usage - Maintainers - Contribute - Publish - Related Works - License Install Dependencies login-server requires Node.js ( = v18, v20 recommended) and access to a MongoDB database ( = v5, v7 recommended). Clone and Install Docker login-server is also available via Docker. Please refer to the documentation at https://github.com/gbv/login-server/blob/master/docker/README.md for more details. Configuration If running the server behind a reverse proxy, make sure to include the X-Forwarded-Proto header, allow all HTTP methods, and enable We","default_branch":null,"files":null,"tree":[],"storefront":"/r/gbv","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gbv/login-server/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}