-
Notifications
You must be signed in to change notification settings - Fork 45
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
lastlogin for dev mode #775
base: main
Are you sure you want to change the base?
Conversation
Deploying chatcraft-org with Cloudflare Pages
|
@humphd it's neither here nor there. https://jsr.io/@pomdtr/lastlogin solves as many problems as it introduces, but I think it would be a great student project to make it into a generic oauth lib for us. Most of the code is hacks to deal with integrating this lib into our existing codebase. Overall quality of our auth code is heavy on copy-pasta, a little terrifying tho I found no bugs yet However overall safety and ergonomics of this style of fetch wrapper are kind of amazing compared to alternatives |
This is a lot more minimal than our auth in terms of effort. I'm 99% sure that lastlogin lib is just generic oauth that needs to be generalized a little, so it can support google/github directly