fix: separate scopes in service token
This commit is contained in:
@@ -18,7 +18,7 @@ export async function fetchServiceToken(
|
||||
grant_type: "client_credentials",
|
||||
client_id: env.CURITY_CLIENT_ID_SERVICE,
|
||||
client_secret: env.CURITY_CLIENT_SECRET_SERVICE,
|
||||
scope: scopes.join(","),
|
||||
scope: scopes.join(" "),
|
||||
}),
|
||||
next: {
|
||||
revalidate: SERVICE_TOKEN_REVALIDATE_SECONDS,
|
||||
|
||||
Reference in New Issue
Block a user