mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-07 21:10:55 +08:00
added a refresh token to avoid the time out issue (#3154)
Co-authored-by: dynwee <onwudiweokeke@gmail.com>
This commit is contained in:
parent
b50de43556
commit
adbe0d58fa
@ -452,6 +452,8 @@ export class OrganizationPlansComponent implements OnInit {
|
||||
const response = await this.apiService.postOrganizationLicense(fd);
|
||||
const orgId = response.id;
|
||||
|
||||
await this.apiService.refreshIdentityToken();
|
||||
|
||||
// Org Keys live outside of the OrganizationLicense - add the keys to the org here
|
||||
const request = new OrganizationKeysRequest(orgKeys[0], orgKeys[1].encryptedString);
|
||||
await this.apiService.postOrganizationKeys(orgId, request);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user