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

[Task] Basic Authentication #39

Closed
Tracked by #9
connordoman opened this issue Oct 25, 2023 · 3 comments · Fixed by #80
Closed
Tracked by #9

[Task] Basic Authentication #39

connordoman opened this issue Oct 25, 2023 · 3 comments · Fixed by #80
Assignees
Labels
area/back-end Back-end work feat New feature or request

Comments

@connordoman
Copy link
Contributor

#33 uncovered possible issues with stateful authentication in Next.js.

@tthvo did some reading and uncovered passportjs as a possible alternative. Next.js has docs regarding this and other stateless libraries:

There are some quirks with middleware in Next.js and I don't have much experience with it specifically, so I will do some experimentation.

@connordoman connordoman added area/back-end Back-end work area/front-end Front-end work feat New feature or request labels Oct 25, 2023
@connordoman connordoman self-assigned this Oct 25, 2023
@tthvo
Copy link
Contributor

tthvo commented Oct 25, 2023

#33 (comment)

@tthvo tthvo changed the title [Task] Research stateless auth for Next.js [Task] Basic Authentication Oct 25, 2023
@tthvo tthvo removed the area/front-end Front-end work label Oct 25, 2023
@tthvo
Copy link
Contributor

tthvo commented Oct 25, 2023

@tthvo
Copy link
Contributor

tthvo commented Oct 25, 2023

To generate a user credential files, you use Apache htpasswd or it's module mirror: https://www.npmjs.com/package/htpasswd

connordoman added a commit that referenced this issue Nov 9, 2023
feat(auth): API endpoint + middleware for basic auth
@connordoman connordoman linked a pull request Nov 9, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/back-end Back-end work feat New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants