How can I use acquireToken - which requires a Fragment to be passed in - with Jetpack Compose, where I don't have a Fragment?
val parameters = AcquireTokenParameters.Builder()
.withScopes(scopes.toList())
.withCallback(authenticationCallback)
.withFragment(<what can I pass in here?>) // <--------- relevant line
.build()
_msalPublicClient.acquireToken(parameters)
I am on the latest MSAL for Android, version 4.1.0
from How to use acquireToken with Jetpack Compose?
No comments:
Post a Comment