mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
11 lines
547 B
Go
11 lines
547 B
Go
// Package authlink provides analysis and repair utilities for OIDC user link
|
|
// records stored in the user_links table.
|
|
//
|
|
// When an OIDC provider is changed, the issuer (and possibly subject) in the
|
|
// linked_id column changes. Because linked_id is composed as "issuer||subject",
|
|
// existing users get locked out with "Account already linked" errors. The
|
|
// functions in this package let an administrator inspect which links are
|
|
// affected and reset the mismatched ones so users can re-authenticate under the
|
|
// new provider.
|
|
package authlink
|