playground-auth icon indicating copy to clipboard operation
playground-auth copied to clipboard

Adding a GoTrue example

Open lunchbreakdev opened this issue 3 years ago • 2 comments

I wanted to throw this out there, but should we add a GoTrue example that is separate from the Netlify one? It's a similar backend but doesn't have the Identity widget.

I wasn't sure if this was just too redundant or if it should be added as well.

lunchbreakdev avatar Apr 18 '21 13:04 lunchbreakdev

This might be difficult - but a great idea. Both Netlify and Supabase use their own flavors of GoTrue (server and client) under the hood. But this is for a straight go-true client w/ some "other" goTrue based backed API.

One might have to implement a serverless function that issues a JWT. I'll have to think about how one might accomplish this.

dthyresson avatar Apr 18 '21 14:04 dthyresson

Sounds good! I knew that they both used it, so definitely not a priority. But I saw it listed on the authentication docs and the cookbook, so it might be good to have an example. It might not actually provide extra value because it would look pretty plain.

lunchbreakdev avatar Apr 18 '21 14:04 lunchbreakdev