OSDU OAUTH 2 flow support.
Context -
All services in OSDU uses Bearer token that is generated by Cloud Service Provider using OAUTH 2.0 for authentication and authorization. For instance, JWT token generated by - Service Principal in Azure Google Service account in GCP Any party who has access to Bearer token has the access to associated resources.
Requirement -
This creates a need to have a generic OAUTH 2.0 implementation in place.
What does that mean - It means that there will be a JWT generated by a service in OSDU using user details. This JWT token will be supported across all Cloud Service Provider. Hence same JWT will be used across all OSDU services, independent on which cloud platform OSDU services are deployed too.