iosswiftlogoutazure-ad-msal

Is there any way to Forget signed-in account in AzureAD MSAL in swift ios app?


I am trying to logout the user and when i try to login back it takes the previous user credentials with out entering the password. Is there any way to clear the credentials when user sign out in MSAL swift?


Solution

  • let parameters = MSALInteractiveTokenParameters(scopes: kScopes) parameters.promptType = MSALPromptType.login

    Keep the flag as .login so it will always ask the user to enter the credentials.

    This is just the temp solution.