feat: preselect user with id_token_hint (#16)
* feat: preselect user with id_token_hint * fix tests
This commit is contained in:
parent
80f1272d26
commit
a8d10945d8
7 changed files with 68 additions and 38 deletions
|
@ -116,7 +116,7 @@ func (s *AuthStorage) Health(ctx context.Context) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (s *AuthStorage) CreateAuthRequest(_ context.Context, authReq *oidc.AuthRequest) (op.AuthRequest, error) {
|
||||
func (s *AuthStorage) CreateAuthRequest(_ context.Context, authReq *oidc.AuthRequest, _ string) (op.AuthRequest, error) {
|
||||
a = &AuthRequest{ID: "id", ClientID: authReq.ClientID, ResponseType: authReq.ResponseType, Nonce: authReq.Nonce, RedirectURI: authReq.RedirectURI}
|
||||
if authReq.CodeChallenge != "" {
|
||||
a.CodeChallenge = &oidc.CodeChallenge{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue