-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: host headers for internal requests (#67)
to set host headers on keycloak backchannel requests
- Loading branch information
Maurice Faber
committed
Apr 7, 2022
1 parent
75af68a
commit 7d9c61a
Showing
7 changed files
with
25 additions
and
17 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { waitTillAvailable } from '../../utils' | ||
import { cleanEnv, WAIT_OPTIONS, WAIT_URL } from '../../validators' | ||
import { cleanEnv, WAIT_OPTIONS, WAIT_URL, WAIT_HOST } from '../../validators' | ||
|
||
const env = cleanEnv({ WAIT_OPTIONS, WAIT_URL }) | ||
const env = cleanEnv({ WAIT_OPTIONS, WAIT_URL, WAIT_HOST }) | ||
|
||
if (typeof require !== 'undefined' && require.main === module) { | ||
waitTillAvailable(env.WAIT_URL, env.WAIT_OPTIONS) | ||
waitTillAvailable(env.WAIT_URL, env.WAIT_HOST, env.WAIT_OPTIONS) | ||
} |
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
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