r-Techsupport / hyde

A web editor and CMS for Jekyll/git static sites.
GNU General Public License v3.0
4 stars 2 forks source link

Set up Discord oauth2 integration #4

Closed zleyyij closed 1 month ago

zleyyij commented 1 month ago

This'll probably require making use of the oauth2 crate, finally doing some sqlite schema stuff to store user data. This can be a stepping stone to making the API actually support permissions.

zleyyij commented 1 month ago

Partial progress

zleyyij commented 1 month ago

This is effectively done, I think the token system currently needs a lot more refinement, right now it sets the discord auth token directly on the client as a cookie instead of using some form of intermediate token.

zleyyij commented 1 month ago

While not 100% there, it's functional there, also known as "this code will never be touched again"