gotrue-ex icon indicating copy to clipboard operation
gotrue-ex copied to clipboard

decrypt the jwt

Open tttp opened this issue 3 years ago • 1 comments

Hi,

I was looking for a way to re-use and read the jwt set by supabase directly from our elixir server.

If I got it right, sharing the secret key between supabase and the elixir server and send the jwt directly to both (from the browser) should work.

but I didn't find any function allowing to decrypt the jwt in this library. am I missing something or isn't it covered?

tttp avatar Feb 22 '22 15:02 tttp

You can decrypt yourself, but I love to see it with this lib

kasvith avatar Aug 02 '22 20:08 kasvith