Files
threshold/internal/auth/oidc/query.go
T
dd0f34bc35 Add new OIDC auth method. (#1090)
Co-authored-by: Todd Knight <T.Alan.Knight@gmail.com>
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com>
2021-04-08 20:54:32 -04:00

16 lines
241 B
Go

package oidc
const (
acctUpsertQuery = `
insert into auth_oidc_account
(%s)
values
(%s)
on conflict on constraint
auth_oidc_account_auth_method_id_issuer_subject_uq
do update set
%s
returning public_id, version
`
)