Skip to content

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

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

Adds ability to set oauth2RedirectUrl using env vars for Docker#3280
shankie-codes wants to merge 3 commits into
swagger-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

webron commented Jun 22, 2017

Copy link
Copy Markdown
Contributor

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

@shockey shockey left a comment

Copy link
Copy Markdown
Contributor

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

shockey commented Jun 11, 2018

Copy link
Copy Markdown
Contributor

TODO: notify @webron upon resolution of this PR

@webD97

webD97 commented Oct 3, 2018

Copy link
Copy Markdown

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

@shockey

shockey commented Oct 3, 2019

Copy link
Copy Markdown
Contributor

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