oAuth authentication #21
Labels
api
Issue related to api package
⭐ enhancement
Feature requests / improvements
panel
Issue related to panel
What is this for?
panel/api
Feature
User logins via oAuth using Auth.js. Most likely will only include Discord oAuth as users will need a linked discord account to use the panel.
Ideal solution or implementation
Since the panel isn't using solid-start (still very experimental) the API package will handle user authentication (via sessions?).
API will use @authjs/core for handling authentication from requests. Will need to create some custom hooks on Solid to handle auth client side (solid-start package in authjs?)
Other context
I may have to rethink how the API/Panel works together and how it will be deployed otherwise sessions may not be possible and JWTs might have to be used instead.
The text was updated successfully, but these errors were encountered: