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

allow an Access-Control-Allow-Origin header to be set for certain oauth providers like automate #1763

Merged
merged 1 commit into from
Dec 21, 2022

Conversation

mwrock
Copy link
Contributor

@mwrock mwrock commented Dec 21, 2022

This is really to compensate for recent changes in the automate oauth flow. If using a modern automate for oauth, the CORS headers need to be set. This introduces a new config setting: allow_oauth_origin. If a user is using automate as an oauth provider, they can set this setting to the domain of their automate server: https://my.automate.server.com.

We will update the install.sh of the on-prem builder to do this automatically.

Signed-off-by: Matt Wrock matt@mattwrock.com

…th providers like automate

Signed-off-by: Matt Wrock <matt@mattwrock.com>
@mwrock mwrock merged commit 7407ba8 into main Dec 21, 2022
@mwrock mwrock deleted the allow_origin branch December 21, 2022 22:45
chef-expeditor bot pushed a commit that referenced this pull request Dec 22, 2022
Obvious fix; these changes are the result of automation not creative thinking.
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.

1 participant