NeonN
Neon9mo ago
35 replies
primary-violet

RLS with anonymous and authenticated

Hi there. I'm wondering if it's possible to use one single connection string to connect to either an anonymous or authenticated role, depending on the JWT provided by the connection string - i.e. if i can use only the anonymous role (with a password) and provide the token to optionally move the user to authenticated - is something like this possible?
Was this page helpful?