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

🐛: summary, video like attached to any logged in user 🤣 #139

Open
adnjoo opened this issue Nov 13, 2024 · 0 comments
Open

🐛: summary, video like attached to any logged in user 🤣 #139

adnjoo opened this issue Nov 13, 2024 · 0 comments

Comments

@adnjoo
Copy link
Owner

adnjoo commented Nov 13, 2024

Certainly, here are the reproduction steps for issue #139:

🐛 Issue Summary

A non-logged-in user generates a summary, but Supabase incorrectly fetches the details of a logged-in user (if one exists) and auto-likes the video.

Reproduction Steps

  1. Open the application in an incognito browser or any session where you are not logged in.

  2. Generate a video summary without logging in (follow standard steps to create a summary without authentication).

  3. Observe the Supabase behavior:

    • Check if a logged-in user's details (from other open sessions or cached data) are retrieved by Supabase.
    • See if the video summary receives an automatic "like" attached to a logged-in user's account, even though the action was performed by an unauthenticated user.
  4. Expected Behavior:

    • No auto-like should be applied.
    • The video summary should remain without any logged-in user interaction unless explicitly liked by a signed-in user.
  5. Actual Behavior:

    • The video summary is auto-liked by a logged-in user, even though it was generated by an unauthenticated user.

Additional Notes

  • This might be caused by Supabase erroneously retrieving logged-in user details when performing actions as a guest.

Let me know if you need any clarifications or further details!

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

No branches or pull requests

1 participant