Comments (8)
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.
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.
I am also seeing a 403: invalid claim: missing sub claim
. Would love to know how to troubleshoot
from auth.
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.
@J0 It seems to be working today, thanks!
from auth.
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.
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.
Check if there is a trigger on the auth table, try disabling it. It worked for me
from auth.
Related Issues (20)
- updateUser vs admin.updateUserById behavior with Anonymous Users HOT 2
- Should the `admin` create user handler of Auth create identities based on the provider under the hood? HOT 3
- Updating a user's password kills their session HOT 7
- Changing Apple bundle ID causes duplicate users HOT 1
- Information about Contributing Regional SMS Provider (via Send SMS HTTP Hook) HOT 3
- Supabase Auth latest gotrue migration impossible to resync using Prisma migrate HOT 3
- AuthException(message: FormatException: Unexpected end of input (at character 1) HOT 3
- Anonymous account does not have permission on schema "public" despite having valid JWT with "authenticated" role HOT 2
- Supabase should be sending X-Supabase-API-Version in Access-Control-Allow-Headers HTTP header
- REST API documentation consistency improvements HOT 3
- Raising an exception on postgress via triggers doesn't send the message to the API response HOT 1
- Flow State Not Found HOT 3
- raw_app_meta_data not updated when setting password for 3rd-party authenticated users
- Prevent MFA factor hijacking HOT 3
- With email verification disabled in my project, email verification is still required in order to promote an anonymous user HOT 4
- Email Verification Not Reflected in Identities Table (and JWT)
- docker image version of `supabase/auth` not updated HOT 1
- Invalid JWT if user signIn back via OTP after deleting his account
- Auth fails to update user phone number under common conditions
- "Invalid Login Credientals" AuthApiError should have an error code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auth.