You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.
Not 100% sure this is a issue specific to this project exactly but I am opening a PR to reference to if I submit a change to the README.md file.
/** * Starts Twitter sign-in process for adding a user subscription **/app.get('/subscriptions/add',passport.authenticate('twitter',{callbackURL: '/callbacks/addsub'}));/** * Starts Twitter sign-in process for removing a user subscription **/app.get('/subscriptions/remove',passport.authenticate('twitter',{callbackURL: '/callbacks/removesub'}));
For some reason the callback url submitted in the code above doesn't specify https. So you have to add http://webhook-manager.herokuapp.com/callbacks/addsub (http) to your callback url set for everything to work (same with /removesub)
I'm happy to add this to the README.md unless I am missing something?
The text was updated successfully, but these errors were encountered:
Thanks for this - I think I have this covered in my local version, which I'm long overdue for pushing back to GH. I believe this is correct, you should add both the http and https URLs at the moment.
If I can, I'll try to get my local changes committed over the next week. Moving this up my list for attention.
Not 100% sure this is a issue specific to this project exactly but I am opening a PR to reference to if I submit a change to the README.md file.
I deployed a forked unchanged version of this project pretty easily to heroku.
For argument's sake the url is https://webhook-manager.herokuapp.com
For some reason the callback url submitted in the code above doesn't specify https. So you have to add
http://webhook-manager.herokuapp.com/callbacks/addsub
(http) to your callback url set for everything to work (same with /removesub)I'm happy to add this to the README.md unless I am missing something?
The text was updated successfully, but these errors were encountered: