Comments (7)
The error occurs whether the Android OAuth client id is provided or not.
This makes me think that the wrong client IDs might be pasted on the wrong place, because there is no where to paste the Android client IDs. Please read the docs again, make sure you have followed the steps the exact same way, and if you are not able to solve it then, then please respond to the following questions providing as much details as possible.
- What platform does it occur on? Android? iOS?
- What Client IDs did you create on the GCP console, and where did you copy and paste each of them within the Supabase dashboard?
from supabase-flutter.
Hello,
I only tried to add the Android client ID after I got the error when using only the web client ID. Same thing with the Client Secret and Client ID fields in the supabase UI, I added them after using only the web client ID proved unsuccessful.
I followed the steps outlined at https://youtu.be/utMg6fVmX0U, section without Firebase, to create the client ids. I pasted them as shown in the screenshot and code.
The actual problem here is that Supabase goves absolutely no information on what went wrong.
from supabase-flutter.
@TheCarpetMerchant
Well, we cannot tell what client ID is pasted where from the screenshot, so I asked the question here. We kindly ask you to corporate and respond to the questions if you would like assistance.
from supabase-flutter.
Yes, I did paste the correct ID. Worth noting is that upon coming back to the Providers page, Supabase has moved the pasted wbneb client id to the Client ID field.
from supabase-flutter.
@TheCarpetMerchant The authorized client ID moving up to the Client ID
field is not an issue. They are the same thing as far as the backend is concerned.
The important question is, when you got the error, what Client ID did you have on what field? Also, could you confirm that you are testing this on an Android device/ emulator.
from supabase-flutter.
I am using the web client id, as shown in my code snipet above. I am using an Android API 33 Google Play 64 bits emulator.
Edit : Additionally, what can I do to know what's the actual error ? "Internal error" is not worth anything as an error message.
from supabase-flutter.
I just tried creating a new user by email/password with the signUp function, and got this error :
{\"code\":500,\"error_code\":\"unexpected_failure\",\"msg\":\"Database error saving new user\",\"error_id\":\"87c17ea583ff2e2c-BRU\"}
Now this is already a way more informative message, if still of quite poor quality. I thought that maybe the whole user creation was done in a transaction, which made sense, and that the trigger I had made to automatically create a row in my own users table could create an error (despite it being extremely simple). I dropped it, and now I'm getting a 429 error. The logs do not give anymore info (and by the way, they're basically unreadable on Firefox).
Overall, I have to say this is an extremely poor experience. If I was looking for a backend for an Entreprise project, Supabase would have been dropped if only due to the very poor logs and errors.
from supabase-flutter.
Related Issues (20)
- auth.resetPasswordForEmail throws AuthRetryableFetchException when SMTP settings are wrong
- AuthWeakPasswordException causes an unhandled exception HOT 1
- Supabase.initialize don't refresh token after 1h on app open again HOT 4
- AuthRetryableFetchError with Supabase and Flutter HOT 3
- AuthRetryableFetchError (Flutter and Supabase) HOT 1
- Simple database call returns "Invalid media type: expected no more input" error
- How are you supposed to sign up with OAuth providers ? HOT 3
- Saving sessions for logging in via facebook HOT 6
- Matching on null fails to return anything HOT 7
- single() returns Invalid media type: expected no more input. HOT 9
- API for session restore using magic links HOT 5
- Allow to pass query params when invoking function HOT 3
- Realtime: Unable to build WebSocket connection through Tor proxy HOT 1
- Sentry reports AuthException(message: AuthRetryableFetchError, statusCode: null) HOT 1
- Sentry reports AuthRetryableFetchError HOT 1
- Sentry reports AuthException(message: Invalid Refresh Token: Refresh Token Not Found, statusCode: 400) HOT 5
- Does Supabase Flutter `functions.invoke` support FormData input?
- Self Hosted Supabase is not registering Users from Flutter SDK, Opposed to the hosted version which can. HOT 1
- AuthChangeEvent does not trigger after loggining in using signInWithOAuth (`Google` or `Apple`). HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supabase-flutter.