Hi All,
For reference, i’m following this guide:
I was able to complete this manually via postman collections (supplied by okta) and the various external JWK tools. Manually, i was able to successfully exchange a signed token and get a list of applications with the okta.apps.read scope.
However, when i try to do this with golang, i run into issues. The main issue comes with signing the token. Manually, we do this with the external tool using the generated JWK. However, i’ve tried with the standard go library and even with the Okta Golang SDK and i am not seeing any way to do this. Instead of JWK, all the api’s seem to require PEM format.
Does Okta have any guides on how to convert the JWK generated in this guide to a PEM format we can use to then sign a JWT? There is an external tool in the guide mentioned, however, that doesn’t seem to work either.
If anyone has any experience with this, it would be very helpful.
Thank you!
mcbb