diogob / postgres-websockets

PostgreSQL + Websockets
https://hackage.haskell.org/package/postgres-websockets
MIT License
359 stars 28 forks source link

anyone successfully used this with auth0? #99

Open mwotton opened 1 day ago

mwotton commented 1 day ago

i've been trying to work out how to get this working alongside postgrest with auth0. it's not clear to me how you can set the mode claim in the jwt that postgres-websockets requires.

this is probably not an issue with postgres-websockets as such but it seems to be a common way of working with postgrest, it'd be great to have a recipe.

diogob commented 18 hours ago

Indeed! Will be happy to include in the docs. I assume you have a way to include arbitrary claims through the authorization service.