okta-sdk-appauth-android
okta-sdk-appauth-android copied to clipboard
Configure client programmatically instead of using json file
It would be great to be able to configure the client programmatically instead of using the json config file. I checked the code and I think it's not possible at the moment. OAuthClientConfiguration should have a constructor (or builder pattern) to set the parameters (mClientId, mRedirectUri, etc) in code.
Hi @amanzan we are currently working on future version feature, and we want to have this feature on our list! Thanks for your feedback.
Any updates on this? Alternatively, providing an alternative resource id might be enough.
Hi, I am running into the same issue as well and would like to configure the client programmatically for multiple build variants. Being able to do this in the code instead of using the json config file would be extremely helpful. Is there an expected completion date?
Hi @robmarinaro if you can try using https://github.com/okta/okta-oidc-android instead. It allows you to set the config programmatically or with a json file. This SDK will be deprecated and will no longer be supported.