I’m trying to use the Applications.CreateApplicationAsync() method that takes an IApplication, instead of the pre-built arguments like CreateOpenIdConnectApplication. This is because CreateOpenIdConnectApplication doesn’t have a field for Profile.
I need to create an Application with custom values added to the Profile field.
The Application class (that implements IApplication) has the Profile field, and its type is Resource. Resource seems to be a very generic class that is used for nearly everything. I’m having trouble creating a class that implements IResource. There is the ResourceFactory class but that is in the Okta.Sdk.Internal namespace and I don’t think I want to be using that namespace.
I just want to add some string key/value pairs to the Profile field on an object that implements IApplication.