Closed Vedsaga closed 3 weeks ago
Can't seems to change the title, but can say that
AuthChangeEvent
does not trigger is a bugBut the title by mistake is AuthChangeEvent
does trigger...
Hopeful that there is some work around... As we plan to release the app by 29th
cc: @dshukertjr
@Vedsaga This is happening probably because you are listening to deep links on your own. supabase_flutter handles deep links automatically without you having to do anything, and you setting up your own deep link listener using app-link interferes with it.
If you must listen to deep links using app-links, you can explicitly call supabase.auth.getSessionFromUrl()
method when you receive a deep link.
Describe the bug
We login via
OAuth
, was expecting that when redirected back to the app,AuthChangeEvent
should trigger, which does not trigger. And even checking thecurrentSession
manually is null.Have went through the discussion, around https://github.com/supabase/supabase-flutter/issues/819. We don't even receive any email-confirmation ( assuming for
Google/Apple
) there won't be.below is our OAuth method,
As we listen for the redirect URL ( as we are using
app_links
), so when we get redirected theapp-links
does catch the uri, below is how we listen,and we can see the after successful redirect, in the console, we get following print
The logs, seems to confirm that oauth succeeded, just that
AuthChangeEvent
is not triggering... Nither receive any email for confirmation, even though we disabled the required email verification ( so this should be concern for now)Expected behavior
It is expected that
AuthChangeEvent
should have trigged.Version (please complete the following information):
On Windows
Additional context
Email which is used while
OAuth
, that email did existed earlier and account was created viaemail + password
flow.Also, tried
AuthFlowType.implicit
same behaviour