Hi,
I need to forge invalid but verified JWTs to test our JwtValidator
s in Spring Boot services.
I’ve learned how to forge HS256 JWTs by using the secret found at:
SELECT value
FROM component_config CC
JOIN component C ON CC.component_id = C.id
WHERE C.realm_id = 'MyRealm'
AND C.provider_id = 'hmac-generated'
AND CC.name = 'secret'
How can I do the same with RS256 JWTs? What can I do with the value found with the query:
AND C.provider_id = 'rsa-generated'
AND CC.name = 'privateKey'
Where do I find the value to put here (jwt.io)?