Skip to content

Hosting the application on a website #8

Open
@DPoSign

Description

@DPoSign

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions