Ongoing OIDC: return the primary account info along with the user. (#1145)

This commit is contained in:
Jim authored and GitHub committed 2021-04-20 20:33:56 -04:00
1 parent a90a64d787
commit 75108cbc8b
33 files changed
+1514 -643

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ func TestAuthToken(t *testing.T, conn *gorm.DB, kms *kms.Kms, scopeId string, op
authMethod := password.TestAuthMethods(t, conn, scopeId, 1)[0]
// auth account is only used to join auth method to user.
// We don't do anything else with the auth account in the test setup.
acct := password.TestAccounts(t, conn, authMethod.GetPublicId(), 1)[0]
acct := password.TestAccount(t, conn, authMethod.GetPublicId(), "name1")
ctx := context.Background()
rw := db.New(conn)