Skip to content

Commit

Permalink
docs: correct claims.email in github guide (#422)
Browse files Browse the repository at this point in the history
There is no email_primary in claims, and the selfservice strategy is currently using claims.email.
  • Loading branch information
origandrew authored May 19, 2020
1 parent dc2b6b2 commit 58f7e15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ local claims = {
//
// Therefore we only return the email if it (a) exists and (b) is marked verified
// by GitHub.
[if "email_primary" in claims && claims.email_verified then "email" else null]: claims.email_primary,
[if "email" in claims && claims.email_verified then "email" else null]: claims.email,
},
},
}
Expand Down

0 comments on commit 58f7e15

Please sign in to comment.