pubnubdevelopers / angularjs-hubbub Goto Github PK
View Code? Open in Web Editor NEWAngular JS HubBub chat application
Home Page: https://realtime-streams.pubnub.com/angularjs-hubbub/#/login
Angular JS HubBub chat application
Home Page: https://realtime-streams.pubnub.com/angularjs-hubbub/#/login
If I use the install instruction as it is ( I check myself several times )
I get
redirect_uri_mismatch&error_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application
from github
if I change the github url to http://localhost:9000/
I get github auth page in new window and I can authorized it
I can see in my github account that it works
But in the the app
I get authentication failed.
Hello, i'm trying the tutorial on a website this time, the homepage is fine, the autorisation page from Github is fine, but the redirection throw me a 404 error.
client/config.json
{
"PUBNUB_SUBSCRIBE_KEY": "sub-",
"PUBNUB_PUBLISH_KEY": "pub-",
"GITHUB_CLIENT_ID": "XXXXXXX",
"GITHUB_REDIRECT_URI": "http://mywebsiteURL",
"GITHUB_ACCESS_TOKEN_REQUEST_URL": "http://mywebsiteURL/auth/github",
"SERVER_URL": "http://mywebsiteURL"
}
server/.env :
PUBNUB_SUBSCRIBE_KEY=sub-....
PUBNUB_PUBLISH_KEY=pub-....
PUBNUB_SECRET_KEY=sec-....
GITHUB_CLIENT_ID=XXXXXXXXX
GITHUB_CLIENT_SECRET=XXXXXXX
GITHUB_REDIRECT_URI=http://mywebsiteURL
GITHUB_ACCESS_TOKEN_REQUEST_URL=http://mywebsiteURL/auth/github
My Github Configuration
Homepage URL : http://mywebsiteURL
Authorization callback URL : http://mywebsiteURL
As you can see, I put the url of my website (http://mywebsiteURL) everywhere.
Someone got an idea for the solution?
Thank you in advance,
Hello,
i have follow all the instruction but i'm blocking on something.
Everything is going well till the server do a "Get /api/conversation and /api/friend" where i get an Error code 500
OPTIONS /api/friends/ 204 0.468 ms - -
OPTIONS /api/conversations/ 204 0.216 ms - -
GET /api/conversations/ 500 167.604 ms - -
GET /api/friends/ 500 1408.185 ms
in the instruction i just change one thing : the url callback on my Github profile to http://localhost:9000.
Otherwise i get an error like the callback and the uri_redirect must be the same
Can you help me ?
Thanks
how to display user public name instead of "Anonymous robot" in send message form @stephenlb @tgreene @georgegong @MaxPresman @joshmarinacci
GET /?error=redirect_uri_mismatch&error_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fv3%2Foauth%2F%23redirect-uri-mismatch 404 1.593 ms - 46
heartbeat: 40,
heartbeat_interval: 60
Should 40 be 240?
when i run command "bower install" i got this error
@stephenlb @MaxPresman
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.