MrHertal / react-admin-amplify

AWS Amplify data provider for react-admin.
MIT License
159 stars 42 forks source link

How to use social login google, with cognito? #63

Closed danjesus closed 2 years ago

danjesus commented 2 years ago

Hi,

How can I configure react-admin-amplify to use a social auth provider, which I configured in amplify?

I tried to create a custom authProvider, but even passing the methods it doesn't authenticate, and it keeps returning "no user".

Example: https://gist.github.com/danjesus/6da3efcb7aa50a1443283c701731de2f

Has anyone ever needed to configure react-admin like this?

Some tip?

danjesus commented 2 years ago

@MrHertal could you help me?

danjesus commented 2 years ago

It just customize login screen, i just created a custom component.

saikarthikp9 commented 2 years ago

@danjesus Could I see what you ended up doing?