Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/developerjosh/blues-auth
This is a basic auth website built for my servers
https://github.com/developerjosh/blues-auth
authentication-backend website
Last synced: about 5 hours ago
JSON representation
This is a basic auth website built for my servers
- Host: GitHub
- URL: https://github.com/developerjosh/blues-auth
- Owner: DeveloperJosh
- Created: 2024-08-10T06:16:23.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-08-15T00:37:41.000Z (3 months ago)
- Last Synced: 2024-08-15T20:15:09.652Z (3 months ago)
- Topics: authentication-backend, website
- Language: JavaScript
- Homepage: https://auth.blue-dev.xyz
- Size: 1.18 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# To Do.
- Add a terms of service and privacy policy: Create and enforce terms of service and privacy policy pages.
# Working on.
- Implement audit logs for security-sensitive actions: Track and log actions like account deletions, role changes, and 2FA setups for security audits.
# Dropped for now.
- Implement OAuth2 for third-party login providers: Add support for logging in with Google, Facebook, GitHub, etc.
# Completed.
- Added login page.
- Added registration page.
- Added forgot password page.
- Added reset password functionality.
- Added show/hide password feature.
- Added Api key authentication for sso when added.
- Added 2FA functionality.
- Added email verification on registration: Send verification emails to new users to confirm their email addresses.
- Added SSO functionality: Users can now use this auth server on any other application.# How do i use sso on my application?
Just head over to the [documentation](https://github.com/DeveloperJosh/Blues-auth-sso/blob/main/README.md)
# Cloning the repository
```bash
git clone https://github.com/DeveloperJosh/Blues-auth.git
```# Making .env file
```plaintext
MONGODB_URI="mongodb://localhost:27017/Blues-auth"
JWT_SECRET="secret"
EMAIL_USER="your-email"
EMAIL_PASS="your-password"
EMAIL_HOST="smtp.hostinger.com"
EMAIL_PORT=465
NEXT_PUBLIC_INTERNAL_SECRET_TOKEN="secret"
NEXT_PUBLIC_BASE_URL="http://localhost:3000"
```# Running the application
```bash
cd Blues-auth
npm install
npm start
```