Back
Similar todos
Researched, read up on PHP API authentication - normal user auth for login/signup is simple enough but protecting api endpoints and access control is the key step to moving fwd for my approach #indiejourney #decodingcoding
Copied over my auth code to my "Let's Read" repo, so now that project has auth (user registration, signing in and out, auth-protected API endpoints)
Felt great upon waking up after taking 300mcg melatonin last night before bed; today getting login working: figured out how to translate the email/password validators used in Let's Go Further to Huma's way of doing input validation so the API will return an error if the email/password don't pass basic sanity checks; figured out how to return a 404 error with Huma if the user isn't found in the database; got the code working that checks the supplied password against the hashed password in the db and returns a 401 error if they don't match; pushed pass my normal 2-hour daily work limit to get the endpoint working (returning a token) so I can move on to something else because this sucks. Next up (tomorrow): get the front-end to receive/save the auth token and send it when signing in / etc. #govuetifytemplate
Make an iced cocoa (20g of pure cocoa, so as much caffeine as a cup of tea) by myself for the first time in my life; spent a ridiculous amount of time trying to figure out how to get Go to store my user password hashed; ran into an issue using the 'air' live reloader where it wasn't working after I redid the project structure, and it didn't have useful error messages or documentation to help me figure out what setting I needed to set to get it to work again; got past the air issue, it turns out I had to specify the directories to watch and without any leading "./"; created a user via the Vuetify app and confirmed that the password is hashed on the backend; created a Stack Overflow Q&A explaining how I fixed the issue for future newbies; committed my code. Set a goal for tomorrow: implement the authenticationHandler.
Figure out how to authenticate and use betterworldbooks API #pagesonpages
Read up on auth implementation
Go: Switched my existing 'hello world' route/handler to use huma as a way of familiarizing myself with huma; checked out the huma-auto-generated /docs endpoint; spent ~90 minutes debugging an issue w/ how I defined a handler b/c the error message was not at all helpful; got POST /api/users (new user registration endpoint) working with the new setup (chi/huma).
- spent a lot of time researching the differences between GitHub App and OAuth App. Realized i am completely lost and that codecov apparently somehow uses both. So spent another 30 mins looking at upwork and codementor to find advisors on GitHub App differences ✅ #greendeploy
Figure out how to implement OAuth2 forwarding for #netlistat.
Got auth working on my "let's play" repo by copying the code from my "let's read" repo
study + implement an auth system with JWT for the first time #glife
Spent an hour reading some of [the backend code][1] for a Go / Vue chat app I saw posted to Reddit, as a way of trying to build familiarity with how my Go / Vue projects should be structured / work.
[1]: github.com/wizzldev/backend/
Started going through the "Let's Go" ebook, started my first Go web app.
Basic OAuth flow working 💪#simplegoalz
Learn how OAuth and REST APIs work
Struggling with authentication at #reinvent