Localization for okta-authn-sdk library

I am creating a custom login experience for Android devices. Is there a way to set a desired localization for the okta-authn-sdk library? The errors being returned to me from the AuthenticationClient methods (verifyFactor specifically) are returning errors in English only, even if I have my device locale set to French.

Actually I figured it out if anyone else has found this question and is wondering. You seemingly have to manually set the RequestContext acceptLanguage header.

    val deviceLocale = Locale.getDefault().toLanguageTag()
    val requestContext = RequestContext()
1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.