mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-31 08:20:37 +01:00
use Content-Language header for auth bearer
This commit is contained in:
parent
4262e2cc1d
commit
595cf6c375
@ -12,7 +12,8 @@ angular
|
||||
$qProvider.errorOnUnhandledRejections(false);
|
||||
$locationProvider.hashPrefix('');
|
||||
jwtOptionsProvider.config({
|
||||
urlParam: 'access_token',
|
||||
// Using Content-Language header since it is unused and is a CORS-safelisted header. This avoids pre-flights.
|
||||
authHeader: 'Content-Language',
|
||||
whiteListedDomains: appSettings.whitelistDomains
|
||||
});
|
||||
var refreshPromise;
|
||||
|
Loading…
Reference in New Issue
Block a user