uncefact / project-traceability

API definitions and testable mocks for a garment traceability project with UNECE and ITC based on GS1 EPCIS
GNU General Public License v3.0
6 stars 2 forks source link

Feat GitHub idp #35

Closed kshychko closed 2 years ago

kshychko commented 2 years ago

This PR introduces the updates for infrastructure configuration. It sets up Cognito as Authorizer for API Gateway with GitHub used as OIDC provider. The login redirects to the root path of the gateway API. It would be nice if we could parse the query parameters and print the value of the id_token to the user so they can use it in the Postman collection setup. If it's too straightforward we need to think about some more elegant solution.

kshychko commented 2 years ago

Converting to draft until GitHub action passes for this PR. Looks like some dependencies need to be fixed/pinned.