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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user