-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optional client secret for some providers (#178)
Some providers, like google, request a client secret for the device authentication. Make it optional, so that the admin can set it if required in the generic broker. There is no integration tests for now that could make use of it, but all existing tests are passing. I have also tested manually with google and msentraid. UDENG-4954
- Loading branch information
Showing
6 changed files
with
14 additions
and
3 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
1 change: 1 addition & 0 deletions
1
...stParseConfig/golden/do_not_fail_if_values_contain_a_single_template_delimiter/config.txt
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,4 +1,5 @@ | ||
clientID=<CLIENT_ID | ||
clientSecret= | ||
issuerURL=https://ISSUER_URL> | ||
homeBaseDir= | ||
allowedSSHSuffixes=[] |
1 change: 1 addition & 0 deletions
1
internal/broker/testdata/TestParseConfig/golden/successfully_parse_config_file/config.txt
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,4 +1,5 @@ | ||
clientID=client_id | ||
clientSecret= | ||
issuerURL=https://issuer.url.com | ||
homeBaseDir= | ||
allowedSSHSuffixes=[] |
1 change: 1 addition & 0 deletions
1
...ata/TestParseConfig/golden/successfully_parse_config_file_with_optional_values/config.txt
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,4 +1,5 @@ | ||
clientID=client_id | ||
clientSecret= | ||
issuerURL=https://issuer.url.com | ||
homeBaseDir=/home | ||
allowedSSHSuffixes=[] |