Skip to content

Commit

Permalink
feat(oidc-react): add missing scope property in login route (release)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Nov 22, 2024
1 parent 4d77aae commit 30fda23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-oidc/src/ReactOidc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,13 @@ export const useOidc = (configurationName = defaultConfigurationName) => {
callbackPath: string | undefined = undefined,
extras: StringMap | undefined = undefined,
silentLoginOnly = false,
scope: string = undefined,
) => {
return getOidc(configurationName).loginAsync(
callbackPath,
extras,
false,
undefined,
scope,
silentLoginOnly,
);
};
Expand Down

0 comments on commit 30fda23

Please sign in to comment.