baopham / laravel-dynamodb

Eloquent syntax for DynamoDB
https://packagist.org/packages/baopham/dynamodb
MIT License
490 stars 128 forks source link

Integrating with Laravel auth #157

Open baopham opened 6 years ago

baopham commented 6 years ago

Related issues:

alehempel commented 6 years ago

Hello,

I'm having an error logging in. I extended my model (extends DynamoDbModel), but when I try to validate the credentials it generates the following error. Thank you very much if you can help me. erro 1

In the controller I am using Auth :: attempt to validate.

zoul0813 commented 6 years ago

You need to follow the instructions on the Laravel website for setting up Auth, it seems your model doesn’t extend or implement the Authenticatable contract properly.

foo123 commented 5 years ago

I am also interested in laravel's auth integration with dynamoDB model.

rognales commented 3 years ago

Any roadmap for this feature?

zoe-edwards commented 3 years ago

The problem is that the Laravel Auth system wants other tables, with relationships, which DynamoDB cannot provide, so it’s very tricky and possibly beyond the scope of an ORM. But worth leaving open if anybody can work out how to do it.