This repository has been archived by the owner on Apr 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Support for aquire token silently? #12
Labels
Comments
ghost
added
the
ToTriage
label
Sep 8, 2019
I've also noticed that this library https://github.com/AzureAD/microsoft-authentication-library-for-objc describes how to acquire the token silently. |
Update: following the guide on
Not sure if all 3 are required, but the requests now return without needing to sign in again 🎉 |
Hello @ricsantos Thank you for reporting this. Storing the credentials in the keychain would be a welcome addition to this library. Adding this to our backlog. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I am using the MSALAuthenticationProvider to authenticate my user, and after authentication I am able to successfully fetch the MSGraphBaseURL /me object. However, for each subsequent run of the request, the user is prompted via an alert and then a modal web view to Sign In again (although the sign in process is just tapping 'Continue').
Reading a quickstart guide on portal.azure.com, it advises to first acquire a token using applicationContext.acquireToken(with: parameters), and if a user has already signed in to request a token silently using applicationContext.acquireTokenSilent(with: parameters).
My questions:
Does this library support acquiring the token silently?
Does a token need to be acquired every app launch, or is it somewhat long lived?
Thanks
AB#6088
The text was updated successfully, but these errors were encountered: