Before this change the sensei admin service (CRUD for nodes) was using the "default/admin" node's macaroon to handle authentication.
This didn't seem like a good idea so created a separate access token system for the admin service. It supports scoped tokens, token expiration based on time, and single-use tokens.
When you create/start/init the 'default' node it will now return the macaroon for that node as well as a access token that has "*" scope for accessing every endpoint.
Before this change the sensei admin service (CRUD for nodes) was using the "default/admin" node's macaroon to handle authentication.
This didn't seem like a good idea so created a separate access token system for the admin service. It supports scoped tokens, token expiration based on time, and single-use tokens.
When you create/start/init the 'default' node it will now return the macaroon for that node as well as a access token that has "*" scope for accessing every endpoint.