Open pehbehbeh opened 3 years ago
Can you verify that the :id
printed does match with an existing record? Does this happen every time you log in? The reload logic just pulls the primary key(s) for the struct and then runs a Repo.get_by
call (though I plan to remove these calls).
@danschultzer I've the same issue when I try use a Custom ID generator, like: Exnowflake
I can register the user with the GitHub provider. But I can't log in after the session expires:
I thought it was related to belongs_to. But it seems not.
https://elixirforum.com/t/custom-useridentity-belongs-to-type/37530
Can you verify that the
:id
printed does match with an existing record?
Yes.
Does this happen every time you log in?
Also yes.
User
and UserIdentites
are in the same context MyApp.Accounts
?Anything else I can do?
@pehbehbeh try to use the master
branch of pow
. This worked for me.
@pehbehbeh try to use the
master
branch ofpow
. This worked for me.
The master
branch works for me. Thanks!
I also get this for a custom integration, looks like it's from https://github.com/danschultzer/pow/commit/4b3433b5d6496f29058e5b5b35ba6a33ea69bbe0
Can we get a release for this? Happy using master until then. Thanks!
We just setup Azure AD. The first login / registration works like a charm. But when we logout and login again, we get the following error:
The record for the
user_identity
(and theuser
) definitely exists in the database. Do you have any idea how to solve this problem?