let authority = try MSALB2CAuthority(url: URL(string: MSALConfig.msalAuthorityURL)!) let pcaConfig = MSALPublicClientApplicationConfig(clientId: MSALConfig.msalClientID, redirectUri: MSALConfig.msalRedirectURL, authority: authority) pcaConfig.knownAuthorities = [authority]
let application = try MSALPublicClientApplication(configuration: pcaConfig)
try application.remove(account)
I’m using this code for logout …is getting logout successfully. But when I login again its not asking username and password .directly moving into dashboard screen.
Need to remove login cookies.
New contributor
Kavitha G is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1