fix: check allowed origins from calling and not called application (#2106)

* fix: check allowed origins from calling and not called application

* fix test
This commit is contained in:
Livio Amstutz
2021-07-30 11:30:51 +02:00
committed by GitHub
parent de9f88bf5b
commit e1a3cc732d
5 changed files with 20 additions and 20 deletions

View File

@@ -21,8 +21,8 @@ var (
type verifierMock struct{}
func (v *verifierMock) VerifyAccessToken(ctx context.Context, token, clientID string) (string, string, string, string, error) {
return "", "", "", "", nil
func (v *verifierMock) VerifyAccessToken(ctx context.Context, token, clientID string) (string, string, string, string, string, error) {
return "", "", "", "", "", nil
}
func (v *verifierMock) SearchMyMemberships(ctx context.Context) ([]*authz.Membership, error) {
return nil, nil