Skip to content

Commit

Permalink
Merge pull request #196 from kinde-oss/chore/update-framework-tracking
Browse files Browse the repository at this point in the history
chore: update framework tracking
  • Loading branch information
DanielRivers authored Aug 14, 2024
2 parents 84caed4 + 70014cb commit e7bee75
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ export const config = {
logoutRedirectURL: KINDE_POST_LOGOUT_REDIRECT_URL || '',
redirectURL: `${KINDE_SITE_URL}/api/auth/kinde_callback`,
frameworkVersion: version,
framework: 'Next.js',
scope: KINDE_SCOPE
},
grantType: GrantType.AUTHORIZATION_CODE
Expand Down
1 change: 1 addition & 0 deletions src/routerClients/AppRouterClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default class AppRouterClient extends RouterClient {
super();
this.clientConfig = {
...config.clientOptions,
framework: 'Next.js:App',
audience: options?.config?.audience || config.clientOptions.audience,
authDomain: options?.config?.issuerURL || config.clientOptions.authDomain,
clientId: options?.config?.clientId || config.clientOptions.clientId,
Expand Down
1 change: 1 addition & 0 deletions src/routerClients/PagesRouterClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default class PagesRouterClient extends RouterClient {
url.pop();
this.clientConfig = {
...config.clientOptions,
framework: 'Next.js:Pages',
audience: options?.config?.audience || config.clientOptions.audience,
authDomain: options?.config?.issuerURL || config.clientOptions.authDomain,
clientId: options?.config?.clientId || config.clientOptions.clientId,
Expand Down

0 comments on commit e7bee75

Please sign in to comment.