I am getting an unsupported response type error of
‘unsupported_response_type’. Error_Description (may be empty): ‘The response type is not supported by the authorization server. Configured response types: [token, code].’
I set my Response type to CodeIDToken as seen below and this is the recommended response type so that it hits the AuthorizationCodeReceived function in the call back as described in this article about using okta with webforms https://developer.okta.com/blog/2018/08/29/secure-webforms-with-openidconnect-okta
.ResponseType = OpenIdConnectResponseType.CodeIdToken
Now if I set the response type to CodeToken it will hit a MessageReceived event on the call back and contain a jwt token but it does not have the ability to attach to the client session and mark it as authenticated to continue.
So my question is what method of authentication Should I use to be able have it configured to CodeIdToken so that it AuthorizationCodeReceived callback event fires correctly?