rename method
This commit is contained in:
@@ -195,7 +195,7 @@ export class UmbAppElement extends UmbLitElement {
|
||||
await this.#authContext.setInitialState();
|
||||
|
||||
// Instruct all requests to use the auth flow to get and use the access_token for all subsequent requests
|
||||
OpenAPI.TOKEN = () => this.#authContext!.performWithFreshTokens();
|
||||
OpenAPI.TOKEN = () => this.#authContext!.getLatestToken();
|
||||
OpenAPI.WITH_CREDENTIALS = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user