fix examples and update usage
This commit is contained in:
parent
636d0db033
commit
33a38e9c07
4 changed files with 16 additions and 5 deletions
|
@ -254,7 +254,7 @@ func (s *multiStorage) Health(ctx context.Context) error {
|
|||
func (s *multiStorage) storageFromContext(ctx context.Context) (*storage, *oidc.Error) {
|
||||
storage, ok := s.issuers[op.IssuerFromContext(ctx)]
|
||||
if !ok {
|
||||
|
||||
return nil, oidc.ErrInvalidRequest().WithDescription("invalid issuer")
|
||||
}
|
||||
return storage, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue