Comments (5)
Hi @barak-haviv,
Which value is set for the GITHUB_ACCESS_TOKEN_REQUEST_URL key in the client/sample.config.json ?
It should be the address of the NodeJS server (Usually http://localhost:9000/).
Once you are successfully authenticated to Github, Github OAuth is pass an authorization code to the AngularJS app and the AngularJS app reach the NodeJS server and pass this authorization token in order to authenticate the user.
from angularjs-hubbub.
i also face same problem .How to solve it ? plz update guideline?
from angularjs-hubbub.
Almost same issue. I changed a few things:
Gitup:
home url = http://localhost:9000
call back url = http://localhost:9000
config.json
"GITHUB_REDIRECT_URI": "http://localhost:9000",
"GITHUB_ACCESS_TOKEN_REQUEST_URL": "http://localhost:3000/auth/github",
"SERVER_URL": "http://localhost:3000/"
.env
GITHUB_REDIRECT_URI=http://localhost:9000
GITHUB_ACCESS_TOKEN_REQUEST_URL=http://localhost:3000/auth/github
Steps:
1- ok
2- ok
3- ok
4- ok
5- ok
?? Auth fails however I'm able to see the user row in users.db
from angularjs-hubbub.
Same issue here. I was able to successfully login on the app but somehow the app is kicking me away going back to login again. I am able to see logs at users.db file. What seems to be the issue here?
from angularjs-hubbub.
Hi @barak-haviv, @niroshannrsh, @karelbecerra, @aguirre1017
Please ensure that :
- You have created your own PubNub application and are using your own credentials (publish key, subscribe_key, secret key)
- The following add-ons are enabled for your PubNub application :
PRESENCE, ACCESS MANAGER, STORAGE & PLAYBACK and STREAM CONTROLLER. - You have created you own Github OAuth2 app here : https://github.com/settings/developers
- The Authorization callback URL
matches exactly the value of the GITHUB_ACCESS_TOKEN_REQUEST_URL field specified in client/config.json and server/.env
Please let me know if it helped or if you are still facing the issue.
from angularjs-hubbub.
Related Issues (8)
- ECONFLICT Unable to find suitable version for angular
- How to display user name
- heartbeat < heartbeat_interval ? HOT 1
- Not able to redirect for github authorization page. HOT 5
- Api get conversation and friends error 500 HOT 12
- Hosting the application on a website
- ECONFLICT Unable to find suitable version for angular
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angularjs-hubbub.