I create refresh token with private_claims,like this {"username":"test"},After refreshing token,I found the private_claims's keys has a dot prefix,like this{".username":"test"}
The bug code as fllows:
for k, v in private_claims.items():
payload[f"{private_claim_prefix}.{k}"] = v
Maybe this is correct:
for k, v in private_claims.items():
payload[private_claim_prefix + k] = v
I create refresh token with private_claims,like this
{"username":"test"}
,After refreshing token,I found the private_claims's keys has a dot prefix,like this{".username":"test"}
The bug code as fllows:Maybe this is correct: