I am integrating OKTA PKCE authentication in Sitecore web application. I am able to authenticate the user however in the ProcessAuthorizationCodeReceived event notification.AuthenticationTicket is coming null. Due to this I am not able to proceed with next steps in the Sitecore pipeline. I am able to generate the Token,UserInfo and Notification using below code.
var args = new OktaPostAuthorizationArgs()
{
Token = tokenResponse,
UserInfo = userInfoResponse,
Notification = notification,
};
please let me know why AuthenticationTicket value is coming null from OKTA.
If we are using Response type as ‘Code’ which needs to be only the expected value if grant type as declared ‘authorization code’ in Okta. we do not get value of authentication ticket if we follow the above process?