Hello there,
we want to move away from the reliance of third-party cookies in our auth flow, but we have a part in our code that checks for an active session like so:
const session = await oktaAuth.session.get();
if (session && session.status === "ACTIVE") {
const tokenResponse = await oktaAuth.token.getWithoutPrompt({
responseType: "id_token",
});
if (tokenResponse) {
oktaAuth.tokenManager.setTokens(tokenResponse.tokens);
}
}
But as i can read in the docs, both session.get() and getWithoutPrompt() requires third-party cookies. What are some alternatives to this?
Thanks!