Skip to content

Commit 50c3cf1

Browse files
authored
fix: include tenant path in auth server issuer claim (#152)
- Fixes gh-140 Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
1 parent 066b2d7 commit 50c3cf1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/scenarios/client/auth/helpers/createAuthServer.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export function createAuthServer(
134134
});
135135

136136
const metadata: any = {
137-
issuer: getAuthBaseUrl(),
137+
issuer: `${getAuthBaseUrl()}${routePrefix}`,
138138
authorization_endpoint: `${getAuthBaseUrl()}${authRoutes.authorization_endpoint}`,
139139
token_endpoint: `${getAuthBaseUrl()}${authRoutes.token_endpoint}`,
140140
...(!disableDynamicRegistration && {

0 commit comments

Comments
 (0)