laravel-dynamodb icon indicating copy to clipboard operation
laravel-dynamodb copied to clipboard

Integrating with Laravel auth

Open baopham opened this issue 7 years ago • 5 comments
trafficstars

Related issues:

  • #153
  • #47

baopham avatar Sep 22 '18 12:09 baopham

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.

alehempel avatar Oct 15 '18 20:10 alehempel

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.

zoul0813 avatar Oct 16 '18 01:10 zoul0813

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

foo123 avatar Oct 13 '19 09:10 foo123

Any roadmap for this feature?

rognales avatar Jan 04 '21 07:01 rognales

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.

zoe-edwards avatar Jan 04 '21 19:01 zoe-edwards