backend-app-api: add TODO for authServiceFactory
Co-authored-by: Fredrik Adelöw <freben@gmail.com> Co-authored-by: Carl-Erik Bergström <cbergstrom@spotify.com> Co-authored-by: blam <ben@blam.sh> Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -167,6 +167,7 @@ class DefaultAuthService implements AuthService {
|
||||
const { type } = internalForward.principal;
|
||||
|
||||
switch (type) {
|
||||
// TODO: Check whether the principal is ourselves
|
||||
case 'service':
|
||||
return this.tokenManager.getToken();
|
||||
case 'user':
|
||||
|
||||
Reference in New Issue
Block a user