OAuth: persisting the id token (#42938)

* OAuth: persisting the id token

* OAuth: verifies that the idtoken gets persistet in the database
This commit is contained in:
Leonard Gram
2021-12-14 15:22:10 +01:00
committed by GitHub
parent 4a3961400a
commit 5d18834deb
5 changed files with 39 additions and 3 deletions
@@ -42,4 +42,8 @@ func addUserAuthMigrations(mg *Migrator) {
mg.AddMigration("Add index to user_id column in user_auth", NewAddIndexMigration(userAuthV1, &Index{
Cols: []string{"user_id"},
}))
mg.AddMigration("Add OAuth ID token to user_auth", NewAddColumnMigration(userAuthV1, &Column{
Name: "o_auth_id_token", Type: DB_Text, Nullable: true,
}))
}