samples-js-vue icon indicating copy to clipboard operation
samples-js-vue copied to clipboard

Make PORT in the redirectURI dynamic

Open omgitstom opened this issue 6 years ago • 1 comments

export PORT=7777 && npm start

Running the command above to start the dev server. I would expect that the server AND redirect URI would be using port 7777, in this case, the server is using port 7777, but the configuration for the redirect URL is using 8080

omgitstom avatar Oct 22 '19 17:10 omgitstom

Hi @omgitstom -

None of our documentation and guides treat PORT as a separate concept from redirectURI itself. Since each version of PORT would require a different allowed redirectURI setting, that would lead to confusion (just changing the PORT in the example start up you list wouldn't work, and we don't want to create the impression that it would)

swiftone avatar Oct 28 '19 20:10 swiftone