Skip to content

Commit b34ed44

Browse files
Merge branch 'issue72' into authenticator-tests
2 parents 51e59d3 + 0c9dd1f commit b34ed44

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,6 @@ venv.bak/
103103

104104
# mypy
105105
.mypy_cache/
106+
107+
# defualt config
108+
config-local.json

config-local.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"service_name": "authenticator",
3-
"service_password": "Oh8zasCoRgV9C9BMt60dQIzA",
3+
"service_password": "<TODO_get_from_SK>",
44
"primary_site_admin_tenant_base_url": "https://admin.develop.tapis.io",
55
"service_tenant_id": "admin",
66
"service_site_id": "tacc",
@@ -9,7 +9,7 @@
99
"log_level": "DEBUG",
1010
"populate_dev_ldap": true,
1111
"dev_ldap_tenant_id": "dev",
12-
"token_url": "https://dev.develop.tapis.io/v3/tokens",
12+
"token_url": "<token_url>",
1313
"impers_oauth_client_id": "<impers_oauth_client_id>",
1414
"impers_oauth_client_secret": "<impers_oauth_client_secret>",
1515
"impersadmin_username": "<impersadmin_username>",

service/controllers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,6 +1490,7 @@ def post(self):
14901490
raise errors.ResourceError("Failure to generate an access token; please try again later.")
14911491
try:
14921492
result = {'access_token': {'access_token': tokens.access_token.access_token,
1493+
'id_token': tokens.access_token.access_token,
14931494
'expires_at': tokens.access_token.expires_at,
14941495
'expires_in': tokens.access_token.expires_in,
14951496
'jti': tokens.access_token.jti

service/resources/openapi_v3.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,9 @@ components:
707707
access_token:
708708
type: string
709709
description: The actual access token as a JWT
710+
id_token:
711+
type: string
712+
description: The actual access token as a JWT
710713
expires_at:
711714
type: string
712715
description: The time, as a string in UTC, when the token expires.

0 commit comments

Comments
 (0)