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