-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
1.4.0
-
None
-
False
-
-
False
The customer is requesting the ability to generate OAuth Access/Identity tokens in frontend plugins using developer hub libraries.
- The current implementation requires workarounds like On Behalf Of OAuth flows for Microsoft and limits compatibility with other OAuth providers.
- The Microsoft provider expects a "fullProfile" attribute, which is only available when using the Microsoft Graph scope. This causes failures when generating tokens with other scopes.
- The relevant code in the Auth Providers Module [1] enforces this behavior. It explicitly assumes the presence of "fullProfile," making the use of scopes outside of Graph impractical.
The limitation prevents the use of RHDH OAuthApi libraries [2] for generating tokens with non-default scopes.
[2] https://backstage.io/docs/reference/core-plugin-api.oauthapi/
- depends on
-
RHIDP-5430 Ability to create OAuth tokens with different Scopes
-
- Closed
-