AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Ignition casino error code 401 invalid token11/25/2023 >getToken($signer) // Retrieves the generated token >withClaim(‘uid’, 1) // Configures a new claim, called “uid” >expiresAt($time + 3600) // Configures the expiration time of the token (exp claim) >canOnlyBeUsedAfter($time /* +60 */) // Configures the time that the token can be used (nbf claim) >issuedAt($time) // Configures the time that the token was issue (iat claim) ->identifiedBy($jti, true) // Configures the id (jti claim), replicating as a header item >permittedFor($iss) // Configures the audience (aud claim) $this->token = (new Builder())->issuedBy($iss) // Configures the issuer (iss claim) $iss = $this->apikey // (This is the API key for my account) Based on my reading of your documentation, shouldn’t this be included in the token generation code from jwt.io? In your documentation the secret is part of the signature: https :// marketplace. Nowhere in the Token generation code can I see any passing of the secret. => The Token’s Signature resulted invalid when verified using the Algorithm: HmacSHA256 When I try to create my own token using the jwt. I’m able to access the /users endpoint without issue using the test token from the credentials page. Just to make sure progress is possible, I’m posting without any URLs:
0 Comments
Read More
Leave a Reply. |