whiteListedDomains for jwt
This commit is contained in:
parent
463efc2254
commit
91582691d8
|
@ -14,11 +14,9 @@ angular
|
||||||
$qProvider.errorOnUnhandledRejections(false);
|
$qProvider.errorOnUnhandledRejections(false);
|
||||||
$locationProvider.hashPrefix('');
|
$locationProvider.hashPrefix('');
|
||||||
|
|
||||||
// @if false
|
|
||||||
jwtOptionsProvider.config({
|
jwtOptionsProvider.config({
|
||||||
whiteListedDomains: ['localhost', 'api.bitwarden.com', 'vault.bitwarden.com']
|
whiteListedDomains: ['localhost', 'api.bitwarden.com', 'vault.bitwarden.com', 'haveibeenpwned.com']
|
||||||
});
|
});
|
||||||
// @endif
|
|
||||||
|
|
||||||
var refreshPromise;
|
var refreshPromise;
|
||||||
jwtInterceptorProvider.tokenGetter = /*@ngInject*/ function (options, tokenService, authService) {
|
jwtInterceptorProvider.tokenGetter = /*@ngInject*/ function (options, tokenService, authService) {
|
||||||
|
|
Loading…
Reference in New Issue