Skip to content

Commit

Permalink
switch redirect_uri on oauth
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajay Raj authored and Ajay Raj committed Feb 3, 2019
1 parent 9d6ec3c commit 813f135
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def ok_code():
'client_secret': app.config['CLIENT_SECRET'],
'client_id': app.config['CLIENT_ID'],
'grant_type': 'authorization_code',
'redirect_uri': 'http://localhost:3000/authorized'
'redirect_uri': 'https://ui-dot-hermes-199405.appspot.com/authorized'
})
if r.ok:
return json_dump(r.json())
Expand All @@ -164,7 +164,7 @@ def ok_refresh():
'client_secret': app.config['CLIENT_SECRET'],
'client_id': app.config['CLIENT_ID'],
'grant_type': 'refresh_token',
'redirect_uri': 'http://localhost:3000/authorized'
'redirect_uri': 'https://ui-dot-hermes-199405.appspot.com/authorized'
})
if r.ok:
return json_dump(r.json())
Expand Down
1 change: 0 additions & 1 deletion utils/sql_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def retrieve_questions_for_timestamp(self, start_second, end_second, course_ok_i
def answer_vitamin(self,user_email,course_ok_id,answer,
lecture_url_name, video_index, vitamin_index):
cur = self.conn.cursor()
print("here")

cur.execute(
'EXECUTE answer_vitamin (%s, %s, %s, %s, %s, %s)',
Expand Down

0 comments on commit 813f135

Please sign in to comment.