Im trying to implement RBAC in my react app, Im using nodejs for backend which works perfectly fine, and in react Im using vite and react-router-dom v ...
Im trying to implement RBAC in my react app, Im using nodejs for backend which works perfectly fine, and in react Im using vite and react-router-dom v ...
I am currently developing a web application using SignalR Core. I am using an AuthorizeAttribute (without roles) to ensure only authenticated users wi ...
I need to get access/refresh pair (or at least access) tokens from a custom REST endpoint. So in general I need programmatically create a user sessio ...
From this source: RESTAssured - use .pfx certificate for https call I created below. @Test void testPfxKey() { // Source: https://sta ...
I am trying the below minimal configuration of the spring security authorization server: https://docs.spring.io/spring-authorization-server/docs/curr ...
I have a mobile app, which needs to call a REST API. Here is my code: This gives me error 401 (Unauthorized). I may be wrong, but it seems to me th ...
I'm doing a project to learn full stack development using MERN stack. I'm using jwt token for authentication. Here is what I sent to the client and st ...
I have a view class inherited from RetrieveUpdateDestroyAPIView. I need to have different permission classes for different method so I am over writing ...
I have this html + script code: and for some reason the fetch call doesn't work. I got the token when I logged in and got the data from the API: H ...
In ASP.NET Core 6+, if I want my own way of authorizing, it seems that I should implement an IAuthorizationRequirement and a handler that inherits fro ...
I made the login method like this: How can I create an endpoint for Logout? ...
I have created a react application which is calling a .net API as backend service. In my react app there are two ways to login, first is using usernam ...
I'm trying to make POST request on node.js to url, but always get ERROR 401 (Unauthorized). I'm tried to use btoa, however node.js does not support ...
I am currently having troubles using auth0.com to set up whole authentication process for my asp.net web api project (I didn't write any view part, ca ...
i am trying to have both grant-type in oAuth 2.0. because i need to setup some of my API methods need use client credentials since those are used in s ...
I am wondering how to best handle authorization when authorization depends on a specific request parameter with spring boot. In my specific scenario ...
Doing a lot of research I was not able to find a lot that made me be sure that this cannot work. As it’s stated that Each token can only access resou ...
I'm getting 401 unauthorized while using GET with JWT in header. For single role authorized doesn't work as well. SecurityService.cs - Generated rand ...
I am learing Django and Django REST Framework for project I recently added authorization/authentication in the Django project, and after that created ...
I'm building an expense tracker with Ruby on Rails 7. I used pundit gem to authorize each user to access only their own data. But still, when I try to ...