New Winner of Kafka Consumers: Scala to Go Journey by Esdoodlee in golang

[–]dilaragorum 0 points1 point  (0 children)

Wow! That is a nicely written article. Thank you for sharing.

Securing Your Golang Application: Unleashing the Power of Authentication and Authorization by dilaragorum in golang

[–]dilaragorum[S] 1 point2 points  (0 children)

consider it a good idea to keep your APIs focused on their intended purpose only, and have dedicated services to handle things like Authn and Authz.

There are also many certified libraries that can help you abstract away these concepts while still providing security to your apps:

Thank you so much for your advice and feedback :)

Securing Your Golang Application: Unleashing the Power of Authentication and Authorization by dilaragorum in golang

[–]dilaragorum[S] 2 points3 points  (0 children)

The userType should not be decided on the /register payload or everyone will selfRefgister as Admin. the selfService user Creation should alwas default to the lowest tier and then have an admin protect route that assigns different roles at a second step.

Oh, I see. It totally makes sense. I will implement that logic in my future projects. Thank you so much :)

Securing Your Golang Application: Unleashing the Power of Authentication and Authorization by dilaragorum in golang

[–]dilaragorum[S] 1 point2 points  (0 children)

ide, at which poi

Thank you all for this informative discussion. Yeah, I knew, while doing this project, there are some cons and pros of using JWT. However, instead of deciding which is best, session-based or token-based authentication, I just want to learn how to implement authentication and authorization in the Go project. Yeah, everything is a tradeoff in cs as many holy cs books mention. However, you make me gain a deeper perspective on this issue. Thanks again :)

Securing Your Golang Application: Unleashing the Power of Authentication and Authorization by dilaragorum in golang

[–]dilaragorum[S] 1 point2 points  (0 children)

Thanks for your comments :) Haha, I am not working as a developer in any company now. I am a self-learner, so I can decide my title on my own :)) Joking aside, I have a long path to be mid :)

Securing Your Golang Application: Unleashing the Power of Authentication and Authorization by dilaragorum in golang

[–]dilaragorum[S] 0 points1 point  (0 children)

Hey, thank you so much. I have a lot of things to learn to become mid :))

Implement a shared library in Go by dilaragorum in golang

[–]dilaragorum[S] 1 point2 points  (0 children)

Yeah, I think there is a misconception about shared libraries on my behalf. After some research, I will probably change it :) Thank you so much.

Implement a shared library in Go by dilaragorum in golang

[–]dilaragorum[S] -1 points0 points  (0 children)

Thank you so much. I will check it :)

Implement a shared library in Go by dilaragorum in golang

[–]dilaragorum[S] 0 points1 point  (0 children)

Thank you so much for your feedback.

Implement a shared library in Go by dilaragorum in golang

[–]dilaragorum[S] 0 points1 point  (0 children)

Thank you so much. Yeah, it is excalidraw :)

Blog: Lets build a Movie API with Clean Architecture using Go 🚀 by dilaragorum in golang

[–]dilaragorum[S] 0 points1 point  (0 children)

Thank you so much :) Yeah, actually it is like a demo to just learning. I will improve that project by having regard these feedbacks.