Skip to content

Commit a79ee97

Browse files
authored
Updated the metadata server URL (#324)
1 parent 5408fbc commit a79ee97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firebase_admin/_token_gen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
'acr', 'amr', 'at_hash', 'aud', 'auth_time', 'azp', 'cnf', 'c_hash',
4949
'exp', 'firebase', 'iat', 'iss', 'jti', 'nbf', 'nonce', 'sub'
5050
])
51-
METADATA_SERVICE_URL = ('http://metadata/computeMetadata/v1/instance/service-accounts/'
52-
'default/email')
51+
METADATA_SERVICE_URL = ('http://metadata.google.internal/computeMetadata/v1/instance/'
52+
'service-accounts/default/email')
5353

5454
# Error codes
5555
COOKIE_CREATE_ERROR = 'COOKIE_CREATE_ERROR'

0 commit comments

Comments
 (0)