When building an API, securing your data is just as important as exposing it. This post walks you through how to implement authentication and role-based access control in GraphQL using Golang, with a powerful feature called GraphQL Directives. We’ll learn how to: Authenticate users using JWT Restrict query access using roles Use @auth directives to handle access control directly in the … Continue reading Securing GraphQL in Golang using Directives for Authentication & Authorization
Category: Authorization
Real-Time Communication with Twilio 2-Way SMS in Ruby on Rails Application
Two-way SMS communication has become a must-have feature for modern applications, enabling real-time, interactive messaging experiences. Whether it’s for sending OTPs, notifications, or enabling customer support, two-way SMS allows businesses to engage with users directly and effectively. Twilio, with its powerful and easy-to-use API, simplifies the process of integrating SMS functionality into your applications. In … Continue reading Real-Time Communication with Twilio 2-Way SMS in Ruby on Rails Application
It’s Time To Secure Your Way Of Doing OAuth For SPA & Native Apps
When clients like mobile, desktop, single page applications allow the user to sign-in using a third party application (google, facebook, twitter etc), one of the first choice is to use OAuth 2.0 standard with authorization code flow. In Authorization code flow, authorization request is made via browser and an authorization code is returned to the … Continue reading It’s Time To Secure Your Way Of Doing OAuth For SPA & Native Apps
