Skip to content

Adds ability to set oauth2RedirectUrl using env vars for Docker#3280

Closed
shankie-codes wants to merge 3 commits intoswagger-api:masterfrom
shankie-codes:master
Closed

Adds ability to set oauth2RedirectUrl using env vars for Docker#3280
shankie-codes wants to merge 3 commits intoswagger-api:masterfrom
shankie-codes:master

Conversation

@shankie-codes
Copy link
Copy Markdown

As per #3138 , added ability to set oauth2RedirectUrl by setting env var OAUTH2_REDIRECT_URL . Updated readme to better document the options available to Docker users.

Shankie and others added 3 commits May 31, 2017 15:06
`initOauth` was originally only available in the dev server. This commit makes it available in the dist server as well, and makes updates to `docker-run.sh` so that the variables in `initOauth` can be set using environment variables.
@webron webron requested a review from fehguy June 22, 2017 18:06
@webron
Copy link
Copy Markdown
Contributor

webron commented Jun 22, 2017

@fehguy - when you get a chance... :)

Copy link
Copy Markdown
Contributor

@shockey shockey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shockey
Copy link
Copy Markdown
Contributor

shockey commented Jun 11, 2018

TODO: notify @webron upon resolution of this PR

@webD97
Copy link
Copy Markdown

webD97 commented Oct 3, 2018

What's the status on this? This is a serious problem when using Swagger UI from Docker...

@shockey
Copy link
Copy Markdown
Contributor

shockey commented Oct 3, 2019

I'm closing this out since we've supported OAUTH2_REDIRECT_URL as an env var since #4965 landed — I've opened #5641 to update the docs accordingly.

Thanks for the PR, @shankie-san!

@shockey shockey closed this Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants