correct-apricot
correct-apricotโ€ข2y ago

Amplify Auth as AuthProvider

Did anyone try using amplify auth on refine? I'm experimenting on amplify and refine nextjs, dynamodb
5 Replies
Omer
Omerโ€ข2y ago
Hey @pkalib ๐Ÿ‘‹, Would you like to create an example? ๐Ÿš€
correct-apricot
correct-apricotโ€ข2y ago
Yes im creating one and planning to publish it @Omer do you have sample on authpage component for thirdparty how to call ie or does it use useLogin behind the scene?
Omer
Omerโ€ข2y ago
Yes, you can checkout Supabase example (useLogin is being used) https://github.com/refinedev/refine/blob/next/examples/dataProvider/supabase/src/App.tsx#L19
GitHub
refine/App.tsx at next ยท refinedev/refine
Build your React-based CRUD applications, without constraints. - refine/App.tsx at next ยท refinedev/refine
foreign-sapphire
foreign-sapphireโ€ข2y ago
Hi @pkalib, is it possible to see your example for next.js with amplify as auth provider.
correct-apricot
correct-apricotโ€ข17mo ago
im still figuring this out may development have been pending but Ill post it here once I got this working