We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ea72b8e + e122fc7 commit 5987f82Copy full SHA for 5987f82
2 files changed
server/Dockerfile
@@ -20,4 +20,5 @@ RUN if [ "$BUILD_DEVELOPMENT" = "True" ]; then \
20
fi
21
22
RUN pipenv lock
23
+RUN pip install click
24
RUN pipenv install --system --deploy --ignore-pipfile
server/app.py
@@ -35,7 +35,12 @@
35
36
@app.route('/api/authorize/authurl', methods=['GET'])
37
def get_auth_url():
38
- redirect_url = bb.generate_authorize_url(auth_data)
+ # for SMART App v2 scopes usage: explicitly
39
+ # provide query parameter scope=<v2 scopes>
40
+ # where <v2 scopes> is space delimited v2 scope specs (url encoded)
41
+ # e.g. patient/ExplanationOfBenefit.rs
42
+ redirect_url = (bb.generate_authorize_url(auth_data)
43
+ + "&scope=patient%2FExplanationOfBenefit.s")
44
return redirect_url
45
46
0 commit comments