Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

-1 votes
0 answers
20 views

req.headers.authorization is undefined

So I've been trying to implement JWT authorization for my project, and there's this specific step that I've been stuck for hours... So I have a middleware setup to try and verify the access token ...
BabyBeginner's user avatar
0 votes
0 answers
11 views

Blank page when protecting route with react router [duplicate]

I have followed several guides and questions on stack overflow with no luck. I want to set up protected routes, so going to example /highscores would redirect user to /login if not signed in. ...
catfish's user avatar
  • 63
-1 votes
0 answers
35 views

Can't access data from sqlite db with js

I'm trying js from the first time and want to make a website, I need to get data from a users database to verify them but i can't figure out how const sqlite3 = require('sqlite3').verbose(); var sql; ...
Manos's user avatar
  • 1
0 votes
1 answer
60 views

How to access private key of a passkey on the client?

I am building an app with sveltekit and I have decided to implement passkeys as a form of authentication. So, I started researching about them and found out that in their foundation is the concept of ...
standard's user avatar
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: '...
octavio González Censori's user avatar
-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....
J P's user avatar
  • 1
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 ...
Taran's user avatar
  • 1
0 votes
1 answer
34 views

Unable to Sign In with Keycloak using NextAuth in Next.js Application [next-auth][error][SIGNIN_OAUTH_ERROR]

I'm trying to set up authentication for my Next.js application using NextAuth and Keycloak. Despite following the documentation, I'm encountering an issue when attempting to sign in with Keycloak. My ...
J.K.A.'s user avatar
  • 7,402
-1 votes
2 answers
26 views

Passport JS + React application internal 500 errro

I am creating a general chat application with react, and am stuck while trying to authenticate a user. The axios post request raises a 500 error that I cannot track anywhere. When I put in correct ...
Mac Pickle's user avatar
-1 votes
0 answers
14 views

I am trying to print the data of my form in html and check if the user password is same ans confirm password [closed]

I tried this and my console just gave me two empty lines for the console.log(password.value) and console.log(confirm_pass.value) Also I get an error about 'incorrect use of <label for=form_Element&...
nikhil chobhiyal's user avatar
1 vote
1 answer
26 views

How to Ensure that Clicks on <li> Element in Nav Bar Correctly Redirect Authenticated Users to the Dashboard Page?

I'm experiencing an issue with my web application where clicking on an account icon behaves inconsistently. When I click near the edge of the account icon, it correctly redirects to the dashboard page....
BrainDebugger's user avatar
0 votes
2 answers
34 views

How to fetch the URL in streamlit? when I use oauth2.0 to generate the access token

I have used oauth2.0 implicit flow to authenticate and generate the access token using IAM and internal service provider, I can see the access token generated in the URL but I'm not ale to fetch that ...
Ramyashree S's user avatar
1 vote
3 answers
73 views

I want to make refresh token API call every 60 minutes

I currently have a refresh token API call every 60 minutes, Here is my condition: **const expires_in = 3600 //This is 3600s comes from auth api if (refreshToken && expires_in * 1000 > ...
Waqas Ahmed's user avatar
0 votes
0 answers
13 views

I have issue authorizing my jsonwebtoken how do i go about it?

Hi please i need assistance i tried sending the token i generated using postman it failed and on my terminal is showed jsonwebtoken malformed im lost i need a hand thanks youenter image description ...
Igor Mmih's user avatar
-1 votes
1 answer
50 views

How to fix an internal server error when authenticating with Auth.js (next-auth v5)

In my Next.js project, I want to add authentication with next-auth@5 -beta. When I sign in using the google account, it gives 500 internal server error.(http://localhost:3000/api/auth/error?error=...
Nouman Younas's user avatar

15 30 50 per page
1
2 3 4 5
267