jwt Questions
3
Solved
I've previously been using the validate-jwt policy successfully in a lot of projects. I would like to try out the new validate-azure-ad-token policy instead.
I changed one of my policies from:
<...
Claver asked 9/12, 2022 at 8:18
2
Solved
I am currently trying to implement Oauth2.0 to protect API using below documentation
https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-protect-backend-with-aad
And curre...
9
Solved
Have a problem when trying to verify the token (it was working fine before i added some data to it before generating it) .. but now it does not seem to be working !
This is how i generate the token...
Ordonez asked 25/1, 2021 at 10:21
6
I'm developing an authorization system on ASP.NET Core 2.1 which requires both resource level and scope adherence before granting access. That is, I must be an author of a book (there can be multip...
Immingle asked 24/2, 2019 at 12:55
4
Solved
What is the recommended way to validate the access token in backend? Any library that handles it?
Another team has implemented the frontend they send the access token in the Bearer attributed in th...
Orelle asked 11/8, 2023 at 19:23
6
The documentation for NextAuth.js says that I can generate a secret for next auth by entering this command:
openssl rand -base64 32
Here is the documentation: https://next-auth.js.org/configuration...
Unrighteous asked 4/1, 2023 at 3:17
5
I have an ASP.NET Core Web API 3 app that implements a REST API and uses a JWT bearer token for authorization, and Swagger (Swashbuckle).
My controller has the [Authorize] filter on it, like:
[Ap...
Byronbyrum asked 10/4, 2020 at 23:49
3
Solved
I was trying to build a project about API authentication using JWT. I have installed the io.jsonwebtoken package with version 0.9.1 in order to do that.
My pom.xml
<?xml version="1.0" ...
Deltadeltaic asked 18/10, 2020 at 14:40
2
I'm trying to generate JWT to use it in a API integration. Here are the specific requirements to generate JWT token but I'm not following how to do it in python.
It shows following Java snippet:
JW...
5
Solved
When Amazon Cognito issues access tokens it doesn't include an aud field.
In the documentation for Cognito tokens, the aud field is listed for id tokens (always set to the same value as client_id),...
Minor asked 5/11, 2018 at 5:16
4
Solved
I use the Keycloak service to login my web app. Use as a backend Spring with OAuth 2.0 security. When I go to make a request with Postman using the bearer token obtained from Keycloak it gives me a...
Celluloid asked 4/7, 2022 at 9:21
2
jsonwebtoken, v8.5.0
node v10.13.0
npm 6.4.1
If i create a token several times with:
jwt.sign({ user_email: user_email, user_id: user_id, username: username }, 'RESTFULAPIs')
Question 01:
It see...
4
Solved
I want to create a github app in python, and I'm stuck at the authentication part. Since they don't support python by default, I have to use a third party library. After I generate the JWT token I ...
Neolith asked 26/7, 2019 at 9:34
5
Solved
I just added Jwt to my application. When I'm trying to send get request via postman which require authorization, then I've got following error:
io.jsonwebtoken.UnsupportedJwtException: Signed Cla...
Stockdale asked 3/4, 2020 at 16:16
2
I've implemented the JWT Bearer Auth along with the Identity Cookie Auth, one for UI and the other for REST APIs in my .NET Core 2.0 project.
Everything works as of now with the JWT token where I'...
Optimism asked 18/10, 2017 at 12:28
7
Solved
I have a route api/v1/track and I want to send some data (JSON) by given track ID, but I want to send response for only my frontend requests or my mobile app, not any other request from anywhere!
I...
13
I have an Angular 7 application interfacing with a .Net Core 2.2 API back-end. This is interfacing with Azure Active Directory.
On the Angular 7 side, it is authenticating properly with AAD and I ...
Rewrite asked 25/10, 2019 at 18:11
12
Solved
Firebase ID token has invalid signature
Hi all, I'm somehow new to NodeJS and I've only used Google Firebase a few times.
Now, I'm trying to verify an idToken generated using getIdToken() method wh...
3
Solved
I am implementing JWT in one of my node apps. I am wondering, if there is any definite format/ structure in which a refresh token should be generated?
By definite format I mean whether a refresh ...
Gee asked 14/5, 2019 at 14:41
2
Solved
I'm trying add Google login to my system which is already have JWT implementation.
I got clientId and secret. I call this method
AuthenticationProperties properties = await _accountApiClient.Googl...
Knowle asked 30/1, 2023 at 12:28
3
I am trying to add OWIN JWT into webapi project using VS 2015. The reference shows Microsoft.Owin.Security.Jwt, Version=4.0.0.0 and Microsoft.IdentityModel.Tokens Version=5.3.0.0. Below is the erro...
Madelina asked 16/11, 2018 at 16:15
1
I'm trying to port over my CRA app to NextJs , but there is ONE thing that is stopping me:
I would have to append auth token header to EVERY single one of my hundreds of API calls.
My auth flow is ...
Jamima asked 31/10, 2022 at 1:54
4
Solved
I am trying to set up an user level authentication using node.js, so I go and do npm install -g jsonwebtoken --save. However, I run into problems when I use require('jsonwebtoken'); and try to comp...
Zounds asked 11/12, 2018 at 4:2
2
In my User controller, I create a token in which I save this user's id when he login to my application.
exports.findOne = (req, res) => {
User.findOne({
where: {
login: req.body.login,
},
...
Duralumin asked 22/12, 2018 at 16:43
4
Solved
I'm trying to write to a log when I person tries to access a method under an Authorize Attribute. Basically, I want to log if a person uses an invalid token or an expired token. I'm using basic Aut...
Kimmi asked 20/2, 2018 at 16:24
1 Next >
© 2022 - 2024 — McMap. All rights reserved.