Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
35 views

I am using a spring boot as backend and react frontend to create a website and I am encountering an error when fetching a user profile using browser from the backend.After login i managed to generate ...
mohamed yusuph's user avatar
-4 votes
0 answers
90 views

I'm trying to make an simple chat website for a school project. The frontend is vanilla JS and backend is ASP DOTNET 8. It is now that I have a lot of trouble with authorization. Login and register ...
Tjeerd Evers's user avatar
0 votes
1 answer
68 views

I am trying to do a POST to an API endpoint api/auth/assign-role with this data : { "userId": "3d2243fc-8d32-4889-a7e2-624af56a3f91", "role": "Doctor" } ...
bibashmanjusubedi's user avatar
1 vote
0 answers
55 views

I am trying to define endpoints in a Litestar application in which authentication is optional, but am failing to understand how this can be accomplished with the JWTAuth security backend. With an ...
isgotkowitz's user avatar
Best practices
0 votes
0 replies
32 views

We currently have a new microservice that handles authentication, authorization (RBAC), and KYC as part of our v2 architecture. We also have an older legacy system (v1) which is fully monolithic — ...
Sahar Parsaifar's user avatar
-2 votes
0 answers
73 views

I'm implementing JWT Authentication in a full-stack (React + Node.js + Express) application. Login works, token is generated correctly, and the client sends it in the Authorization header. However, ...
Pranay Reddy's user avatar
3 votes
1 answer
102 views

I'm participating in an online Sudoku-solving challenge where you create an account, and the server gives you a JWT token. Every request (getting the board, submitting answers, etc.) must include that ...
Novice's user avatar
  • 55
0 votes
0 answers
57 views

I'm a beginner working on a team project and currently creating a "board" page in React + Spring Boot. I'm really confused because I keep getting a 401 Unauthorized error when submitting a ...
유연준's user avatar
0 votes
0 answers
26 views

List item [2025-11-19T14:03:33.645Z] Error: Failed to start the transport 'WebSockets': Error: WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not ...
Vansh Gupta's user avatar
0 votes
2 answers
84 views

This is TypeScript code that I wrote a couple of years ago: import { expressjwt } from "express-jwt"; import { Request } from 'express'; class Authentication { static loginRequired() { ...
Ethan Burrow Fairweather's user avatar
0 votes
0 answers
20 views

I'm building an authentication system in Node.js (Express + MongoDB), and I'm getting this error when verifying the access token: Error: jwt malformed at ... auth.middleware.js:38:15 Here is my ...
Akshat arya's user avatar
Best practices
1 vote
4 replies
85 views

Good day peeps, What's the purpose of having both a JWT and CSRF token stored in cookies? If a malicious actor steals/performs a replay attack, they will be authorized and receive the same data as the ...
Abrie's user avatar
  • 3
0 votes
0 answers
72 views

The purpose of this app is to have a template app I can use for multiple applications in the future, so I don't have redo all the authentication (and some database stuff) to focusing on building web ...
mr.w1sh's user avatar
1 vote
0 answers
33 views

I created a self-signed certificate and added it in power platform admin center using the following commands: $certificateName = "powerpages.yourdomain.com" $certPassword = ConvertTo-...
Ayush Mishra's user avatar
2 votes
1 answer
76 views

This is the code of AuthInterceptor which I use for triggering token refreshing. For safety (that I the interceptor of main dio instance won't attach accesstoken to refresh token api) I even use a ...
Sowban Muhammad's user avatar
1 vote
2 answers
116 views

I’m building a secure messaging app using FastAPI with JWT authentication and websockets. My issue is that after the client connects with a valid token, the websocket closes right away with code 1006. ...
Karima El Malti's user avatar
0 votes
1 answer
45 views

Problem Description I'm trying to set up GraphQL subscriptions in a Rails 7 backend using ActionCable. The subscription works from the Rails console — I can broadcast events and they are received. ...
Radosław Matteo Sakowicz's user avatar
0 votes
0 answers
44 views

I'm trying to make a package to download some data from host who implemented JWT authentication. Is this possible with stock SSIS components (as of 2025) ? I don't see dedicated API box for this, so ...
Mario Trento's user avatar
0 votes
1 answer
100 views

I am doing a Django project where I am using JWT token for authentication. But the problem is that two different JWT tokens are both valid with the same signature that is provided in the backend with ...
Nazmus Sakib Sibly's user avatar
0 votes
0 answers
19 views

I have a app where I am using JWT authentication. When I enter the details and click on the register button, the backend API correctly returns the token but in my console the token stays only for some ...
Ashley Ferns's user avatar
1 vote
1 answer
78 views

I am using jwt_tool (https://github.com/ticarpi/jwt_tool) and I want to make changes in the payload. But the problem here is that the value I want change is on second level if I may say that. here is ...
Danail Lesev's user avatar
0 votes
1 answer
109 views

I have an ASP.NET application (on .NET 4.5.2) where I want to use combined Windows authentication and JWT token auth. When the app starts, it calls an endpoint like this: /api/auth/token This ...
neca's user avatar
  • 129
2 votes
0 answers
85 views

I'm using NextAuth with a custom backend in my Next.js app. When I refresh the page, two refresh requests are sent almost simultaneously. The first request correctly calls /auth/refresh and gets a new ...
milad's user avatar
  • 133
0 votes
0 answers
80 views

I can't remember the last time I had this much difficulty getting a thing working. It may just not be possible. But I'm very new to Istio so I continue to believe I may just be doing it wrong. I've ...
codemonkey's user avatar
  • 2,683
0 votes
0 answers
200 views

I’ve configured Microsoft SSO with Apache Airflow using RSA-based authentication. The setup involves uploading the public key to the Azure App Registration, while Airflow holds the private key to ...
Sonic ilyas's user avatar
1 vote
1 answer
64 views

Today I ran into an issue with my Mac. I have an ASP.NET backend API which uses JWT authorization. It works completely fine on my Windows PC, but when I try to run it on my Macbook Pro M1 / Mac Mini ...
Zsombor Nagy's user avatar
1 vote
2 answers
67 views

Context I have a Spring Boot REST API acting as an OAuth2 Resource Server, configured with Spring Security 6. Salesforce is my external authorization server (IdP). The access token issued by ...
Kevin RAMAROZATOVO's user avatar
0 votes
0 answers
49 views

I'm at my wits end here. The browser is not providing the cookie on my fetch() request. I'm running a SpringBoot server on port 8081 and have set up my CORS like so: @Bean CorsConfigurationSource ...
DuncoChunko's user avatar
0 votes
1 answer
256 views

I’m building a Kotlin Multiplatform (KMP) app that runs on both Android and iOS. Currently, I’m storing the JWT token using Preferences DataStore on Android androidx.datastore.preferences.core ...
Pawandeep Singh's user avatar
0 votes
0 answers
86 views

I'm trying to consume secured rest endpoints in my application. I have the filters and all other stuff configured but when I try to consume any service passing the token always returns 403 FORBIDDEN ...
Daniel López's user avatar
3 votes
2 answers
106 views

I am working on a Spring Boot application and there I use JWE - tokens. When generating these tokens I serialize a given DTO. As an example, the generation of an AccessToken looks like this: public ...
LaggyLogic's user avatar
0 votes
0 answers
35 views

I’m trying to implement a Vault token retrieval using the JWT auth method in a GitHub Actions workflow. I’m evaluating two approaches: Scenario 1 – Composite Action Advantage: Token can be retrieved ...
hb.Sara's user avatar
  • 351
0 votes
0 answers
87 views

Getting the following error when i am trying to sign in with my jwt. No overload matches this call. Overload 1 of 5, '(payload: string | object | Buffer<ArrayBufferLike>, secretOrPrivateKey: ...
Shivain Sharma's user avatar
-1 votes
1 answer
77 views

I'm building a React application with Redux Toolkit and need to handle token expiration automatically. When my access token expires, the server returns a 403 error, and I want to automatically refresh ...
bisky's user avatar
  • 29
0 votes
0 answers
91 views

i am working on JWT Authentication for websockets in springboot. In my JWT filter for WS, I found that Principal is getting null while using other stomp commands such as SEND, SUBSCRIBE. My filter ...
Swapnil's user avatar
0 votes
0 answers
44 views

I'm developing a Next.js 15 application using Clerk for authentication. When trying to fetch user data from my API, I encounter this error: JWT cannot be used prior to not before date claim (nbf) Not ...
Sabri Alshibani's user avatar
1 vote
1 answer
92 views

I deployed APIs to foo.example.com and the frontend is on bar.example.com. When I set and send back a JWT in a cookie from the server, it only sets to be used with ui.example.com because ui.example....
navinrangar's user avatar
  • 1,494
0 votes
0 answers
48 views

I have a Next.js frontend and NestJS backend. In the backend there is token generation with refresh token rotation logic, and I want to use the same tokens in the frontend with NextAuth setup. Here’s ...
Sudeep Lamichhane's user avatar
0 votes
0 answers
47 views

After a few years of working at the back of the backend, I'm back working on a full-stack project. We need a username + password login with MFA which I'll use a TOTP for. There will be no third-party ...
user2268997's user avatar
  • 1,411
0 votes
1 answer
73 views

I’m building a Vue 3 frontend (deployed on Vercel at example.com) with a Django REST Framework backend (deployed on Railway at api.example.com). Authentication uses JWT access/refresh tokens stored in ...
Leonard Emmanuel's user avatar
0 votes
0 answers
104 views

##Program.cs ``` app.UseHttpsRedirection(); app.UseRouting(); app.UseAuthentication(); app.UseAuthorization(); app.MapControllers(); app.MapGet("/", () => "API is alive"); ```` ...
Themba Gumede's user avatar
0 votes
1 answer
82 views

My ASP.NET app have jwt autorization. How can I get UserEntity from a token? I want to make related record. On one of the sites, I found stupid solution: var nameIdentifier = User.Claims ....
Bakamashine's user avatar
0 votes
1 answer
132 views

I am trying to use supabase auth in my React with TypeScript and Vite frontend and it works there but when I try to access the API it is not able to verify the token and I do not undestand why? Is ...
Gabriel Goranov's user avatar
0 votes
2 answers
192 views

In my React + Django project, I’m currently sending the refresh token as an HttpOnly cookie. The problem with HttpOnly cookies is that they are automatically sent by the browser, which makes them ...
Sibi K's user avatar
  • 9
2 votes
1 answer
84 views

I’m building an authentication system with Express + JWT + Cookie. I have a middleware userAuth that decodes the token and puts the userId into req.body. Here is the code: import jwt from "...
Ridwan Anugrah's user avatar
0 votes
1 answer
128 views

Introspect always returns "900901 invalid credential", please check below error trace and configuration screenshot APIM admin key manager Configuration Also please note that it is working ...
muhammad nagah's user avatar
2 votes
2 answers
210 views

Perhaps a stupid question, but here it goes. I have implemented a backend with auth/register auth/login, auth/refresh and auth/me with token-based authentication. Now if I do a post towards the ...
dinoboy's user avatar
  • 107
1 vote
1 answer
405 views

I'm building a Next.js 14 (App Router) application using Clerk for authentication and Supabase for the database. Despite following the latest integration guides, I'm stuck on a persistent 42501 ...
Nelson Uprety's user avatar
0 votes
1 answer
227 views

I’m building a multi-tenant SaaS application with Django Ninja as the backend and Next.js as the frontend. I’m running into a problem around handling RBAC permissions and org-level feature ...
Tejas's user avatar
  • 37
0 votes
0 answers
417 views

I have a Spring Boot application that uses JWT Token based authentication. The issuer and IDP of the token is Auth0. Sometime back I got an error An error occurred while attempting to decode the Jwt: ...
Chintan Pandya's user avatar

1
2 3 4 5
371