Giter Club home page Giter Club logo

Comments (7)

J0 avatar J0 commented on August 30, 2024 2

Hey @deezeddd,

Thanks for the query and for raising this - the HookName is generated from the Postgres URI and used internally to invoke the hook.

A secondary consideration was that we'd eventually expose the HookName with HTTP Hooks and allow developers to edit the name of the hook so that they can correlate with events / logs. I'm not sure if we still plan to proceed with this though.

We'll either add a comment in the code or note in the docs to clarify this.

from auth.

J0 avatar J0 commented on August 30, 2024 2

Thanks for raising! I'll follow up with a PR either adding a comment or omitting the field entirely from serialization.

from auth.

kangmingtay avatar kangmingtay commented on August 30, 2024

hi @deezeddd , i can't seem to reproduce this error when i attempt to add a postgres / http hook from the dashboard - can you provide more information about how you're seeing this error message?

from auth.

deezeddd avatar deezeddd commented on August 30, 2024

Hi, there isn’t error thrown. The field hookName is available in backend which is supabase/auth but not on the frontend to edit

from auth.

kangmingtay avatar kangmingtay commented on August 30, 2024

@deezeddd does it impact the usability of the hook here? also, is there a reason why you need to set the hook name explicitly through the UI?

i can't remember why we made the decision not to expose it but i'll check with the team on this and get back to you

from auth.

deezeddd avatar deezeddd commented on August 30, 2024

@kangmingtay that’s what I’m confused about why it is needed at the first place when it’s not in use, this might create a confusion in long term I believe.
If there is feature that might get implemented in future then it’s not a problem.

I’ll be happy to know the reason. Thanks for letting me know.

from auth.

deezeddd avatar deezeddd commented on August 30, 2024

Thanks, @J0 and @kangmingtay for helping with the query, adding a comment will be great!
Exposing the HookName is what I thought was about to be done in future updates. Thank you for clarifying this. I will mark the issue close.

from auth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.