Server-less HTTP API is not working with Okta OIDC Application

Looks like the same question is asked over here, Serverless http api is not receiving user information in redirect callback, so I’m going to close this one as a duplicate