In my React application I have this working authorization:
const oktaAuth = new OktaAuth({
issuer: ${process.env.REACT_APP_OKTA_ENV}/oauth2/default
,
clientId: process.env.REACT_APP_OKTA_CLIENTID,
scopes: [‘openid’, ‘email’, ‘profile’, ‘groups’],
pkce: true,
redirectUri: ${window.location.origin}/${LOGIN_CALLBACK_URL}
,
});
How can I get JWT token from back-end application using same parameters (issuer, clientId, user login, user password)? I don’t have “client secret”