Skip to content

Instantly share code, notes, and snippets.

@saaste
saaste / authflow.txt
Created October 18, 2017 09:33
Authentication flow
Is Authentication header present
- YES: Continue
- No: UNAUTHORIZED
Is Authentication header properly formatted (`Authorization: Bearer jwt.token.xxx`)
- Yes: Continue
- No: UNAUTHORIZED
Send JWT token to Authentication Service to see if token is valid:
- Yes: Grab the response and store user info to Request object
@saaste
saaste / gist:184d02e8bfc248da483eb2c3d6f6d2b3
Last active October 11, 2017 19:32
Kubernetes Tutorials
http://technosophos.com/2015/09/15/a-visual-guide-to-kubernetes.html
https://kubernetes.io/docs/tutorials/stateless-application/hello-minikube/
https://codelabs.developers.google.com/codelabs/cloud-hello-kubernetes/index.html?index=..%2F..%2Findex#0
@saaste
saaste / keybase.md
Created February 26, 2017 09:39
Keybase Verification

Keybase proof

I hereby claim:

  • I am saaste on github.
  • I am saaste (https://keybase.io/saaste) on keybase.
  • I have a public key ASB9XXY_MeGIoCq7LO-ZM7Fj_O_bRxlLEAjrWdf2u_KfZwo

To claim this, I am signing this object: