OAuth2 Admin - Add generic UI for clientCredential+userPassword grants
Overview
When configuring an OAuth2 client, one first registers the client_id
/client_secret
and then grants access to specific resources.
The grant behavior may be integrated into other parts of the UI (as with "Add Mail Accounts"), but - for simple integrations - it may be less work to use the generic grant button.
Current behavior
There is one button for initiating the OAuthClient
.authorizationCode
flow.
This is probably the single-most important OAuth grant flow, but it is not the only one.
Proposed behavior
Provide options for three common grant flows:
-
OAuthClient
.authorizationCode
-
OAuthClient
.userPassword
-
OAuthClient
.clientCredentials
These APIs are implemented - but we need some form updates to use them.
Edited by totten