diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-20 14:26:36 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-20 14:26:36 +0800 |
commit | 69d5f27bff226c10789a41a7ec6a1b36d2052322 (patch) | |
tree | de32a9fb58cc0764058bd8e84118e3b8b5291305 /sessiontoken.h | |
parent | 72575e9255c5835e99752e4655f70dd0f28e51e5 (diff) |
Can't compare iss & dest
Diffstat (limited to 'sessiontoken.h')
-rw-r--r-- | sessiontoken.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sessiontoken.h b/sessiontoken.h index 45ee463..dfaee0f 100644 --- a/sessiontoken.h +++ b/sessiontoken.h @@ -12,7 +12,7 @@ static inline bool sessiontoken_isvalid(const char *token, const char *api_key, params.verification_key_length = strlen(api_secret_key); params.validate_exp = 1; params.validate_nbf = 1; - params.validate_iss = (char *)shop; + //params.validate_iss = (char *)shop; params.validate_aud = (char *)api_key; enum l8w8jwt_validation_result validation; int decode = l8w8jwt_decode(¶ms, &validation, NULL, NULL); |