Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ebrahimmfadae/openid-connect-app
Sample project for implementing OIDC server with a web application and an API service.
https://github.com/ebrahimmfadae/openid-connect-app
api authorization-server ejs koa mongodb oauth2 openid-connect password-grant resource resource-server service
Last synced: 4 months ago
JSON representation
Sample project for implementing OIDC server with a web application and an API service.
- Host: GitHub
- URL: https://github.com/ebrahimmfadae/openid-connect-app
- Owner: ebrahimmfadae
- License: mit
- Created: 2021-10-04T07:05:19.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-14T21:22:58.000Z (over 1 year ago)
- Last Synced: 2024-09-29T07:21:30.559Z (4 months ago)
- Topics: api, authorization-server, ejs, koa, mongodb, oauth2, openid-connect, password-grant, resource, resource-server, service
- Language: TypeScript
- Homepage:
- Size: 987 KB
- Stars: 30
- Watchers: 3
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenID Connect App
Sample project for implementing OIDC server with a web application and an API service.## Article reference
This repository is associated with an article series that provides a step-by-step guide on implementing OIDC ([OpenID Connect 1.0](https://openid.net/specs/openid-connect-core-1_0.html)) with Node.js, TypeScript, and MongoDB:
- [Series: Implementing OpenID with Node.js, TypeScript, and MongoDB - A Step-by-Step Guide](https://dev.to/ebrahimmfadae/setup-openid-with-nodejs-and-mongodb-451j)
- [Part I: Developing Simple OpenID Authorization Server with Node.js & Typescript](https://dev.to/ebrahimmfadae/develop-an-openid-server-with-nodejs-typescript-9n1)
- [Part II: Persisting OpenID Server Data on MongoDB with Node.js](https://dev.to/ebrahimmfadae/persist-openid-server-data-with-mongodb-5f95)
- [Part III: Adding Resource Server Authorization to OpenID with Node.js](https://dev.to/ebrahimmfadae/add-a-resource-server-to-an-openid-provider-noo)
- [Part IV: Configuring OpenID Security Settings in Node.js](https://dev.to/ebrahimmfadae/openid-security-configuration-4nn8)## Project requirements
The project has been developed and tested in the following environment:
```
$ node -v
v18.17.1$ yarn -v
v3.6.3$ docker --version
Docker version 20.10.7, build f0df350$ docker compose version
Docker Compose version v2.15.1
```## Getting started
**Install dependencies** Open a terminal and run the following command to install the project dependencies:
```
$ yarn install
```**Run containers** Start the project containers by running the command:
```
$ yarn compose:up
```You can see the front end by navigating to [http://localhost:3005](http://localhost:3005) with your browser.
**Stop containers** When you're done using the application, stop the containers by running the command:
```
$ yarn compose:down
```## How to contribute
If you have any suggestions or want to propose code changes, you can open an issue or create a pull request with your proposed changes. Feel free to make any further adjustments or additions to the README to suit your project's specific requirements and conventions.