feat: map preferred_username claim to user record (#2569)

This commit is contained in:
Greg Linklater
2021-09-17 03:45:37 +02:00
committed by GitHub
parent 27736f66ef
commit 01cea549a5
7 changed files with 29 additions and 1 deletions

View File

@@ -104,6 +104,7 @@ export async function buildUser(overrides: Object = {}) {
{
email: `user${count}@example.com`,
name: `User ${count}`,
username: `user${count}`,
createdAt: new Date("2018-01-01T00:00:00.000Z"),
lastActiveAt: new Date("2018-01-01T00:00:00.000Z"),
authentications: [