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.
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
/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.package.json
by removing the unneeded things.Dockerfile
of/bot