amplify-edge / packages

Flutter Packages
The Unlicense
2 stars 3 forks source link

PACKAGES: mod-account Envoy Authz #370

Closed Winwisly100 closed 4 years ago

Winwisly100 commented 4 years ago
joe-getcouragenow commented 4 years ago

Based on: https://medium.com/google-cloud/envoy-external-authorization-server-envoy-ext-authz-helloworld-82eedc7f8122

joe-getcouragenow commented 4 years ago

So how can we do sessions in a smart way ?

The SAAS golang layer is stateless, and hence why round robin LB is fine. The PASS layer ( minio, etc ) is stateful, and setup to do round robin from SAAS to PAAS also and its all fine.

SO do we need redis etc for sessions ?

DART JWT research: https://github.com/appsup-dart/jose

joe-getcouragenow commented 4 years ago

notes from meeting:

  1. DEV / ENV
    • Get OPS access for GCP for dev-getcouragenow.org
    • test kubeconfig

AUTH

AUTHZ

PASS

mod-accont

  1. Add make files as needed

    • protoc
    • flutter and golang for local dev
  2. Is this PASS or SASS layer ?

    • auth and authz is needed by everyone. Feels like its PASS
    • SAAS layer in maintemplate
    • whats needed ?
    • SAAS mod-* layer:
    • each one needs just grpc check and health, that envoy calls into
    • PASS
    • storage. minio with memory cache.