1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-02 10:10:06 +00:00

fix: CAS Authentication upon SAS9 login

This commit is contained in:
Saad Jutt
2021-06-17 19:33:58 +05:00
parent cdc0c12ec4
commit f4cdd2d607
2 changed files with 9 additions and 5 deletions

View File

@@ -61,6 +61,15 @@ export class AuthManager {
}
if (loggedIn) {
if (this.serverType === ServerType.Sas9) {
const casAuthenticationUrl = `${this.serverUrl}/SASStoredProcess/j_spring_cas_security_check`
await this.requestClient.get<string>(
`/SASLogon/login?service=${casAuthenticationUrl}`,
undefined
)
}
this.loginCallback()
}