Flask redirect after OAuth linking to http instead of https

I use the following route to redirect an authenticated OAuth user to their account page: @app.route(‘/google/callback’) def authorized(): resp = google.authorized_response() if resp is None: return ‘Access denied: reason={0} error={1}’.format( request.args[‘error_reason’], request.args[‘error_description’] ) session[‘google_token’] = (resp[‘access_token’], ”) return redirect(url_for(‘account’,_external=True, _scheme=’https’)) However the redirect URL is to http://[domain].herokuapp.com/google/callback. Navigating between pages within my application keeps me… Read More Flask redirect after OAuth linking to http instead of https

To filter data based on ID list found in other tab using App Script

I want to scrape data, but only filter data if Col13 from the data have the IDs listed in another tab. If I hardcode for 1 ID, I managed to do as below: var sid = ss.getSheetByName(‘sid list’).getRange(‘A2:A’).getValues(); //capture list of IDs if(temp[13] == 243558369) { temp.push(counter) // console.log(temp) toPrint.push(temp) counter++ } This is the… Read More To filter data based on ID list found in other tab using App Script