Giter Club home page Giter Club logo

Comments (49)

elliottetzkorn avatar elliottetzkorn commented on June 16, 2024 7

Confirmed same problem on Flutter.

from auth.

kangmingtay avatar kangmingtay commented on June 16, 2024 4

Hey everyone, we've made the fix in this PR and will roll it out to all affected projects on supabase soon. We haven't made any changes to apple oauth recently so it seems like apple changed the type returned in their API to include booleans too (https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_rest_api/authenticating_users_with_sign_in_with_apple)

is_private_email
A string or Boolean value that indicates whether the email that the user shares is the proxy address. The value can either be a string ("true" or "false") or a Boolean (true or false).

from auth.

J0 avatar J0 commented on June 16, 2024 4

Hey team,

Thanks for patiently waiting. You should now be able to upgrade to a patched version under Settings > Infrastructure > Upgrade Postgres Version to 15.1.1.16 - do note that this will involve some downtime

We'll be rolling out the patch across the board next week.

Thanks!

from auth.

kangmingtay avatar kangmingtay commented on June 16, 2024 3

Hey everyone, we've just rolled out the fix but if you're still seeing the same issue, please reach out to us via https://supabase.help and mention this issue.

from auth.

MattyPalka avatar MattyPalka commented on June 16, 2024 3

#1401 (comment)

This fixed the issue for me

from auth.

benemanu avatar benemanu commented on June 16, 2024 2

from auth.

titi-devv avatar titi-devv commented on June 16, 2024 2

This was fixed in version 2.139.2 #1395.

#1395

You can check the Gotrue version of your project here: https://supabase.com/dashboard/project/_/settings/infrastructure

I'm not sure how to upgrade my GoTrue version? I updated PostgreSQL version but GoTrue is still 2.132.3 :/

from auth.

kangmingtay avatar kangmingtay commented on June 16, 2024 1

@andrisole92 @Aayush9029 can yall please reach out to https://supabase.help/ so we can investigate? the internal error message that you should be observing from your project's auth logs should along the lines of json: invalid use of ,string struct tag, trying to unmarshal unquoted value into *bool. If you're seeing a different error, it may be something else but we'll need more information to investigate further.

from auth.

andrisole92 avatar andrisole92 commented on June 16, 2024 1

@kangmingtay i have contacted 26 hours back and haven’t heard anything back yet.

from auth.

kangmingtay avatar kangmingtay commented on June 16, 2024 1

@andrisole92 @Aayush9029 found your tickets and i've just rolled out the fix to them

from auth.

isaachinman avatar isaachinman commented on June 16, 2024 1

@kangmingtay We are seeing this issue as well, and had a store submission rejected because of it.

I originally opened supabase/supabase#21109

How can we get this fix applied to our hosted Supabase application?

Edit: I have created a support ticket as well

from auth.

GaryAustin1 avatar GaryAustin1 commented on June 16, 2024 1

Another user in discord with this error.
Not sure why this is closed.

from auth.

lightstrike avatar lightstrike commented on June 16, 2024 1

@J0 Thank you for confirming here, this fixed Apple auth in one of our projects as well!

Is there a standard way that these kinds of regressions and subsequent fixes are communicated with Supabase users? This one caused a fair amount of grief for our team and I imagine we are not the only ones. If not (I wasn't able to find anything), an email or toast within the dashboard would be very helpful and would have saved us hours of time in this case.

from auth.

pfista avatar pfista commented on June 16, 2024

+1

from auth.

johnjjung avatar johnjjung commented on June 16, 2024

+1

from auth.

GaryAustin1 avatar GaryAustin1 commented on June 16, 2024

There are multiple reports of issues on this in Discord. Moved from supabase-js to gotrue.

from auth.

jointhejourney avatar jointhejourney commented on June 16, 2024

We're seeing the same issues on web as well, although it returns a different error: "Error getting user profile from external provider"

from auth.

oleksandrzeus avatar oleksandrzeus commented on June 16, 2024

Same on native iOS

from auth.

benemanu avatar benemanu commented on June 16, 2024

Same in Flutter

from auth.

andrisole92 avatar andrisole92 commented on June 16, 2024

Thank you @kangmingtay.

would it be possible to set up some monitoring for Oauth services on your side?

from auth.

andrisole92 avatar andrisole92 commented on June 16, 2024

By they way still not working for me @kangmingtay

from auth.

johnjjung avatar johnjjung commented on June 16, 2024

works for me - ty for the fast turn around!

from auth.

andrisole92 avatar andrisole92 commented on June 16, 2024

Do I need to update the supabase-js client? Or is it because changes are still propagating?

cc @kangmingtay

from auth.

Aayush9029 avatar Aayush9029 commented on June 16, 2024

I'm experiencing the same error on the native iOS app (Swift SDK) as well, not self-hosting Supabase.

I can confirm that the error is a bad ID token, which is reproducible if the user uses "hide my email."

Otherwise, it works as before.

Is there anything we can do on our end, or do we have to wait for the projects to be updated on Supabase's end?

tysm

from auth.

Aayush9029 avatar Aayush9029 commented on June 16, 2024

@andrisole92 @Aayush9029 can yall please reach out to https://supabase.help/ so we can investigate? the internal error message that you should be observing from your project's auth logs should along the lines of json: invalid use of ,string struct tag, trying to unmarshal unquoted value into *bool. If you're seeing a different error, it may be something else but we'll need more information to investigate further.

json: invalid use of ,string struct tag, trying to unmarshal unquoted value into *bool

That's exactly what I see :)
I did reach out to the team no response :(

from auth.

kangmingtay avatar kangmingtay commented on June 16, 2024

I'll be closing this issue since it's been resolved.

from auth.

Aayush9029 avatar Aayush9029 commented on June 16, 2024

found your tickets and i've just rolled out the fix to them

Fixed. Thank you!

from auth.

aharwood9 avatar aharwood9 commented on June 16, 2024

I am in the same boat as @isaachinman and also had my store submission rejected because of it. I've also raised a support ticket as per the previous requests 👍

from auth.

Mistes974 avatar Mistes974 commented on June 16, 2024

@kangmingtay We are seeing this issue as well, and had a store submission rejected because of it.

I originally opened supabase/supabase#21109

How can we get this fix applied to our hosted Supabase application?

Edit: I have created a support ticket as well

Same question... Do I need to update my Supabase package in my app to fix it? I've actually tried, but it's still not working.

from auth.

isaachinman avatar isaachinman commented on June 16, 2024

@Mistes974 This has nothing to do with the Supabase JS SDK.

from auth.

titi-devv avatar titi-devv commented on June 16, 2024

Same issue, started 3 days ago...

from auth.

Atomic71 avatar Atomic71 commented on June 16, 2024

I am "only" experiencing this issue when the user chooses not to share the e-mail whilst signing in with apple (resulting in a apple-relay e-mail)... hope this helps debugging

from auth.

Alkhajeh avatar Alkhajeh commented on June 16, 2024

We are still facing the same issue and opened a ticket id 2353969838

from auth.

wix001 avatar wix001 commented on June 16, 2024

We are also being affected by this issue with user experience, here is our Support Ticket ID: 2349139202
截屏2024-02-09 00 33 57

from auth.

mansueli avatar mansueli commented on June 16, 2024

This was fixed in version 2.139.2 #1395.

#1395

You can check the Gotrue version of your project here:
https://supabase.com/dashboard/project/_/settings/infrastructure

from auth.

GaryAustin1 avatar GaryAustin1 commented on June 16, 2024

I'll pass that on. Not sure that has been mentioned that you have to do an upgrade to get it.

from auth.

andrisole92 avatar andrisole92 commented on June 16, 2024

My go true is: 2.139.2-rc.7

I didn't do anything, it just started working yesterday

from auth.

solibe1 avatar solibe1 commented on June 16, 2024

Same I upgraded my postgress v but not sure how to upgrade my go true

from auth.

GaryAustin1 avatar GaryAustin1 commented on June 16, 2024

New instance pulls up 2.132.3.
No option to upgrade.

from auth.

solibe1 avatar solibe1 commented on June 16, 2024

that's really frustrating, can you please push support team to check my ticket, I'm losing users because of that

from auth.

titi-devv avatar titi-devv commented on June 16, 2024

Any updates ???? I still have gotrue version 2.132.3.

from auth.

Quaza35 avatar Quaza35 commented on June 16, 2024

Has a solution been posted regarding the issue?

from auth.

aydahealth avatar aydahealth commented on June 16, 2024

I'm facing this issue as well

from auth.

monicakh avatar monicakh commented on June 16, 2024

The AMI should be updated tomorrow, once the release PR is merged, you should be able to upgrade your Gotrue version from here: https://supabase.com/dashboard/project/_/settings/infrastructure

from auth.

J0 avatar J0 commented on June 16, 2024

Hey Team,

Thanks Monica! Beyond the Auth release PR being merged we'll need to release it internally as well - we'll circle back here with an update once that happens.

from auth.

xSoul21 avatar xSoul21 commented on June 16, 2024

Sorry, but i have the same problem.
I still have gotrue version 2.132.3 and i don't seem i can change it.

Thanks for the help

from auth.

solibe1 avatar solibe1 commented on June 16, 2024

from auth.

CodeWithRomaen avatar CodeWithRomaen commented on June 16, 2024

Updating

The AMI should be updated tomorrow, once the release PR is merged, you should be able to upgrade your Gotrue version from here: https://supabase.com/dashboard/project/_/settings/infrastructure

Using this link to update to the latest postgres version also resolved the issue for me. 👍

from auth.

wishup-agrit avatar wishup-agrit commented on June 16, 2024

hey, I am setting up Native Apple sign in wih supabase in my react native project, my error is

 {
  "error": {
    "__isAuthError": true,
    "name": "AuthApiError",
    "status": 400
  },
  "user": null
}

and the same code as described in the issue, I am

from auth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.