Skip to content

Commit

Permalink
improvement: support atom keys for uid in addition to strings (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
yasoob authored Jan 25, 2024
1 parent 22aa74a commit 2dde760
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ defmodule AshAuthentication.UserIdentity.UpsertIdentityChange do
# uid is a convention
# sub is supposedly from the spec
# id is from what has been seen from Google
|> Map.take(["uid", "sub", "id"])
|> Map.take(["uid", "sub", "id", :uid, :sub, :id])
|> Map.values()
|> Enum.reject(&is_nil/1)
|> List.first()
Expand Down

0 comments on commit 2dde760

Please sign in to comment.