Fatal Exception: java.lang.IllegalArgumentException
Parameter login_hint is directly supported via the authorization request builder, use the builder method instead
Edit: I didn't see the loginHint param was meant for this. Even though this example crashes I don't think this is an actual issue. Closed it, feel free to delete.
Android crashes when supplying login_hint as an additional parameter. For example the following code crashes on Android:
AuthorizationTokenRequest( azureSettings.clientId, azureSettings.redirectUrl, discoveryUrl: discoveryUrl, scopes: azureSettings.scopes, preferEphemeralSession: true, additionalParameters: {"login_hint": event.username}),
Problem does not occur on iOS.
I get the following error message:
Fatal Exception: java.lang.IllegalArgumentException Parameter login_hint is directly supported via the authorization request builder, use the builder method instead
Edit: I didn't see the loginHint param was meant for this. Even though this example crashes I don't think this is an actual issue. Closed it, feel free to delete.