ok thanks.
Is it somehow "bad" practice to use user metadata to store invitation pins?
I update_user_metadata(pin, some dict) to store it. I checked the database layout and it should be ok. Also I store "real" user metadata after signup.
I somehow want to avoid to need a connection to our project database, because If i can handle anything auth related using supertokens and I can create a service to check the JWT using JWKS and add the custom claims to the request header. Then I should have a loose coupling because the application just uses the header.
I guess this should work right?