Skip to content

Need help getting oAuth boilerplate to function #1102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
smirciat opened this issue Jul 26, 2015 · 3 comments
Closed

Need help getting oAuth boilerplate to function #1102

smirciat opened this issue Jul 26, 2015 · 3 comments

Comments

@smirciat
Copy link

I ran the generator with defaults and have not customized anything. I have good functionality of the base application. Clicking on Facebook, Google, and Twitter to signup or login throws an authentication error for each one. Is there any additional guidance for making these work? I can get the local authorization to work right out of the box. I did update code to match #1062 but it did not help.
UPDATE: Looks like #942 answers this, I am trying it out.

@kingcody
Copy link
Member

@smirciat any luck? Were you able to resolve your issues by adding the callbackURL to your oauth providers, as well as filling out your clientID and clientSecret (in server/config/local.env.js) for the specific providers?

@smirciat
Copy link
Author

@kingcody thanks so much for the follow up. I am still not connecting to the oAuth services. For example, with Twitter, I set up an app at apps.twitter.com with the base url of my application and the callback with the same url plus the extension /auth/twitter/callback. This is on Heroku deployment. I entered the API key and API secret as supplied by this service in server/config/local.env.js as specified. I have no other customizations yet from the yo angular-fullstack generation. What might I be missing?
UPDATE: OK, I feel small.

heroku config:add --app APP TWITTER_ID=XXXXXXX etc

on my version of heroku toolbelt, its now set instead of add of course. Thanks for the encouragement, it works now.

@kingcody
Copy link
Member

@smirciat good to hear (:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants