mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 01:18:43 +00:00
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:
@@ -15,8 +15,8 @@ type testVerifier struct {
|
||||
memberships []*Membership
|
||||
}
|
||||
|
||||
func (v *testVerifier) VerifyAccessToken(ctx context.Context, token, clientID string) (string, string, string, string, error) {
|
||||
return "userID", "agentID", "de", "orgID", nil
|
||||
func (v *testVerifier) VerifyAccessToken(ctx context.Context, token, clientID string) (string, string, string, string, string, error) {
|
||||
return "userID", "agentID", "clientID", "de", "orgID", nil
|
||||
}
|
||||
func (v *testVerifier) SearchMyMemberships(ctx context.Context) ([]*Membership, error) {
|
||||
return v.memberships, nil
|
||||
|
Reference in New Issue
Block a user