Skip to content

Third Party Auth JWT not compatible with Edge Function #542

@PBJT2

Description

@PBJT2

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

Following the guide at Supabase Auth0 Integration Docs.
I was not able to use the JWT issued by Auth0 to invoke my edge function.
I was able to use the JWT issued by Auth0 to query the database.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Follow the guide at Supabase Auth0 Integration Docs for setup.
  2. Attempt to invoke Edge Function with a JWT issued by Auth0

Expected behavior

Auth0 JWT should be a valid JWT to invoke the edge function with.

System information

  • OS: Windows 11
  • Version of supabase-js: 2.49.4
  • Version of Node.js: 22

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions