I have a Symfony 6 web app and I've integrated Okta's Javascript library. I am able to login to Okta through the widget but I'm not quite sure how to authenticate the user in the app with the response.
config.clientId = ClientID;
config.redirectUri = "https://localhost:8000/okta/verify";
config.authParams = {
issuer: Issuer,
pkce: false,
responseType: "code",
state: "state" || false,
display: "page"
}
new OktaSignIn(config).renderEl(
{
el: '#widget-container',
function(res) {
}
}
);
This loads the login screen which goes out and successfully authenticated with Okta. I have the route configured within Okta and my application to catch the response I'm just not sure what to do with it from there, create a custom authenticator?