1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 01:14:36 +00:00

fix: sasjs login login callback

This commit is contained in:
2022-04-29 14:26:34 +02:00
parent 3c59db91cd
commit e2e15ce8e1
3 changed files with 62 additions and 3 deletions

View File

@@ -100,12 +100,15 @@ export class AuthManager {
password,
clientId
)
.then((res) => {
.then(async (res) => {
this.userName = username
this.requestClient.saveLocalStorageToken(
res.access_token,
res.refresh_token
)
await this.loginCallback()
return true
})
.catch(() => false)