Questions tagged [authentication]
Authentication is the process of providing a proof of identity or verifying identity.
authentication
76,139
questions
0
votes
1
answer
60
views
ASP.NET Core AddJwtBearer TimeProvider: TimeTravel proof Token Verification
We're trying to speed up some integration tests (.NET 8) by jumping into the future (by using our IClock abstraction).
This by itself works fine, but after creating a new JWT token, which also has ...
-3
votes
0
answers
25
views
How can I restrict a normal user from accessing a page content that should be accessed by a certain category of people i.e have a special id? [closed]
I'm working on a crime reporting web app. A citizen(who is the normal user) submits a crime report that is fed into the database. A security agent(with a special id) is supposed to view the reports ...
2
votes
0
answers
26
views
AutoRefresh/Logout in Directus SDK fails (400 Bad Request - refresh_token is required in either JSON payload or Cookie)
I am trying to set up an authentication logic using Directus SDK and Next.js for the front end.
Here is the directus.js which contains the initial SDK configuration:
const directus = createDirectus(...
0
votes
0
answers
9
views
The react native app shows an error when we've implemented the sign in & sign out
So we was linking the existing aws amplify back-end in the cloud which is the authentication part to the react native (Enable sign-up, sign-in, and sign-out, https://docs.amplify.aws/gen1/react-native/...
1
vote
1
answer
39
views
(Cypress) "list" argument must be an Array of Buffers
I'm trying to use the speakeasy library to authenticate with a Cypress Automation.
This is the auth code generator code:
const token = speakeasy.totp({
secret: '(my secret key)',
encoding: '...
0
votes
0
answers
39
views
how to login with Azure devops workload identity service connection using azure cli
how do it get this $AZURE_FEDERATED_TOKEN_FILE value while executing this in CMD?
az login --federated-token "$(cat $AZURE_FEDERATED_TOKEN_FILE)" --service-principal -u $AZURE_CLIENT_ID -t $...
0
votes
1
answer
23
views
How can I have a different method instead of user.is_authenticated? [duplicate]
I have an academy website , which has 3 different kinds of users. The first one is the staff that I handle with the admin panel. The second one is parents or people who are going to get some ...
-1
votes
0
answers
31
views
What's wrong with my code? Firebase create account
I am trying to create a button so the user can input their email and password and pass recaptcha to create an account with Firebase. Would like to add the option of signing up with Microsoft or Google....
0
votes
0
answers
19
views
I cannot get magic links to work properly + protected routes
I've been trying to setup supabase auth to work with magic links for days now. I cannot seem to understand what the issue is, please see below:
Basically when the magic link is opened, it looks like ...
1
vote
0
answers
17
views
How to implement login and registration module in node and react with passportjs
I want to know like there is a three pages login registration and home now I want like before signup or sign in user should not be able to access home page now how to implement that like normally and ...
0
votes
1
answer
60
views
Can login as superuser but not as normal user
i have made a super user and registering other users. but only able to log in as superuser and when i try to login as normal user its shows "Invalid phone number or password".
Can someone ...
0
votes
1
answer
21
views
dj-rest-auth with JWT (problem with login functionality)
I have problem with login functionality, when the first time I log in it returns csrf_token, access_token and refresh_token . and it works fine till the expiration time. I know when the access token ...
0
votes
0
answers
40
views
How to authenticate blob storage data while running a job script on Azure Machine Learning
I'm not able to access my data in ADLS gen2 blob container when I try to run a python script for data preprocessing in Azure Machine Learning Workspace. I'm working on a ML pipeline but I cant seem to ...
-2
votes
1
answer
159
views
Spring Security Warning: How to Fix AuthenticationProvider vs. UserDetailsService Configuration?
I’m encountering a warning when starting my Spring Boot application with Spring Security configuration. The warning message is:
WARN [ restartedMain] r$InitializeUserDetailsManagerConfigurer : Global ...
0
votes
1
answer
39
views
Syntax on accessing authorization header of an API request in node
const authHeader = req.headers["authorization"];
Apologies if this question may seem basic, but I am curious why we use ["authorization"] and not just .authorization
I did some ...