Skip to content

Commit 8681281

Browse files
authored
Updates for Abbott configuration (#322)
- Use parameters for OAuth refresh token client id and secret - Add route to allow service to cleanly delete OAuth authorization for user
1 parent 6f611dd commit 8681281

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

charts/tidepool/charts/auth/templates/1-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ spec:
9898
name: abbott
9999
key: StateSalt
100100
optional: true
101+
- name: TIDEPOOL_SERVICE_PROVIDER_ABBOTT_AUTH_STYLE_IN_PARAMS
102+
value: "true"
101103
- name: TIDEPOOL_SERVICE_PROVIDER_DEXCOM_AUTHORIZE_URL
102104
valueFrom:
103105
configMapKeyRef:

charts/tidepool/charts/auth/templates/4-routetable.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,17 @@ spec:
9191
options:
9292
extauth:
9393
disable: true
94+
- matchers:
95+
- methods:
96+
- DELETE
97+
regex: /v1/users/[^/]+/oauth/[^/]+/authorize
98+
routeAction:
99+
single:
100+
upstream:
101+
name: auth
102+
options:
103+
extauth:
104+
disable: true
94105
- matchers:
95106
- methods:
96107
- GET

charts/tidepool/charts/data/templates/1-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ spec:
9999
name: abbott
100100
key: StateSalt
101101
optional: true
102+
- name: TIDEPOOL_SERVICE_PROVIDER_ABBOTT_AUTH_STYLE_IN_PARAMS
103+
value: "true"
102104
- name: TIDEPOOL_ABBOTT_CLIENT_ADDRESS
103105
valueFrom:
104106
configMapKeyRef:

0 commit comments

Comments
 (0)