where 'resource' is the resource to request an access token.
Is it possible to add resource as parameter to the swagger parameters (and the same for rest)?
Another option is also to allow any custom suffix to the uri that will be appended to the full uri. So we can add any parameter to the uri. For example
Or a 3th option, like you do with scopes, a parameters field, where we can add custom parameter and value records
resulting in the following sample json:
Is the resource parameter changing at runtime or is it a constant? It is easy to add a custom list of parameters in the OAuth configuration but those would be constants. Would that work? If yes we can bake this up with the next weak’s release.
The resource parameter is a constant.
But it would be great to make a difference depending on the environment.
So in 'dev' or 'production' (or other environments), the resource parameter will be different.
The same for the client_id.
So if the settings could be stored in the angular environments.xxx.ts file, that would be great solution.
In that case we can differentiate the setting on the environment we are building for.
In the Authorization service you get for example the following:
Yes, it is possible to add the custom list of parameters for the next release. Being able to specify different values for production could ship after that though.