rokwire / core-building-block

Building block which handles core functions for the Rokwire platform - users, accounts, profiles, organizations, authentication and authorization.
Apache License 2.0
3 stars 2 forks source link

[FEATURE] Support for OAuth 2.0 Access Tokens #523

Open sandeep-ps opened 2 years ago

sandeep-ps commented 2 years ago

Is your feature request related to a problem? Please describe. Contributions Catalog (A web application for documenting/accepting/cataloging Rokwire Contributions like Talents and Capabilities) currently uses GitHub for authentication (https://docs.github.com/en/developers/apps/building-oauth-apps/authorizing-oauth-apps#web-application-flow). This is because we think the most of authenticated the users of this application will be developers and hence should likely have a GitHub account. We are trying to leverage Content Building Block to store icon images that'll be submitted through the Contributions Catalog, but that needs a Rokwire access token issued by the Core BB.

Describe the solution you'd like Please add OAuth 2.0 access token support to Core BB so that we can get a Rokwire access token in exchange for a GitHub access token and use that for communicating with the Content BB. I'm creating this feature request to start a conversation. We can also discuss any alternatives or iterate on the feature request.

Additional context Add any other context or screenshots about the feature request here.

shurwit commented 2 years ago

Thanks @sandeep-ps, I have put this in our backlog.