https://github.com/techsavvyash/oidc-lite
Lightweight OIDC based auth service in NestJS
https://github.com/techsavvyash/oidc-lite
authentication oauth2 oidc
Last synced: 9 months ago
JSON representation
Lightweight OIDC based auth service in NestJS
- Host: GitHub
- URL: https://github.com/techsavvyash/oidc-lite
- Owner: techsavvyash
- License: mit
- Created: 2024-05-20T16:05:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-30T19:16:11.000Z (over 1 year ago)
- Last Synced: 2025-05-07T19:11:54.242Z (9 months ago)
- Topics: authentication, oauth2, oidc
- Language: TypeScript
- Homepage: https://techsavvyash.github.io/oidc-lite/
- Size: 9.26 MB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OIDC Lite
[](https://codecov.io/gh/Zolo-Ryan/stencil-oidc-wrapper)
[](https://github.com/Zolo-Ryan/stencil-oidc-wrapper/actions/workflows/ci.yml)
[](https://discord.com/channels/1258287843248308234/)
## Overview
OIDC Lite is an OIDC compliant authentication solution designed to offer a balance of necessary features from FusionAuth while ensuring efficient resource management and keeping things light weight.
## Features
- OIDC compliant authentication
- Multi Tenant Approach
- Efficient memory utilization
- Simplified setup
## Documentation
Please refer to [Docs](docs/README.md) for more info about this service.
## Local setup
### Clone
Clone the repository on your machine using
```bash
git clone https://github.com/bharatsahaiyak/bhasai-auth-service
```
### Install Dependencies
```bash
$ yarn install
```
### Setup Environment
```bash
cp .env.example .env
```
### Create the database file
```bash
touch /path/to/sqlitedb/as/per/env
```
### Run Migrations
```bash
npx prisma migrate deploy
```
### Running the app
```bash
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
# production mode with migrations
$ yarn run start:migrate:prod
```
### Test
```bash
# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:cov
```
## License
OIDC Lite is [MIT licensed](LICENSE).
## Acknowledgements
### Authors
- [Utkarsh](https://github.com/Zolo-Ryan)
- [Aashutosh](https://github.com/Ashu463)
- [Debatreya](https://github.com/Debatreya)
### Open Source tools:
- [NestJS](https://nestjs.com/)
- [Prisma](https://www.prisma.io/)
- [SQLite](https://www.sqlite.org/)