-
Notifications
You must be signed in to change notification settings - Fork 100
Add option to set success and error pages for when calling AcquireInt… #490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
wayneforrest
wants to merge
33
commits into
AzureAD:main
Choose a base branch
from
wayneforrest:feature/set-interactive-auth-success-and-error-pages
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
4fdaed6
Add option to set success and error pages for when calling AcquireInt…
wayneforrest 1319335
fix: setting errorPage
wayneforrest fa4a6be
Refactor using different function name WithSystemBrowserOptions to se…
wayneforrest c110b76
update module name
wayneforrest 587663f
Revert failPage change, to be of type const string
wayneforrest aa7dde8
Change success and error pages lifetime scope to be per "session", and
wayneforrest 4f65972
Revert "update module name"
wayneforrest 92a81c0
Add tests for optional success and error pages
wayneforrest 9ac831a
make success and error pages immutable, isolate changes from user app…
wayneforrest 552855f
Update apps/internal/local/server_test.go
wayneforrest fad8abf
Update apps/internal/local/server_test.go
wayneforrest f28cc47
Update server_test remove redundant setting success and error pages t…
wayneforrest 7b991a0
Add error code and description to errpage template variables
wayneforrest 0f55b06
Update server to hold the error page html template
wayneforrest 037b7e7
Update golang doc for WithSystemBrowserOptions describing the usage o…
wayneforrest 2dc114f
Update failpage to use html templates
wayneforrest 11000f8
Add tests for html template fail page
wayneforrest ac071ca
Refactor by setting fail and success pages when New HTTP server is cr…
wayneforrest 260faed
Fix typo
wayneforrest 61f5cf1
Add test for default fail error page
wayneforrest 4b6ce29
add comments escaping html entities, protection against XSS
wayneforrest 435203d
add test for escaping html entities, when using the error page template
wayneforrest 3b04492
Update default error page XSS tests, to cover both the .Code and the …
wayneforrest 0cde778
Add option error page XSS tests, to cover both the .Code and the .Err…
wayneforrest 87372be
Remove html template as it uses reflection, unnecessarily increase a…
wayneforrest 16fdca2
Refactor, put variable closer to where it is being used
wayneforrest 4834645
Update use function parameter list syntax
wayneforrest 60f4ed1
Update, use ReplaceAll for when replacing the erro code and err descr…
wayneforrest 5c38a70
Update error template tests, extracting the expected values into the …
wayneforrest c4e8578
Update error page handling
wayneforrest f419d6a
Simplify tests by removing conditional logic, making use of the expte…
wayneforrest 26299b2
Merge branch 'main' into feature/set-interactive-auth-success-and-err…
wayneforrest 25ec872
Merge branch 'main' of https://github.com/AzureAD/microsoft-authentic…
wayneforrest File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.