You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I think this bug is by supabase backend side but not sure. I just wrote simple code that sends idToken and nonce to ssignInIdToken() function. I am sure idToken and nonce are valid. But this request cased following error:
flutter: AuthException(message: FormatException: Unexpected end of input (at character 1) ^ , statusCode: null)
Then I tried to find out api this package calling and try to call it myself on postman. I found api endpoint and it was https://xxxxxxx.supabase.co//auth/v1/authorize (I hide my project id). I called this manually in postman and got blank body with 404 statuc code. And I guess error above is due to supabase not returning body message in json.
Describe the bug
I think this bug is by supabase backend side but not sure. I just wrote simple code that sends idToken and nonce to ssignInIdToken() function. I am sure idToken and nonce are valid. But this request cased following error:
flutter: AuthException(message: FormatException: Unexpected end of input (at character 1) ^ , statusCode: null)
Then I tried to find out api this package calling and try to call it myself on postman. I found api endpoint and it was https://xxxxxxx.supabase.co//auth/v1/authorize (I hide my project id). I called this manually in postman and got blank body with 404 statuc code. And I guess error above is due to supabase not returning body message in json.
To Reproduce
await supabaseClient.auth.signInWithIdToken( provider: OAuthProvider.google, idToken: idToken, nonce: rawNonce, );
Expected behavior
Should work normally
Screenshots
![image](https://private-user-images.githubusercontent.com/46817680/332579033-085cbaa5-8617-4a7b-9f5b-b21ca7730686.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxMjY4MDcsIm5iZiI6MTcyMDEyNjUwNywicGF0aCI6Ii80NjgxNzY4MC8zMzI1NzkwMzMtMDg1Y2JhYTUtODYxNy00YTdiLTlmNWItYjIxY2E3NzMwNjg2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDIwNTUwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk4ZmZlZDFlMWY2ZDU4ZTI2YWIxZWJkNDMzNmI2ODFkNGEwNThlZTdmOGM4OWRjZDFkMWViMmNlNTk1MjBhN2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5T1BG4ODGD0py2XTVX45wv4sQiIrtfWVwIKQ2FYLx7Q)
Version (please complete the following information):
![image](https://private-user-images.githubusercontent.com/46817680/332579189-21e7d24e-6b43-430f-8e00-c4a7db2c4ed9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxMjY4MDcsIm5iZiI6MTcyMDEyNjUwNywicGF0aCI6Ii80NjgxNzY4MC8zMzI1NzkxODktMjFlN2QyNGUtNmI0My00MzBmLThlMDAtYzRhN2RiMmM0ZWQ5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDIwNTUwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTljMzI0ZmUwOTlmNDdjM2YxZTQ4YWE5MGY4MzViMTA2MWVjMDQ0Y2RiZjg5ZTQ4NzExY2FhNGI5ZDc3NjI3OWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.SXOENko2aX4WJrDcRkkH_RSM0IBLLraY-tG96-HmnoI)
On Linux/macOS
The text was updated successfully, but these errors were encountered: