Giter Club home page Giter Club logo

Comments (8)

vasko77 avatar vasko77 commented on June 24, 2024 1

Same issue with me. Try removing the select statement
--select is_admin into is_a from pft where user_id = (event->>'user_id')::uuid;
and it will work. Not sure why....
Of course this is not what we want.

from auth.

vasko77 avatar vasko77 commented on June 24, 2024 1

This is what fixed the issue for me. It was a security issue.
grant all
on table public.user_roles
to supabase_auth_admin;

from auth.

ItaiAxelrad avatar ItaiAxelrad commented on June 24, 2024

I am also seeing a 403: invalid claim: missing sub claim. Would love to know how to troubleshoot

from auth.

J0 avatar J0 commented on June 24, 2024

Hey @vasko77

Thanks for flagging the issue. I'll look into this

@ItaiAxelrad can I check if the missing claim issue still persists for you?

from auth.

ItaiAxelrad avatar ItaiAxelrad commented on June 24, 2024

@J0 It seems to be working today, thanks!

from auth.

J0 avatar J0 commented on June 24, 2024

Thanks everyone. Going to close now as it sounds like the issue is resolved but feel free to re-open / ping again if there are further issues

from auth.

odinberre avatar odinberre commented on June 24, 2024

Currently experimenting with Auth Hooks, and have encountered this issue where I consistently receive a 403: invalid claim: missing sub claim error. However, I login is still possible and the sub claim seems correct when decoding the JWT. Any idea of what might be causing this?

from auth.

Ted2xmen avatar Ted2xmen commented on June 24, 2024

Check if there is a trigger on the auth table, try disabling it. It worked for me

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.