Ricerche recenti
Nessuna ricerca recente

Kumail Raza
Data ingresso 16 ott 2021
·
Ultima attività 24 dic 2021
Seguiti
0
Follower
0
Attività totali
4
Voti
0
Abbonamenti
2
PANORAMICA ATTIVITÀ
BADGE
ARTICOLI
POST
COMMENTI NELLA COMMUNITY
COMMENTI AGLI ARTICOLI
PANORAMICA ATTIVITÀ
Ultima attività di Kumail Raza
Kumail Raza ha commentato,
How to increase the jwt token time from 3minutes to some X-time?
Visualizza commento · Data ultimo post: 24 dic 2021 · Kumail Raza
0
Follower
0
Voti
0
Commenti
Kumail Raza ha creato un post,
{myloginur}?kind=error&message=JWT+signature+invalid.+The+signature+cannot+be+verified%2C+check+that+your+tokens+match
I enable the JWT seeing the details here
https://support.zendesk.com/hc/en-us/articles/203663816-Enabling-JWT-JSON-Web-Token-single-sign-on
My configuration via Admin Center.
1. Both SAML(using for some reason) and JWT is enable.
2. In EndUser section, I tried enabling the ExternalAuthentication tried with both enable and disable.
Receiving the same error.
Code snippet
Date now = new Date();
Date expiryDate = new Date(now.getTime() + 6048000);
String jwtString = Jwts.builder()
.setIssuer("zendesk")
.setSubject("zendesk-user")
.setId(UUID.randomUUID().toString())
.claim("email", getUser().getEmail())
.claim("name ", getUser().getName())
.setIssuedAt(new Date())
.setExpiration(expiryDate)
.signWith(SignatureAlgorithm.HS256, SHARED_KEY)
.compact();
String redirectUrl = "https://" + SUBDOMAIN + ".zendesk.com/access/jwt?jwt=" + jwtString;
if (returnTo != null) {
redirectUrl += "&return_to=" + encode(returnTo);
}
return redirectUrl;
Data ultimo post: 25 ago 2021 · Kumail Raza
0
Follower
2
Voti
1
Commento