Jwt Bearer authentication with Salesforce

Hi,

I am trying to set up a Salesforce Jwt Bearer flow Named credentials to make calls to my web application that uses Okta for authentication.
I have a self signed certificate that I have configured in the named credentials. How should I set up okta application to use this certificate to verify the jwt and issue an access token for the user so that Salesforce can use that access token to make calls to my web application.

Thanks!

Hi @ShaunaB1 ,
Thank you for your reply.

I have OIDC - OpenID Connect Application and I have generated a Public key and private key for it. I also generated a jks file for it and uploaded it to Salesforce. I then tried to create a Named Credentials for it but since Okta expects sub also to be client_id of the Okta application, how should salesforce be configured to send the user information?

Thanks!