Create/update oauth2 authenticator in Console
This is to cover the scenario of creating/updating new Authenticator of oauth2 type.
Page flow: https://balsamiq.cloud/sjvkm7s/pl9yeyv/r483D
When User clicks the plus button on a grid with lists configured providers, user is redirected to new page to add oauth provider:
OAuth form layout: https://balsamiq.cloud/sjvkm7s/pl9yeyv/r8FAB
OpenId form layout: https://balsamiq.cloud/sjvkm7s/pl9yeyv/rC3FC
(Note that form fields in the balsamiq that are shown as disabled should be hidden in console.)
The provider's configuration contains translation profile definition, which under the hood is auto generated depending upon selected type of a template.
Auto generated profile includes the system one. User can however edit details or provide new configuration. When editing profile, the same widget should be used as currently in Admin UI.
Note that when user configures the provider, it is till in the flow of adding/updating authenticator, when provider's configuration is finished, user is redirected back to the authenticator configuration flow.
As this spec was done at some 2.8.0 release, the provider form definition needs to be adjusted with the newest features that are described in unity manual (Section: Standard OAuth2 (Unity as OAuth Client)).