All Projects → passport → todos-express-openidconnect

passport / todos-express-openidconnect

Licence: Unlicense license
Todo app using Express, Passport, and SQLite for sign in via OpenID Connect.

Programming Languages

CSS
56736 projects
javascript
184084 projects - #8 most used programming language
EJS
674 projects

Projects that are alternatives of or similar to todos-express-openidconnect

Node Openid Client
OpenID Certified™ Relying Party (OpenID Connect/OAuth 2.0 Client) implementation for Node.js.
Stars: ✭ 887 (+6235.71%)
Mutual labels:  passport, openid-connect
Passport
Simple, unobtrusive authentication for Node.js.
Stars: ✭ 19,608 (+139957.14%)
Mutual labels:  passport, openid-connect
egg-passport-local
wrap passport-local strategy for egg-passport
Stars: ✭ 44 (+214.29%)
Mutual labels:  passport
angular-openid-connect-php
Angular & PHP CodeIgniter server through OAuth 2.0 OpenID Connect
Stars: ✭ 14 (+0%)
Mutual labels:  openid-connect
oidc-client-bound-assertions-spec
An extension of OpenID Connect for credential issuance
Stars: ✭ 13 (-7.14%)
Mutual labels:  openid-connect
node-jose-tools
Command line tools for node-jose's features
Stars: ✭ 29 (+107.14%)
Mutual labels:  openid-connect
auth-backends
Custom authentication backends and views for edX services
Stars: ✭ 20 (+42.86%)
Mutual labels:  openid-connect
Builderbook
Open source web application to learn JS stack: React, Material-UI, Next.js, Node.js, Express.js, Mongoose, MongoDB database.
Stars: ✭ 3,015 (+21435.71%)
Mutual labels:  passport
jax-rs-pac4j
Security library for JAX-RS and Jersey
Stars: ✭ 48 (+242.86%)
Mutual labels:  openid-connect
Multitenancy-Microservice-FederatedIdentity-Example
Multitenancy Federated Identity Example ASP.NET MVC C#
Stars: ✭ 33 (+135.71%)
Mutual labels:  openid-connect
TradeByte
💸 TradeByte - Stocks Trading Simulation WebApp
Stars: ✭ 30 (+114.29%)
Mutual labels:  passport
AspNetCore6Experiments
ASP.NET Core Blazor BFF with Azure AD and Razor page
Stars: ✭ 43 (+207.14%)
Mutual labels:  openid-connect
vue-nuxt-passport-bulma-express-boiler
A Vue+Vuex starter with Nuxt scaffolding, Bulma styling, and Express backend.
Stars: ✭ 21 (+50%)
Mutual labels:  passport
passport-activedirectory
Active Directory strategy for passport.js
Stars: ✭ 28 (+100%)
Mutual labels:  passport
undertow-pac4j
Security library for Undertow: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 35 (+150%)
Mutual labels:  openid-connect
oidc
Easy to use OpenID Connect client and server library written for Go and certified by the OpenID Foundation
Stars: ✭ 475 (+3292.86%)
Mutual labels:  openid-connect
core
UBIC: The crypto currency providing UBI for the masses using the E-Passport
Stars: ✭ 37 (+164.29%)
Mutual labels:  passport
hyouka
Um bot open-source com dashboard incluída
Stars: ✭ 12 (-14.29%)
Mutual labels:  passport
react-redux-passport-uikit-express-boiler
A React+Redux boilerplate using Express as backend, UIKit for frontend, MongoDB for storage & Passport for auth.
Stars: ✭ 59 (+321.43%)
Mutual labels:  passport
graphql-server-typescript
GraphQL + MongoDB express server with JWT authorization (in Typescript!)
Stars: ✭ 48 (+242.86%)
Mutual labels:  passport

todos-express-openidconnect

This app illustrates how to use Passport with Express to sign users in via OpenID Connect. Use this example as a starting point for your own web applications.

Quick Start

To run this app, clone the repository and install dependencies:

$ git clone https://github.com/passport/todos-express-openidconnect.git
$ cd todos-express-openidconnect
$ npm install

This app must be configured with an OpenID Provider (OP)'s endpoints, as well as a client ID and secret that has been issued by the OP.

The endpoints should be set as options to OpenIDConnectStrategy in routes/auth.js.

Once the client ID and secret have been obtained, create a .env file and add the following environment variables:

CLIENT_ID=__INSERT_CLIENT_ID_HERE__
CLIENT_SECRET=__INSERT_CLIENT_SECRET_HERE__

Start the server.

$ npm start

Navigate to http://localhost:3000.

Overview

This example illustrates how to use Passport and the passport-openidconnect strategy within an Express application to sign users in via OpenID Connect.

This app implements the features of a typical TodoMVC app, and adds sign in functionality. This app is a traditional web application, in which all application logic and data persistence is handled on the server.

User interaction is performed via HTML pages and forms, which are rendered via EJS templates and styled with vanilla CSS. Data is stored in and queried from a SQLite database.

After users sign in, a login session is established and maintained between the server and the browser with a cookie. As authenticated users interact with the app, creating and editing todo items, the login state is restored by authenticating the session.

License

The Unlicense

Credit

Created by Jared Hanson

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].