Test: Improve oidc dummy OP #782
This commit is contained in:
parent
9a0b4da149
commit
ae882f948b
1 changed files with 4 additions and 6 deletions
|
@ -108,7 +108,7 @@ func (a *AuthRequest) GetScopes() []string {
|
|||
func (a *AuthRequest) SetCurrentScopes(scopes []string) {}
|
||||
|
||||
func (a *AuthRequest) GetState() string {
|
||||
return state
|
||||
return a.State
|
||||
}
|
||||
|
||||
func (a *AuthRequest) GetSubject() string {
|
||||
|
@ -120,10 +120,9 @@ func (a *AuthRequest) Done() bool {
|
|||
}
|
||||
|
||||
var (
|
||||
a = &AuthRequest{}
|
||||
t bool
|
||||
c string
|
||||
state string
|
||||
a = &AuthRequest{}
|
||||
t bool
|
||||
c string
|
||||
)
|
||||
|
||||
func (s *AuthStorage) Health(ctx context.Context) error {
|
||||
|
@ -149,7 +148,6 @@ func (s *AuthStorage) CreateAuthRequest(_ context.Context, authReq *oidc.AuthReq
|
|||
Method: authReq.CodeChallengeMethod,
|
||||
}
|
||||
}
|
||||
state = authReq.State
|
||||
t = false
|
||||
return a, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue