New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No access_token detected (orj. example) #274
Comments
@yutech23 Could you follow the issue format and provide steps to reproduce? |
@dshukertjr I'm getting the same error as well. To reproduce just use the official example, bump supabase_flutter to ^1.0.1 and open the app in a webbrowser. It would be great if you could investigate that bug. |
Some more info: In my own codebase, I also get the error in version 1.0.0. It basically follows the tutorial from the supabase website. When I go to my splash page
|
@yutech23 Configuring URL strategy to |
@d-e-h-i-o
What is the use case here? This example app is configured so that the user has to go through SplashPage in order to be redirected to the appropriate page. |
it doesn't work. :( |
I don't use email's confirmation. I use signInWithPassword() func. It gives an error right after running the application. Database Connection Code****
} ****************** Login Screen Code (Button Action)********************
Main** |
I was trying to setup a basic app to demonstrate this error that I am also seeing. I could not even accomplish that due to to another similar error in the basic web demo project (error is under flutter web only) that I posted here - #282 . If I can get #282 resolved, I will continue to work to setup a basic project to confirm the error that @yutech23 is having. |
@yutech23 |
i had guessed. :) Do we have the solution ? :) Because; |
@yutech23 - In the VS Code Breakpoints section, when I unchecked the box "Uncaught Exceptions", it quit causing the program to stop on this exception. |
@dshukertjr - Yes, I was coming on here to let you know that it was in the deep link handler: I agree that it "should not" cause downstream effects on an app's functionality, but it is confusing because it produces a lot of messages that say "Error" and outputs an error stack trace that makes it appear worse than what it is. Also, it is an Unhandled Exception and there is no real way to catch it. Suggestion: Just make it an informational message "No access token found" and don't throw an unhandled exception all the way out to the application. This error message essentially made tough to find another real error I was having at startup that has now been resolved. And, as long as my VS Code doesn't have the box in Breakpoints set to break on Unhandled Exceptions, I can proceed fine as is until the handling of this is improved. Hopefully, that will help @yutech23 for now. |
@yutech23 |
@TommyLCox |
|
@dshukertjr I'm sorry, I should have specified that you need to look at the console to see the error message at the example app. For my app, there was no specific use case (except that people do refresh a browser sometimes, and staying at a route would maybe be a better user experience). Thank you very much for looking into it! |
Sorry for the delay, but this issue should now be fixed with v1.2.1 of supabase-flutter! |
Thank you @dshukertjr :) i will try right away. |
I USE autH.signInWithPassword()
I upgraded 1.1.0 version. I got a error. it's "No access_token detected.
I have tried example in git but I got same error.
Please Help can
The text was updated successfully, but these errors were encountered: