-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
According to documentation below, allowed_clients_id is supported in both @endpoints.api and @endpoints.method, with the specific setting override the general setting.
When I have allowed_clients_id defined in @endpoints.method and it validates the JWT fine.
When I moved allowed_clients_id to @endpoints.api, it gives the following error:
Cannot decode and verify the auth token. The backend will not be able to retrieve user info
Traceback (most recent call last):
File "/base/data/home/apps/p~cds-dev-155819/stdendpoints:test-client-id.401183766245752589/lib/endpoints_management/control/wsgi.py", line 593, in __call__
service_name)
File "/base/data/home/apps/p~cds-dev-155819/stdendpoints:test-client-id.401183766245752589/lib/endpoints_management/auth/tokens.py", line 104, in authenticate
raise suppliers.UnauthenticatedException(u"Audiences not allowed")
UnauthenticatedException: Audiences not allowed
Metadata
Metadata
Assignees
Labels
No labels