Passing Custom Value in DB during Oauth Login #12243
-
So i was tying to pass an additional parameter(role_id) to my DB during an oauth login but i am constantly getting : user = pgTable('user', { and my provider is:
Expected behavior |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For people facing similar issue, I just Figured it out, Looks like in my auth.ts file I had specify the table that i am using :
and then it worked like a charm. Edit Pass your values like this inside your ouath provider:
|
Beta Was this translation helpful? Give feedback.
For people facing similar issue, I just Figured it out, Looks like in my auth.ts file I had specify the table that i am using :
and then it worked like a charm.
Edit Pass your values like this inside your ouath provider: