-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for rendering the settings of prompt-screen (#1106)
* Support tf generate command for auth0_prompt_screen_renderer * Update docs of tf generate * Support switching to advanceMode and make ACUL for all prompts & screens * Add logic to update the existing prompt-screen-settings and update mocks * Add pre-requisites-info for the default prompt-screen-settings.json file. * Fix example docs * remove the built-in function to fetch keys of a map. * Update integration tests by removing rules related CRUD calls and temporarily commented out the ul prompts update testcase. * Update go-auth0 version * Fix the required scopes & fix linter in imports * Update golangci-lint version to the latest * Update golangci-lint-action version to the latest * Revert golangci-lint-action version from latest * Update golangci-lint-action version to v1.62.0 * Update golangci-lint-action version to v1.62.0 * Remove toolchain * Provide version to v1.59.0 * updated version syntax * Restored go mod files * Update long description for ul customize command * Update docs for ul customize command * Update the latest go-auth0 version and doc info * Support the 12 screens * Add check for the ACUL enabled feature.
- Loading branch information
1 parent
fc25ffa
commit e765aec
Showing
17 changed files
with
359 additions
and
39 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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
internal/cli/data/universal-login/prompt-screen-settings.json
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,33 @@ | ||
{ | ||
"__doc1__": "The rendering_mode could be either advanced or standard... default_head_tags_disabled is a toggle to override Universal Login default head tags... context_configuration are the set of Context values to make available(Refer docs for the possible values)... head_tags are the array of head tags)..", | ||
"__doc2__": "Note1: To update the rendering_mode to standard, only parse the rendering_mode field; no other fields are needed.", | ||
"__doc3__": "Note2: head_tags must contain at least one script tag", | ||
"__doc4__": "Only the declared fields will be updated, Rest stays same.", | ||
"__doc5__": "See the docs for possible values", | ||
|
||
"rendering_mode": "advanced", | ||
"default_head_tags": false, | ||
"context_configuration": [ | ||
"screen.texts" | ||
], | ||
"head_tags": [ | ||
{ | ||
"tag": "script", | ||
"attributes": { | ||
"defer": true, | ||
"src": "URL_TO_YOUR_ASSET", | ||
"async": true, | ||
"integrity": [ | ||
"ASSET_SHA" | ||
] | ||
} | ||
}, | ||
{ | ||
"tag": "link", | ||
"attributes": { | ||
"href": "URL_TO_YOUR_ASSET", | ||
"rel": "stylesheet" | ||
} | ||
} | ||
] | ||
} |
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
Oops, something went wrong.