Any way to redirect on JWSError JWSInvalidSignature? #3808
-
My web app uses PostgreSQL to create the JWT tokens processed by PostgREST. I deliver the application entirely via It would suffice to have a way to tell PostgREST to proceed with the request as the anonymous user, but I don't see how to accomplish this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There is no way to accomplish what you're asking for.
Did you consider setting up some error handler on the client for all requests, which catches the JWSInvalidSignature error and triggers the re-authentication? |
Beta Was this translation helpful? Give feedback.
There is no way to accomplish what you're asking for.
Did you consider setting up some error handler on the client for all requests, which catches the JWSInvalidSignature error and triggers the re-authentication?