set value for credentials

This commit is contained in:
Jacob Overgaard
2024-02-05 14:41:31 +01:00
parent 8798d4cd86
commit 064d7430e4

View File

@@ -136,6 +136,7 @@ export class UmbAppElement extends UmbLitElement {
// Instruct all requests to use the auth flow to get and use the access_token for all subsequent requests
OpenAPI.TOKEN = () => this.#authContext!.getLatestToken();
OpenAPI.WITH_CREDENTIALS = true;
OpenAPI.CREDENTIALS = 'include';
}
#redirect() {