-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avoid authorization error dialog with request from studio actions
- we now support that if the request has a header X-WWW-Authenticate: none then the server won't set WWW-Authenticate as part of its response headers - we set X-WWW-Authenticate: none to all XMLHttpRequest we do from studio. this causes that errors coming from api that are invoked from studio does not longer show the authentication browser dialog and show our error dialog directly - we now set WWW-Authenticate one in our general request error handling, we've adapted the code to throw authorization errors and delegate the actual response and header set to the general error handler
- Loading branch information
Showing
7 changed files
with
25 additions
and
20 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
6 changes: 3 additions & 3 deletions
6
...tatic/dist/client.ebcc7db81dd9fc3ddb61.js → ...tatic/dist/client.adc32d29acd06d6a3366.js
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...c/dist/client.ebcc7db81dd9fc3ddb61.js.map → ...c/dist/client.adc32d29acd06d6a3366.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
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