okta-auth-js icon indicating copy to clipboard operation
okta-auth-js copied to clipboard

getWithoutPrompt not working on latest firefox

Open boubou158 opened this issue 2 years ago • 5 comments

Describe the bug?

Hi everyone,

When I try the exact same app on chrome and firefox:

  • it is working as expected on chrome => i am authenticated properly
  • it is NOT working on latest firefox (108.0.1 (64-bit)) with the following error:

OAuthError: The client specified not to prompt, but the user is not logged in.

I am using the method getWithoutPrompt to authenticate.

Do you have any clues for that?

Thanks in advance and best regards,

What is expected to happen?

I am supposed to be logged in on firefox, the same way it works on chrome.

What is the actual behavior?

On firefox 108.0.1 (64-bit), the following error message is displayed when i surround the getWithoutPrompt with a try/ catch and console.log the exception.

OAuthError: The client specified not to prompt, but the user is not logged in.

Reproduction Steps?

Use firefox 108.0.1 (64-bit) Try to authenticate through getWithoutPrompt method

SDK Versions

Okta auth JS 7.2.0 Okta angular 6.0.0

Execution Environment

Firefox 108.0.1 (64-bit)

Additional Information?

No response

boubou158 avatar Jan 05 '23 11:01 boubou158