I find myself in a situation where I need to provide a user with a refresh token upon their onboarding in our application.
To achieve this, I must adhere to the OAuth flow to obtain the authorization code. Utilizing this authorization code, I can then generate a refresh token through the /token endpoint.
My objective is to generate the authorization code using the client and client secret, given that I am the administrator of the application.
But I didn’t find any way in Okta.