Skip to content

[Bug]: Something wrong with supabase integration #1940

@SPX84

Description

@SPX84

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I have follwed the isntruction on your website exactly but am getting an error when trying to set up user authentication using superbase.

https://docs.lowcoder.cloud/lowcoder-documentation/connect-your-data/data-sources-in-lowcoder/sql-databases/supabase/supabase-oauth

I am seeing error messages in the console and the user login process is not working. The error I am seeing is shown below.

Uncaught (in promise) TypeError: Cannot add property changedAccessToken, object is not extensible
at ls._handleTokenChanged (supabase-64073ffd.js:1:91881)
at Object.callback (supabase-64073ffd.js:1:91589)
at supabase-64073ffd.js:1:79388
at Array.map ()
at os._notifyAllSubscribers (supabase-64073ffd.js:1:79361)
at BroadcastChannel. (supabase-64073ffd.js:1:55942)

I even get this error when trying to create the client like this...

const supabaseUrl = {URL}
const supabaseKey = {KEY}

return supabase.createClient(supabaseUrl,supabaseKey)

Expected Behavior

N/A

Steps to reproduce

You can see the behaviour in my app

https://app.lowcoder.cloud/apps/689245f846ce07435b42b324/view

Environment

No response

Additional Information

No response

Metadata

Metadata

Assignees

Labels

Javascript FrontendPull requests that update Javascript codeNeeds triageNeeds to be reviewed by core team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions