Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Configure client programmatically instead of using json file #63

Open
amanzan opened this issue Jan 18, 2019 · 4 comments
Open

Configure client programmatically instead of using json file #63

amanzan opened this issue Jan 18, 2019 · 4 comments

Comments

@amanzan
Copy link

amanzan commented Jan 18, 2019

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.

@smokienko
Copy link

Hi @amanzan we are currently working on future version feature, and we want to have this feature on our list! Thanks for your feedback.

@scottfennell
Copy link

Any updates on this? Alternatively, providing an alternative resource id might be enough.

@robmarinaro
Copy link

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?

@FeiChen-okta
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants