Login Error-API platform: Immediate "Oops! Your authentication token is no longer valid". Firefox all versions, [script problem]+[policy]

,

Problem report

Domain: platform.openai.com

Issue: authentication problem as soon as entering password and “login”: Oops!

Working: Microsoft Edge Windows 10
Working: Chromium Version 109.0.5407.0 (Developer Build) (64-bit)

Failure: Firefox 102.xx ESR Windows 7
Failure: Firefox 118 Windows 10
(Firefox 118 not reloaded has maintained its session for now)

Troubleshooting:

  • disable extensions, + private browsing, + cache disable, developer console…
  • no network errors, only 200/302 http status codes.

chat.openai.com working fine (except for orange “high demand” warning.

Untitled

Console log:
main.880d39c1.js:2:1485815

Error: Invalid state
    ds https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    s https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    s https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    p https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    p https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    handleRedirectCallback https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    e https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    l https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    _invoke https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    k https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    r https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    s https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    i https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    i https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    Is https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    cs https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    Sc https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    unstable_runWithPriority https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    Wi https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    kc https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    sc https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    Ji https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    unstable_runWithPriority https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    Wi https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    Ji https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    Yi https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    uc https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    Jc https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    render https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    <anonymous> https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    <anonymous> https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
    <anonymous> https://openaiapi-site.azureedge.net/public-assets/d/54cf66b58e/static/js/main.880d39c1.js:2
main

additionally 102 ESR reports security policy warnings on ‘strict-dynamic’ specified.


End of report (likely to nobody listening)

9 Likes

It may be a coincidence, but I had to login/re-authenticate today (haven’t had to do that in a while)

I think this is a new code release. I get the same result with a second account on the affected Firefox. About 1.5 million characters into the minified js code.

1 Like

This continues.

Login procedure

Welcome back/email: https://auth0.openai.com/u/login/identifier?state=hKFo2SBl

Enter your password: https://auth0.openai.com/u/login/password?state=hKFo2S

Redirect to failure method: https://platform.openai.com/auth/callback?code=FIcseuwN9…

I also can’t log in with Firefox and 2FA, with the same “Your authentication token is no longer valid” message. No problems signing in with Chrome.

2 Likes

Joining the count: also can’t log in with Firefox, same message. Chrome works fine.

1 Like

I’m currently facing this same issue with Firefox on macOS. Everything works fine when I try to log in through Chrome, though.

2 Likes

Not fixing it: different account, one without using a Google email that might have been mistaken for authentication service.

Not fixing it: spoofing a user agent.

Same problem here, works in chrome but not firefox. Been happening ever since I first tried logging into platform.openai.com a few days ago (2023-09-25).

1 Like

Same here: Chrome works just fine, with Firefox 118.0.1 I get Your authentication token is no longer valid.

Same here. I can login via Brave, but in Firefox login does not work, even with fresh empty Firefox profile

UPDATE: workaround did not work on 2nd attempt. @Locust2520 's solution below worked for me .

Workaround

5 Likes

Doesn’t work for me.
I am however able to connect to community.openai.com

2 Likes

Having the same issue. Can’t log in using Firefox on macOS. Works in Safari.

+1. unable to login using firefox/edge from Mac. it looks like the authentication does not work at all.

Same - completely unable to login at all, and it’s the first time to login with this machine, ever.

Me n’th. Firefox 118.0.1 Linux 5.15.0-83-generic #92~20.04.1-Ubuntu SMP Mon Aug 21 14:00:49 UTC 2023
Login worked on this machine a little while ago, same addons, though a slightly earlier version of Firefox.

Same issue with Firefox on Ubuntu, cannot login. With Chromium on the same system it works.

1 Like

Same exact issue here. Doesn’t work on firefox on linux, but works in chromium. Tried disabling enhanced tracking protection too, didn’t work either.
Also tried in a private browsing session, same issue there. So not related to cache or such.

1 Like

Same Problem here. Can’t login with Firefox.