Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor and simplify verification process #17

Merged
merged 3 commits into from
Jun 5, 2024
Merged

Conversation

ankith26
Copy link
Member

From a user perspective, this change aims to simplify the verification process by removing one step of the browser-side verification. The Discord OAuth2 mechanism just to read the users discord ID has been removed now (as this information is already available on the /bot side).

From a development perspective, here are the changes made in this PR

  • Add a private web server in /bot that /portal makes a call to after CAS login, supplying the name, email and roll number. Now, all db handling is done on the /bot side, as here the Discord ID is known.
  • Also removes some dead code, cleans up package.json by removing the unneeded things.
  • Bump python to 3.12 in the Dockerfile of /bot

- Simplify the verification process by removing the oauth2 step.
- Add a private web server in /bot that /portal makes a call to after CAS login.
- Now, all db handling is done on the /bot side.
- Also removes some dead code, and updates README
Also updates package-lock.json
@ankith26 ankith26 merged commit f0e06cd into master Jun 5, 2024
1 check passed
@ankith26 ankith26 deleted the ankith26-new-verify branch June 5, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant