-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e60ab8c
commit 740866e
Showing
7 changed files
with
45 additions
and
34 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
### Allow SSO for Boards | ||
|
||
!!! tip | ||
|
||
This task is only required if Boards is hosted on a different domain to HCL DX | ||
|
||
## Steps | ||
|
||
Edit the config to include the following, | ||
|
||
1. haproxy.cfg | ||
|
||
Edit the config using the following command | ||
|
||
`kubectl edit configmap <DX_DEPLOYMENT>-haproxy -n <DX_NAMESPACE> -o yaml` | ||
|
||
For example: | ||
|
||
`kubectl edit configmap hcl-dx-dev1-haproxy -n hcl-dx-dev1 -o yaml` | ||
|
||
Add the following line | ||
|
||
http-response replace-header Set-Cookie ^(.*) \1;\ SameSite=None;\ Secure | ||
|
||
For example: | ||
|
||
![outcome](./haproxy.png) | ||
|
||
1. httpd.conf | ||
|
||
Header edit Set-Cookie ^(.*)$ "$1; Secure; SameSite=None" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes