Auth format

0
closed
dapplion
dapplion
Posted 6 months ago

Auth format #3

From https://github.com/ethereum/beacon-APIs/pull/151

@michaelsproul - I think the rough consensus around cookies vs tokens fell in favour of tokens (see #151 (comment)). Prysm have implemented a JWT, and Lighthouse has a bearer token that's compatible.

We can specify token auth using the template here: https://swagger.io/docs/specification/authentication/bearer-authentication/

@james-prysm : yup in favor of a token for now as it keeps it more simple.

Also: https://github.com/ethereum/beacon-APIs/pull/151#discussion_r732461095