redwoodjs / playground-auth

This repo demonstrates all the authentication providers that Redwood supports
https://redwood-playground-auth.netlify.app/
MIT License
34 stars 25 forks source link

Adds Supabase Apple, Twitter auth support with v0.33-rc #67

Closed dthyresson closed 3 years ago

dthyresson commented 3 years ago

This PR upgrades the Playground Auth sample app to the v0.33 release candidate that has support for Twitter and Apple logins.

See https://supabase.io/blog/2021/06/02/supabase-beta-may-2021#apple-logins-are-now-available and https://supabase.io/blog/2021/06/02/supabase-beta-may-2021#twitter-logins-are-now-available for Supabase's announcement for Apple and Twitter login support.

Note: Currently neither are configured as Apple requires a dev certification (see https://medium.com/identity-beyond-borders/how-to-configure-sign-in-with-apple-77c61e336003 from more info) and Twitter requires an approved Twitter app.

However, placeholders exist and the redwood auth provider permits these as oauth providers.

There is also a login with refreshToken that Supabase adds likely for use with native apps or clis (ie, not web browsers) but this is not demo'd.

lunchbreakdev commented 3 years ago

@dthyresson I believe I have an Apple dev cert if we want to implement that. Not sure how we would handle the logistics of that though