Category "authentication"

Nuxt.js custom role middleware doesn't work when page refresh

I have a simple application with some pages that need to be protected if the connected user is not an administrator. I use the nuxt/auth package to handle the a

Respond with status code 401 on authentication failure using Laravel and Passport?

I'm configuring a Laravel project to use Passport token authentication. Everything seems to be working, but when the auth:api middleware fails, it responds to t

Flutter login page authentication using mysql

I am trying to connect my login page so that it fetches data from my users table in mysql and logs the user in but I am having some problems with my code Futu

returns 403(forbidden) when using authentication scheme in .net core

I am doing authentication in my web application with JWT Security Tokens and a custom authentication scheme. I'm generating tokens when a user login I created

Next.js Authentication with JWT

I am moving a project from React to Next.js and was wondering if the same authentication process is okay. Basically, the user enters their username and password

How do I implement authentication and authorization for my employees in asp.net web app?

I am developing a web app for my employees to manage some critical admin pages. What type of identity and access management I can use? how do I implement Authen

Django Rest Framework - prevent access to API?

I'm using Django Rest Framework and Token Authentication. Everything works great so far. http://www.django-rest-framework.org/api-guide/authentication#tokenaut

How to escape @ in a password in pymongo connection?

My question is a specification of how can i validate username password for mongodb authentication through pymongo?. I'm trying to connect to a MongoDB instance

Authorization Required - Error 401 only in firefox

I made a website and put it on a local Linux server. I can access it without problem on Chrome and IE but firefox outputs this : Authorization Required

"Full authentication is required to access this resource" on spring oauth2 authorization server on /oauth/token request

I'm trying to create a page that will hold some user data that may be accessed through some client webpage. That brought me to oauth2 (authorization code) and S

How to center a component in MUI and make it responsive?

I don't quite understand the React Material-UI grid system. If I want to use a form component for login, what is the easiest way to center it on the screen on a

AWS Cognito; unauthorized_client error when hitting /oauth2/token

Steps taken so far: Set up new user pool in cognito Generate an app client with no secret; let's call its id user_pool_client_id Under the user pool client set

AWS Cognito; unauthorized_client error when hitting /oauth2/token

Steps taken so far: Set up new user pool in cognito Generate an app client with no secret; let's call its id user_pool_client_id Under the user pool client set

Authentication between different applications through sessions (React + Express)?

I'm developing a React + Express website and I'm in doubt on how to implement the login functionality since it depends on another application. Let me explain it

FastAPI: security with firebase token

I'm following this tutorial to create an api backend. I use firebase authentication: user input email and password at frontend front sends the info to firebase

Spring boot security, always redirects to login page, if navigate through address bar

I have a react project, and the security works fine untill I navigate within page - i.e. clicking buttons etc. But, if I refresh page, or input url directly int

vbscript - SQL Windows Authentication - different user

I want to read data from an SQL Database in my VBS Script. My problem: I need to logon with Windows Authentication and not with an SQL Account. But I cannot use

password protect prometheus access [closed]

I am using prometheus to graph stats on my server. The problem is that that annybody can access the graphs from http://my.Ip.Adress:port/index

WebDAV return 401 - How to authenticate?

I have a problem with WebDAV. I have to get a list of files. I have this request: <?xml version="1.0"?> <D:searchrequest xmlns:D = "DAV:"> <D:sq

Laravel 9: change table and fields for authentication and login

I have changed the table and the Laravel Breeze fields for authentication to some custom ones. It looks fine but in AuthenticatedSessionController.php while I g