This simple and minimalist HTML file can be used to obtain JWT from Supabase user credentials. This can be used to debug and develop Edge Functions (to emulate users) or just to simply debug the JWT token.
First, update the Supabase credentialse in index.html
const supabaseUrl = '<SUPABASE_URL>';
const supabaseKey = '<SUPABASE_ANON_KEY>';
Then just serve the index.html
file.
After opening the site, enter email and password. If the credentials are valid, JWT (and parsed JWT) will be displayed.
This site currently only supports login with email and password. I plan on adding support for OAuth authentication.