Skip to content

Fix redirect URIs and webOrigins#10802

Merged
2 commits merged intomasterfrom
fix_redirect_uri
Aug 16, 2018
Merged

Fix redirect URIs and webOrigins#10802
2 commits merged intomasterfrom
fix_redirect_uri

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Aug 16, 2018

What does this PR do?

Fixes regression introduced by https://github.com/eclipse/che/pull/10509/files

For some reason, sed commands was modified and as a result keycloak script never substitutes placeholders with actual urls.

@ghost ghost requested review from benoitf and riuvshin as code owners August 16, 2018 09:20

cat /scripts/che-realm.json.erb | \
sed -e "s@<%= scope\.lookupvar('che::che_server_url') %>@${PROTOCOL}://${CHE_HOST}@" \
sed -e "s@<%= scope\.lookupvar('che::che_server_url') %>@${PROTOCOL}://che-${NAMESPACE}.${ROUTING_SUFFIX}@" \
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please make sure that Che on kubernetes won't be broken after reverting changes introduced in https://github.com/eclipse/che/pull/10509/files#diff-48382692058266aaf66d0fc1105bb4bbR21

@benoitf benoitf added kind/bug Outline of a bug - must adhere to the bug report template. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. labels Aug 16, 2018
Copy link
Copy Markdown
Member

@sleshchenko sleshchenko left a comment

Choose a reason for hiding this comment

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

Now it looks good to me 👍

@ghost ghost merged commit 7661722 into master Aug 16, 2018
@ghost ghost deleted the fix_redirect_uri branch August 16, 2018 11:32
@benoitf benoitf added this to the 6.10.0 milestone Aug 16, 2018
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Aug 16, 2018
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Outline of a bug - must adhere to the bug report template.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants