engineering-portal
engineering-portal copied to clipboard
Using JWT for Authentication in Golang
Hi @raghunath-r-a I would be interested in working on this blog as I have some experience in using JWT tokens in Golang.
Hi @sasagarw
This is now assigned to you. Please proceed with an outline and then drafting the blog post.
If you're stuck anywhere or having doubts, please do let us know.
Hi @sasagarw Can you please let us know your progress on this?
Hi @raghunath-r-a, Can I take this up and work on it?
@morelmiles sure, please create an outline and share with us. After we collaboratively finalize the outline, you can draft and submit the content. Sounds good?
yes it does. i'll share once i'm done with the outline.
Here's the layout.
- A bullet list of what's to be learnt by going through the tutorial.
- What is authentication?
- What is JWT and how does it work.
- Prerequisites to know before starting the tutorial
- A section about the projet setup and dependencies
- Code implementation of a simple app with auth -- using gin, postgres and a jwt package
- Test the routes (login and register) using Postman before adding jwt as an auth helper. (Attach screenshots of the postman responses)
- Add jwt and test the routes in Postman again.
- Concluding remarks.
@raghunath-r-a let me know what you think.
Hi @morelmiles The outline looks good. While drafting your content, please ensure to cover the following as well:
- securing/protecting routes
- handling post-authentication routes
- renewing the token
Please use the following guidelines for drafting and submitting your content:
- https://github.com/LoginRadius/engineering-portal/blob/main/GUIDELINES.md
- https://github.com/LoginRadius/engineering-portal/blob/main/CONTRIBUTING.md
Best, @raghunath-r-a
Hi @morelmiles May I please know your progress on this?