marmelab / ra-supabase

Supabase adapter for react-admin, the frontend framework for building admin applications on top of REST/GraphQL services.
MIT License
150 stars 27 forks source link

Add loginpage props on admin component usage example #15

Closed mahdiarn closed 2 years ago

mahdiarn commented 2 years ago

Background

When I was trying to use this library, I approach an issue that I couldn't login using supabase auth. Error message You must provide either an email, phone number or a third-party provider. pops on the bottom of the page. I checked on the demo directory that it actually needs to pass LoginPage component to loginPage props of Admin component.

The readme might confuse another user as well, so I suggest this edit.

Issue:

Screen Shot 2021-12-17 at 22 06 30