Skip to content

Commit

Permalink
Get rid of magic constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Nikitin committed Nov 14, 2023
1 parent 1ba482e commit 28884ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware/auth/user-info-fetcher/api-token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class APITokenUserInfoFetcher extends AuthReturn implements IUserInfoFetc
// expected issuer of the token, should be issued by the Logto server
issuer: oauthProvider.endpoint_issuer,
// expected audience token, should be the resource indicator of the current API
audience: '4ozwp2i06xy5sp3ttozts',
audience: process.env.LOGTO_APP_ID,
}
);
// Setup the scopes from the token
Expand Down

0 comments on commit 28884ae

Please sign in to comment.