I want to use Okta as the back end authentication mechanism for an API I am writing with GoLang (using the Echo framework).
So I want to
- Issue an API user an authentication token (JWT)
- Allow the user to authenticate to the API using this token and have Okta verify that token
I thought the following API endpoints would help me do this
I would grab the jwks_uri from the returned object
Make a request to the keys endpoint
Do I use the key(s) in this response to sign a JWT ?
Maybe my question is all wrong here . Any tips or guidance would be greatly appreciated.