Authentication meta data

I’m trying to add a user’s role to meta data during sign up.

For some reason I’m unable to store my role in the raw_user_meta_data in my auth.users table.

Any ideas why this might not be happening?


I’ve also tried it with double quotes around variables[…] without any luck either.

Cheers

Al


Return a single object with key value pairs :slight_smile: I suggest using formula with createObject.

Thank you.

I still had a problem where I was using:

createObject(“role”," toText(variables[‘b409a876-2f45-41a5-bd29-6e3b54020332-value’])")

which was producing this in my database:

but realised I needed to remove the “” around the outside and it’s now working.

Many thanks @Kawwl

1 Like