up-examples
up-examples copied to clipboard
Auth example(s)
Haven't tried Cognito yet but that would be an obvious one, auth0, custom JWT etc.
That's my task today, figure out how to protect an API endpoint. Guess I can just check for a secret in the body, but it would be nice if there was a "proper" simple way to do it. Especially since https://github.com/apex/up-examples/tree/master/oss/golang-basic-auth looks like it will never work.