Skip to content

Commit

Permalink
change redirect_uri to https
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheila-nk committed Jun 13, 2024
1 parent f06f154 commit c5981fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion customer_orders_service/auth/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class LoginAPI(MethodView):
def get(self):
redirect_uri = url_for('auth.authorize_api', _external=True)
redirect_uri = url_for('auth.authorize_api', _external=True, _scheme='https')
return oauth.google.authorize_redirect(redirect_uri)

login_view = LoginAPI.as_view('login_api')
Expand Down

0 comments on commit c5981fb

Please sign in to comment.