Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 3 commits into from

Conversation

shankie-codes
Copy link

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
Contributor

webron commented Jun 22, 2017

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

Copy link
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.

I'm seeing some issues with Authorize button rendering in this branch, while testing with this definition: https://gist.githubusercontent.com/shockey/7587cca232341ea95766d22eb67ba11f/raw/3d44873d96fa5a8d184678a84c8464e4930869cd/openapi.yaml

@shockey
Copy link
Contributor

shockey commented Jun 11, 2018

TODO: notify @webron upon resolution of this PR

@webD97
Copy link

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
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