diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-05-04 10:48:45 -0400 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-05-04 10:49:05 -0400 |
| commit | 60550de93e761d5ea4956f504d0b18680ce137cd (patch) | |
| tree | 00b96765f2eb5c100c0626cddb3cc05265c1b5bc /README.md | |
| parent | b2748a5c55255014d5d5ea02fec38c4125e08e25 (diff) | |
| download | freeso-discord-auth-60550de93e761d5ea4956f504d0b18680ce137cd.tar.gz freeso-discord-auth-60550de93e761d5ea4956f504d0b18680ce137cd.tar.bz2 freeso-discord-auth-60550de93e761d5ea4956f504d0b18680ce137cd.zip | |
Docker support; Logout button
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,5 @@ -# bnbso-auth -Web authentication for bnbSO (registering accounts, changing passwords) using Discord authentication. Designed for FreeSO-based servers. +# freeso-discord-auth +Web authentication for FreeSO (registering accounts, changing passwords) using Discord authentication. To install dependencies: @@ -13,4 +13,7 @@ To run: bun run index.js ``` +# How this works? +The website requires to log into Discord, and it checks if the user is on a specific server (as defined on the .env file). Then it checks if the user is registered on a local database, if not then it prompts the user to register a FreeSO account. After, once the user registers the account, it makes a POST request to `/userapi/registration`. Otherwise, if the user is registered, then it redirects the user to the dashboard which has options to change the password and download the client. + This project was created using `bun init` in bun v1.1.38. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime. |
