-
GoTrue + PostgREST
When PostgREST receives a request that contains a valid JWT with a
roleclaim it will switch to a database role with that name for the duration of the HTTP request. GoTrue doesn’t issue JWT’s with aroleclaim by default but it’s a pretty easy fix to make it do so.