Open NilsG-S opened 6 years ago
Microservices, Yarn, Material UI, compose in production and development
Individual package.json
files
@ynigoreyes Here's some API gateway software I've found:
https://stackoverflow.com/questions/46769814/is-there-a-comprehensive-comparison-between-tyk-vs-kong
I'm liking Tyk. It's fast, accepts plugins in many languages, and seems relatively simple.
Here's the basic authentication structure I was looking at: https://tyk.io/docs/security/your-apis/json-web-tokens/
What is 3rd party/custom idp??? is that equivalent to what our auth micro is going to be?
That's the impression I got
EDIT
We'll also need this to handle updates: https://tyk.io/docs/ensure-high-availability/service-discovery/
Remaining work on cpceed-student-app
: [see first post]
Repos:
cpceed-student-app
:cpceed-admin-app
cpceed-auth-service
cpceed-user-service
cpceed-event-service
cpceed-report-service
cpceed-common
Tasks (per-repo):
Tasks (overall):
server
tocommon
Authentication:
There are a few options for how to conduct authentication in this app.
Identity microservice with API gateway. Basically only the API gateway checks authorization. Any activity beyond the gateway is assumed to be authorized.
Identity microservice with distributed authorization checks. Basically the identity microservice issues tokens sized with some secret value. All microservices have this secret value so they can check the validity of tokens sent to them.
Note: all of the above assume we don't want SSO for our different front-ends (which we don't). SSO would require oAuth/OpenID Connect. See https://www.coreblox.com/blog/2018/2/identity-as-a-microservice
Resources: