Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ RUN if [ "$BUILD_DEVELOPMENT" = "True" ]; then \
fi

RUN pipenv lock
RUN pip install click
RUN pipenv install --system --deploy --ignore-pipfile
7 changes: 6 additions & 1 deletion server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@

@app.route('/api/authorize/authurl', methods=['GET'])
def get_auth_url():
redirect_url = bb.generate_authorize_url(auth_data)
# for SMART App v2 scopes usage: explicitly
# provide query parameter scope=<v2 scopes>
# where <v2 scopes> is space delimited v2 scope specs (url encoded)
# e.g. patient/ExplanationOfBenefit.rs
redirect_url = (bb.generate_authorize_url(auth_data)
+ "&scope=patient%2FExplanationOfBenefit.s")
return redirect_url


Expand Down