Category "jwt"

How do I set Authorization Header for my HttpClient across all pages?

After contacting API in a login page with a successful login, I receive a JWT. And I want to set the AuthorizationHeader ONCE to use across all pages when navig

JWT - Find private key by using the KID in key-store in Java

Good day. Is there a call in a Java that can use a KID from a JWT header that will find the correct private key in the key-store? I know how to do it, using the

Encode JWT properly

I'm trying to write simple JWT implementation with these functionalities: Generating token using HMAC Validating token (if signature is correct or exp is not ti

Unauthorized Error when I want to delete article with authentification (jwt)

I've created a route called login and another one function(middleware), if the authentication is good, this can be redirected to the delete route but unfortunat

Docker Registry Authentication/Authorization - signed by untrusted key with ID

Honestly, it this point im begging for help So im trying to add protection for my docker registry ( i do not wanna use htpassword ) which is run like this: dock

Docker Registry Authentication/Authorization - signed by untrusted key with ID

Honestly, it this point im begging for help So im trying to add protection for my docker registry ( i do not wanna use htpassword ) which is run like this: dock

JWTRefreshTokenBundle change user_identity_field Symfony 5.4 + ApiPlatform

I am using : Symfony 5.4 + ApiPlatform + JWTRefreshTokenBundle 1.1 JWTRefreshTokenBundle => https://github.com/markitosgv/JWTRefreshTokenBundle I need to ch

JWTRefreshTokenBundle change user_identity_field Symfony 5.4 + ApiPlatform

I am using : Symfony 5.4 + ApiPlatform + JWTRefreshTokenBundle 1.1 JWTRefreshTokenBundle => https://github.com/markitosgv/JWTRefreshTokenBundle I need to ch

Trigger Google Cloud Function using JWT

I am trying to trigger a Google cloud function using an HTTP request and a service account. I followed these steps : Create a service account Download JSON key

Generate JWT Token for logged in user?

I have a razor pages app [username and password auth] and a WebAPI app that uses JWT auth. Both the services use the same user table. After user proceeds to che

OpenIddict, after restarting auth server the tokens are invalidated

I have the following set up: Authorization server (.NET 6 with MVC, port 7000), Client (.NET 6 with MVC, port 7001), Resource Server (.NET 6 API, port 7002). Au

In java spring, how to best "change secret in production"?

I am currently creating a Java Spring application that works with the spring security JWT. Everywhere I look and read about the "secret string", it says should

next-auth JWEDecryptionFailed

I am using this code to be able to use the credentials next-auth provider along with cognito as oauth serviice: this to allow email and password auth. I am runn

I am confused about the purpose of jwt and how does it work? hope I will get an actual answer. Thanks

I am new at programming. recently I am learning jwt. but I am confused about the purpose of jwt and how does it work? hope I will get an actual answer. Thanks.

Validate Google Identity CredentialResponse JWT using Node.js

I'm currently implementing Sign in With Google on a website of mine using the callback approach. So far it works; a user clicks a button, a network call is made

Json web token scheme problem with webapi

So I'm adding JWT authentication for a webapi. Everything works fine until I messed around with the scheme settings. Somehow the following settings dont work an

When i fetch Heroku deployed a link, there is an error 500 (Internal Server Error)

If i used http://localhost:5000/login everything is working. When i used live link https://auto-shoroom.herokuapp.com/login there's the error POST https://auto-

Jwt + Spring Interceptor + Custom Annotation versus Spring Security [closed]

Currently, we have a spring boot REST application connecting to a mysql database in which we have a table named "User" with several fields. Am

how do I set up a grouping query on the server side. I want set up the query so I can use it for a pie chart in front end, using d3js

I am using this query to count and group occupation types. I need to do this in order to create a pie chart for the client side for the front end. I don't think

How to get group and group attributes in Keycloak

I am using Spring Boot, Bitnami/Keycloak:latest, java 11. I want to get the group and group attributes before the request reaches the controller because I need