Skip to content

Commit 15990fd

Browse files
fix.
1 parent 9753ba4 commit 15990fd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/mockserver/expectations/static-auth-testing-expectations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"method": "GET",
5252
"path": "/v1/collectors/100000001",
5353
"headers": {
54-
"Authorization": ["^Bearer\\ 1/8xbJqaOZXSUZbHLl5EOtu1pxz3fmmetKx9W8CV4t79M$" ]
54+
"Authorization": ["^Bearer\\ some-dummy-token$" ]
5555
}
5656
},
5757
"httpResponse": {

test/python/flask/oauth2/token_srv.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,18 @@ def _pad(self, s: str) -> str:
4949

5050
def generate_google_response_dict(self, default_scopes: List[str]=["https://www.googleapis.com/auth/cloud-platform"]) -> dict:
5151
return {
52-
"access_token": "1/8xbJqaOZXSUZbHLl5EOtu1pxz3fmmetKx9W8CV4t79M",
52+
"access_token": "some-dummy-token",
5353
"scope": ' '.join(default_scopes),
5454
"token_type": "Bearer",
5555
"expires_in": 3600
5656
}
5757

5858
# conforming to [RFC 6749](https://datatracker.ietf.org/doc/html/rfc6749#section-5.1)
5959
_SIMPLE_RESPONSE = {
60-
"access_token": "1/8xbJqaOZXSUZbHLl5EOtu1pxz3fmmetKx9W8CV4t79M",
60+
"access_token": "some-dummy-token",
6161
"scope": 'my-scope',
6262
"token_type": "Bearer",
63-
"refresh_token": "1/9xbJqaOZXSUZbHLl5EOtu1pxz3fmmetKx9W8CV4t79M", # optional, per the RFC
63+
"refresh_token": "some-dummy-refresh-token", # optional, per the RFC
6464
"expires_in": 3600
6565
}
6666

0 commit comments

Comments
 (0)