angularjs-hubbub icon indicating copy to clipboard operation
angularjs-hubbub copied to clipboard

Hosting the application on a website

Open DPoSign opened this issue 8 years ago • 0 comments

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,

DPoSign avatar Jan 18 '17 14:01 DPoSign