Commit a818a5b
authored
fix: Clerk failing to map nickname when username empty (#1344)
* fix: Clerk failing to map nickname when username empty
Username isn't always returned by Clerk and this is failing. Check for username to map otherwise use given_name or as fallback email address.
* Update Provider.php
Removed email fallback1 parent 0ea5934 commit a818a5b
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
0 commit comments