Pricing Blog

Supabase Refresh Not Working After Break

  • _.__._.__.__._-1442442132303380540

    Ethan

    5 days ago

    Hi everyone,

    I have not touched my Nordcraft project in the last two weeks (busy with personal matters). When opening it today however I ran into an issue with Supabase's authentication. Logging in with an OTP works, but refresh tokens are not working, with the API call failing with code 500.

    When calling https://<project>.supabase.co/auth/v1/token?grant_type=refresh_token, I get:

    {
    "code": 500,
    "error_code": "unexpected_failure",
    "msg": "missing destination name oauth_client_id in *models.Session",
    "error_id": "9a37b289b0ca2b28-DUR"
    }


    Looking online this seems to be a known bug, but I'm not really sure how I could have caused it, or what needs to be done to fix it. Any suggestions would be appreciated!
    1
  • erikbeus-1442443453849014303

    Erik Beuschau

    5 days ago

    I haven't seen this issue before. I suggest you try to ask the same question on Supabase's Discord server perhaps? https://discord.com/channels/839993398554656828/1006358244786196510
  • _.__._.__.__._-1442443512573591633

    Ethan

    5 days ago

    Will do
  • _.__._.__.__._-1442447327486017597

    Ethan

    5 days ago

    On there they refer to it being due to the local and cloud versions of Supabase being out of sync. My cloud version is up to date, I'm not sure how I would adjust the local version though?
  • _.__._.__.__._-1443510559386636381

    Ethan

    2 days ago

    Issue related to me using OrioleDB on Supabase. It is not kept in sync with the main supabase version, so there was am issue with it being out of sync with local. Solution is to wait for an update :/
    👍1
  • Tod-1443510561655623721

    Tod

    2 days ago

    Great job @Ethan! Your contribution to the Nordcraft Community just made you advance to Community Level 5! 🌲