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

[Bug?]: No Supabase session found #11962

Open
1 task
ejleis opened this issue Mar 10, 2025 · 1 comment
Open
1 task

[Bug?]: No Supabase session found #11962

ejleis opened this issue Mar 10, 2025 · 1 comment
Labels
bug/needs-info More information is needed for reproduction

Comments

@ejleis
Copy link

ejleis commented Mar 10, 2025

What's not working?

I have this weird bug that I'm encountering when I use RedwoodJS Supabase Authentication. Whenever I logged in Error No Supabase Session found using a RedwoodJS application. But when using Vanilla JS, I'm connecting just fine with Supabase. .env is also the same used in Vanilla JS and RedwoodJS application. What's more weird regarding this bug is that response is fine and seems to be updated the logged in information on Supabase DB. But error on VS Code Console kept showing No Supabase Session Found.

How do we reproduce the bug?

Below is the link of my Gitpod snapshot:
https://gitpod.io#snapshot/564fca47-dc7b-4ace-889b-f19c35ddf4a5

What's your environment? (If it applies)

Git pod yarn rw info

System:
    OS: Linux 6.1 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 20.15.1 - /tmp/xfs-45341a72/node
    Yarn: 4.6.0 - /tmp/xfs-45341a72/yarn
  Databases:
    SQLite: 3.37.2 - /usr/bin/sqlite3
  npmPackages:
    @redwoodjs/auth-supabase-setup: 8.5.0 => 8.5.0 
    @redwoodjs/core: 8.5.0 => 8.5.0 
    @redwoodjs/project-config: 8.5.0 => 8.5.0 
  redwood.toml:
    [web]
      title = "Redwood App"
      port = 8910
      apiUrl = "/.redwood/functions" # You can customize graphql and dbauth urls individually too: see https://redwoodjs.com/docs/app-configuration-redwood-toml#api-paths
      includeEnvironmentVariables = ["SUPABASE_URL", "SUPABASE_KEY"]
    [api]
      port = 8911
    [browser]
      open = true
    [notifications]
      versionUpdates = ["latest"]

Local yarn rw info

System:
    OS: Windows 11 10.0.26100
  Binaries:
    Node: 20.18.1 - ~\AppData\Local\Temp\xfs-78b4cf5e\node.CMD
    Yarn: 4.6.0 - ~\AppData\Local\Temp\xfs-78b4cf5e\yarn.CMD
  Browsers:
    Edge: Chromium (131.0.2903.70)
  npmPackages:
    @redwoodjs/auth-supabase-setup: 8.5.0 => 8.5.0
    @redwoodjs/core: 8.5.0 => 8.5.0
    @redwoodjs/project-config: 8.5.0 => 8.5.0
  redwood.toml:
    [web]
      title = "Redwood App"
      port = 8910
      apiUrl = "/.redwood/functions" # You can customize graphql and dbauth urls individually too: see https://redwoodjs.com/docs/app-configuration-redwood-toml#api-paths
      includeEnvironmentVariables = ["SUPABASE_URL", "SUPABASE_KEY"]
    [api]
      port = 8911
    [browser]
      open = true
    [notifications]
      versionUpdates = ["latest"]

Are you interested in working on this?

  • I'm interested in working on this
@ejleis ejleis added the bug/needs-info More information is needed for reproduction label Mar 10, 2025
@Tobbe
Copy link
Member

Tobbe commented Mar 18, 2025

@ejleis Thanks for providing the gitpod link. Super helpful! I got it running. What's a username and password I can try logging in with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/needs-info More information is needed for reproduction
Projects
None yet
Development

No branches or pull requests

2 participants