Skip to content

Issues Noticed with Auth #75

Closed as not planned
Closed as not planned

Description

@Ashwaq3

I have been working with auth via different methods.

  1. JWT expired and the session lost 😩 I noticed it’s expired after the period written in Supabase which can be maximum 1 week. Wish if we can stay logged in until it’s logged out by the user Like instagram.

  2. Provider sign in has to ways a. Sigin method which doesn’t lunch the url you have to lunch it by yourself b. SigninWithProvider which return bool

both methods doesn’t return the session and don’t trigger onAuthStateChange

  1. Phone auth is cool but I would highly recommend if we can sign users with phone directly “ In my case Im using other sms provider api so I had to workaround and signup the user first”

Thanks and hope it will be fixed soon🔥

Activity

  1. DanMossa commented on Apr 17, 2022

    @DanMossa
    Collaborator
    1. I'm curious why the session isn't automatically being refreshed. Probably a bug that can be looked into.
    2. There's a PR for signInWithProvider to return the correct value.
    3. Do you mean like username and password?
  2. Ashwaq3 commented on Apr 17, 2022

    @Ashwaq3
    Author

    @DanMossa
    Just checked your PR it would be amazing if it's fixed.

    It could be in this way or any other way as long as it allowed me signin with phone without sigin it up.

  3. Ashwaq3 commented on Apr 17, 2022

    @Ashwaq3
    Author

    @DanMossa
    #73 as a way to fix the issue i can see you return the GotrueSessionResponse instead of bool "That's cool but still the response will return 2 things url and provider name.

    I believe the main issue is in the _handleProviderSignIn here where the session should be given
    image

  4. added
    bug
    auth
    on Apr 17, 2022
  5. bdlukaa commented on Jul 17, 2022

    @bdlukaa
    Collaborator

    I guess we can close this a duplicate of the above issues

  6. added
    duplicate
    on Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    authbugduplicate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions