Category "authentication"

"SSL.CERTIFICATE_VERIFY_FAILED: Self signed certificate in certificate chain" in python with PROTOCOL_TLS_CLIENT

This was working fine when I was using PROTOCOL_TLS, but since it's deprecated, I'm trying to switch to PROTOCOL_TLS_CLIENT. The code goes as follows: sslSettin

TypeError: Cannot read properties of undefined (reading 'email')

I'm trying to authenticate user. Sign-up is working fine but in sign-in req.body.email is undefined and I can't figure out why. Here is my code for sign-in: rou

How to create an Authentication middleware for a Flutter app?

This is my home.dart code and I want to write an Authentication Middleware for my app. At the moment my main.dart code looks like this: void main() { Get.put(

Can't use local user with LDAP

I'm trying to integrate the apache superset with LDAP. with the configuration that I will provide below I can log in superset web with LDAP user but at the same

Django Rest Framework gives 302 in Unit tests when force_login() on detail view?

I'm using Django Rest Framework to serve an API. I've got a couple tests which work great. To do a post the user needs to be logged in and I also do some checks

Django Unable to login

Login and Log out is only working for admin panel , not for user panel , after loging in from user end , its not getting reflected in the home screen . The defa

How to use JWT stored in cookie in NEXT _middleware

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

RESTful API: how to distinguish users requests from front-end requests?

So, I have a RESTful API (built with Hapi.js) that has endpoints consumed by users and my front-end app (built with Next.js). GET api/candies is one of them, I'

run function in every login in laravel fortify

I am using Laravel 8 with Fortify. I saved user's emails and passwords into the database and I'm not going to use registration. Every time users log in, I need

Is Laravel Sanctum suitable to give API access to Third-party server?

We built an API (which currently contains just a single route) to give access to specific data to another company we are working with. The API calls this other

How do I properly set up Passport Google OAuth 2.0 with ExpressJS?

I am trying to set up some user authentication and want to use Google's OAuth2.0 to do so. So far, I have set up a Google API Project at console.cloud.google.co

Can not log into OpenWRT web interface with correct password

I just installed OpenWRT on my Netgear R6120 using the nighthawk firmware update option. Now I am not able to log into the status page of luci. I have used the

Firebase Auth getCurrentUser() retrieves a deleted user

Hello and thanks for your time. I've been working on an android app using Firebase. I've set up Firebase Authentication and the user can register with email a

Is there still a Microsoft Authenticator dev API? How can I use It?

I don't know exactly if I should ask this question here, neither if I'm using the exact right tags, but... I need to add a 2FA to a system I'm developing and, w

How can I import firebase app as browser module import?

I am trying to import firebase app (8.0.2) on the client side without bundler. I downladed the firebase-app.js from the CDN and host it on my server. The goal i

Issue with JWT token multiple simultaneously refresh with Refresh token

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

How to redirect to new page with Authorization Headers after login?

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

Error "dotnet : Could not find any project in `C:\**." when running "dotnet add package Microsoft.AspNetCore.Authentication.MicrosoftAccount"

I have visual studio 2019 and i created a new asp.net core 2.2 project. now i am following these steps Configure Microsoft Account Authentication to enable exte

Slack Bolt Verification with Oauth

I've been trying to work through this for a couple of days now. I have a slack app working in development using Slack/Bolt and the built in Express Server. In d

Can i use two different tables for login in my spring boot application by spring security?

In my current project I have two separate entities. User :- TO authenticate users Customer :- To authenticate customers I'm confuse How will we manage log