Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to decode jwt token in php

you can use this one line to decode the jwt token
  
<?php
$token = "your encrypted token goes here";
print_r(json_decode(base64_decode(str_replace('_', '/', str_replace('-','+',explode('.', $token)[1])))));
Source by www.converticacommerce.com #
 
PREVIOUS NEXT
Tagged: #decode #jwt #token #php
ADD COMMENT
Topic
Name
9+2 =