Skip to content
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

Implement signInAnonymously from the JS client #88

Closed
acupofjose opened this issue Mar 29, 2024 · 4 comments
Closed

Implement signInAnonymously from the JS client #88

acupofjose opened this issue Mar 29, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@acupofjose
Copy link
Collaborator

Re: #87

Current Supabase Documentation:
https://supabase.com/docs/guides/auth/auth-anonymous

Relevant Code here:
https://github.com/supabase/auth-js/blob/92fefbd49f25e20793ca74d5b83142a1bb805a18/src/GoTrueClient.ts#L368-L401

@acupofjose acupofjose added the enhancement New feature or request label Mar 29, 2024
@acupofjose acupofjose self-assigned this Apr 3, 2024
@acupofjose
Copy link
Collaborator Author

Available in v4.2.7

@kaushalkumar86
Copy link

Thanks for the instant update.
I already implemented it and its working as expected.
Although, I have a few more requests, can you please add the following lines in User.cs, so that it can be checked whether the user is anonymous or not..

[JsonProperty("is_anonymous")] public bool IsAnomynous { get; set; }

Also, can you also look into supabase.auth.linkIdentity, referenced https://github.com/supabase/auth-js/blob/92fefbd49f25e20793ca74d5b83142a1bb805a18/src/GoTrueClient.ts#L1734-L1799

@acupofjose acupofjose reopened this Apr 4, 2024
@acupofjose
Copy link
Collaborator Author

Can do!

@acupofjose
Copy link
Collaborator Author

Available in v4.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants