From 980afb0627c3901990d0806b0d91f3e269801e6c Mon Sep 17 00:00:00 2001 From: helgifr Date: Tue, 17 Dec 2024 12:17:53 +0000 Subject: [PATCH] fix(new-primary-school): Add mms frigg api scopes to clients api (#17267) Co-authored-by: hfhelgason Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- .../data/add-mms-frigg-api-scopes-to-clients-api.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 libs/auth-api-lib/seeders/data/add-mms-frigg-api-scopes-to-clients-api.ts diff --git a/libs/auth-api-lib/seeders/data/add-mms-frigg-api-scopes-to-clients-api.ts b/libs/auth-api-lib/seeders/data/add-mms-frigg-api-scopes-to-clients-api.ts new file mode 100644 index 000000000000..94279183a868 --- /dev/null +++ b/libs/auth-api-lib/seeders/data/add-mms-frigg-api-scopes-to-clients-api.ts @@ -0,0 +1,8 @@ +import { addScopesToClient, compose } from './helpers' + +export const up = compose( + addScopesToClient({ + clientId: '@island.is/clients/api', + scopeNames: ['@mms.is/frigg'], + }), +)