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

oAuth authentication #21

Open
iAverages opened this issue Feb 3, 2023 · 0 comments
Open

oAuth authentication #21

iAverages opened this issue Feb 3, 2023 · 0 comments
Labels
api Issue related to api package ⭐ enhancement Feature requests / improvements panel Issue related to panel

Comments

@iAverages
Copy link
Owner

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.

@iAverages iAverages added ⭐ enhancement Feature requests / improvements api Issue related to api package panel Issue related to panel labels Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to api package ⭐ enhancement Feature requests / improvements panel Issue related to panel
Projects
None yet
Development

No branches or pull requests

1 participant