Though we’ve been using okta in our custom login screen, I’m personally new to okta so bear with me please. We’re on 2.x and want to migrate but when I do so, I run into what appears to be the 3rd party cookies issue with the following code (as an aside, I had to change oktaSignIn.session.get to oktaSignIn.authClient.session.get due to apparent api change):
var oktaSignIn = new OktaSignIn(config);
oktaSignIn.authClient.session.get(function (res) {
resolve(res);
});
The call returns a 404 with body {“errorCode”:“E0000007”,“errorSummary”:“Not found: Resource not found: me (Session)”,“errorLink”:“E0000007”,“errorId”:“oaegCCR0rc3TTOa0oT5SZveDg”,“errorCauses”:[]}.
I’ve been doing a lot of searching on this subject and I can’t seem to find a path forward for our use case which would enable us to migrate. Once the “get” call completes, we use the status and login properties of the session object. How can I solve this migration issue?