Skip to main content

All Questions

Tagged with
-1 votes
0 answers
18 views

Facing 400 bad request error while passing JWT token as Authorization in header for rest api call

Getting 400 bad request error while passing the bearer token in headers using rest template call: JSONObject object = (JSONObject) new JSONParser () .parse (bindery.getValue(SamhttpConstants....
karthick sam's user avatar
0 votes
1 answer
19 views

SPA + Storing JWT + REST API not accepting cookie auth

Everyone is talking about don't store jwt in localstorage for security purpose online. But in actual fact, none of the project I work with using SPA + Rest API integration is implemented using the &...
stackdisplay's user avatar
  • 2,019
0 votes
0 answers
56 views

Multi-tenant (realm based) REST Web API authentication

We're building a multi-tenant setup with a C# Web API and KeyCloak for auth and APISIX as application gateway. APISIX handles the authentication and passes an X-Access-Token to our API when ...
RobIII's user avatar
  • 8,722
0 votes
1 answer
54 views

Django REST Authentication credentials were not provided

I'm developing an API using Django Rest Framework. but when i'm trying to access the console gives me this error: @api_view(['GET']) @authentication_classes([TokenAuthentication]) @permission_classes([...
Gal's user avatar
  • 3
0 votes
1 answer
47 views

Angular Server throwing error, but API call is working and the error is not on browser

I have an API that receives the JWT token in the URL of the API call to return user information. My function: getUserByTokenJWT UseCase executes normally and manages to complete the fields, with the ...
Andre's user avatar
  • 1
1 vote
1 answer
24 views

How to prevent users from creating custom client apps?

Imaging, I have a web-app called CoolApp that accesses its server via JWT access+refresh tokens. What's stopping the user from grabbing these tokens and then creating their own CustomCoolApp? For ...
synalice's user avatar
  • 327
0 votes
0 answers
53 views

unauthorized access to my spring application

im working on a spring boot +angular+mysql e-commerce web application the database is working fine and i can send requests using postman and i have access to the database and i can alter it through ...
XATADOR 's user avatar
1 vote
3 answers
699 views

JWT Bearer Token is being issued, but endpoint authentication fails

Code is .NET 8, using Microsoft.AspNetCore.Authentication.JwtBearer authentication. This is my first time implementing JWT on my REST server, so I suspect it may be a newbie mistake. Can you spot why ...
Jay Imerman's user avatar
  • 4,591
1 vote
1 answer
210 views

Can I use identity in ASP.NET Core Web API?

I have a REST API project that created in ASP.NET Core and clean architecture. Also, I have a React project that uses my REST API and they are in two projects. Can I use identity in my REST API ...
Yasser Bahrampour's user avatar
-1 votes
1 answer
78 views

Axios network error ,front: reactnative ,backend :springboot localhost server and my phone via USB [closed]

i am working on a project using springboot as a backend with jwt configuration and this is an example of a url : Post "http://localhost:8095/users/signin", for the frontend i am using ...
Butterfly's user avatar
0 votes
0 answers
1k views

how to get access token from oAuth2 token server in excel vba

I don't use VBA very often to create scripts, but this time I have to write a script which interacts with REST APIs that require oAuth2 authentication and passing token as header in order to receive a ...
waterstyler's user avatar
0 votes
0 answers
62 views

JWT headless wordpress with javascript (custom plugin)

how to implement securly jwt with (vanilla or jquery) javascript and headless wordpress (php) not by using any plugin i have 2 servers* server 1 (vanilla js + html) app.example.com server 2 (wordpress ...
LightsOn's user avatar
1 vote
1 answer
2k views

VSCode REST Client : use the result of a request in another request

Using VSCode Rest Client, I would like to do a post request that returns a jwt token and use it in another GET request For the moment I am doing this POST request in a file auth.http: # Login # @name ...
Pipo's user avatar
  • 5,427
0 votes
1 answer
87 views

Is bilateral private_key_jwt assertion necessary?

What is the added value to applying the private_key_jwt authentication approach bilaterally? Currently I'm dealing with consuming from an API documented here. Authentication works by applying a ...
Shine's user avatar
  • 588
0 votes
2 answers
218 views

Is it possible to use the token that AD B2C is going to Issue within the Custom policies to call Rest techinical profile for authentication?

I have a REST API which is protected by AD B2C and I want to consume the API with in the custom policies. Is it possible to use the B2C token as a bearer token to call the api in the REST technical ...
gnana sekhar's user avatar

15 30 50 per page
1
2 3 4 5
34