Since identity requires people to sign in, and that may happen via oauth etc, local development can become a pain, so we use a local identity feature, only for testing.
identities
cookie, or globally via --identities
cli argument to fpm serve
.identities
request cookieidentity
is present as part of HTTP request, and contains comma separated list of email: amitu, github: amitu
identities, we will use the cookie content as identities of current user.--identities
cli parameterfpm serve --identities="email: amitu, github: amitu"
, if so every request will be assumed to have this identity.--identities
and identities
cookie is found, so we will prefer cli --identities
and ignore the cookie.