I'm using express-jwt to control the user privileges of my startup project, but I'm getting an error when I try to request access (using Postman) an api that on
I just finished implementing Google social authentication in my NextJS + DjangoRest project following this blog post. I am trying to figure out how to make prot
This question extends my last question and is primarily for me who might get stuck again. I'm trying to rebuild an app in Next.js that has this login form using
I am reading about JWKS and found information about the key rotation concept - https://developer.okta.com/docs/concepts/key-rotation/ Let's assume I use JWKS in
I am trying various Java Spring based security implementations as follows 1. JWT Authentication User access / Springboot identifies as protected resource and
Firebase ID token has invalid signature Hi all, I'm somehow new to NodeJS and I've only used Google Firebase a few times. Now, I'm trying to verify an idToken g
I have been thinking and searching many different approaches but I am not sure what is the best solution to solve this problem. Imagine you have 50 microservice
I am having some problems with understanding JWT in Cookie using Axios and FastAPI. I am trying to make a simple application with React for the frontend and Fas
To isolate the problem, I have created the famous Visual Studio default "weather forecast" .NET core project with angular and tried to make the Angular ClientAp
I have the following code and i want to understand what is the difference between those two extension methods. What each one do? services.AddAuthentication (Jw
I wrote a method that takes a JWT as a request and checks if the signature is valid. This is the unit test: @Test public void isValid() { final JwtValidator
I use NextAuth for signIn with discord provider and I need to add userID into the session object. For that I use session callback but user object is undefined.
Tools: .NET 6 with EF Core, Vue 3 with Axios. R-Token is Refresh Token. DB is database. I have simple implementation of JWT + Refresh Token auth. Client send Lo
I have a login page. On click of login button, the details are sent to server and are validated. A token is received in return after successful validation. I ne
I setup Identity Server 4 to issue JWT tokens to authenticate users. In Identity Server 4 I have setup the following: public class Resources { public stati
I am testing the apple server api. Everything works fine in the sandbox environment. But when I change the url from sandbox to prod environment, I only get 401
I'm working on a Docker-Django-Graphene-React stack where Django is the backend which receive GraphQL queries through Graphene from React which acts as the fron
i'm building an app with user login and register info. I use nuxt/auth module for handling the authentification. Whenever the user get logs in the state change
I am working with an ASP.NET web API project (not .NET Core). I want to add [Authorize(Roles="xx") to my controller action. But it seems not working (always 401
mvc.perform(MockMvcRequestBuilders.get("/PensionerDetailByAadhaar?aadhaarNumber=123").header("Authorization","Bearer "+token)).andExpect(status().isOk()); Here