Skip to content

Commit

Permalink
Merge pull request #1276 from assemblee-virtuelle/fix-solid-oidc
Browse files Browse the repository at this point in the history
Fix Solid-OIDC
  • Loading branch information
srosset81 authored Jun 20, 2024
2 parents bdb4012 + 70fc2d7 commit 07e0725
Show file tree
Hide file tree
Showing 16 changed files with 183 additions and 48 deletions.
51 changes: 41 additions & 10 deletions src/frontend/packages/auth-provider/dist/index.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/frontend/packages/auth-provider/dist/index.cjs.js.map

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions src/frontend/packages/auth-provider/dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ export function authProvider({
setNewPassword: (params: any) => Promise<void>;
getAccountSettings: (params: any) => Promise<any>;
updateAccountSettings: (params: any) => Promise<void>;
/**
* Inform the OIDC server that the login interaction has been completed.
* This is necessary, otherwise the OIDC server will keep on redirecting to the login form.
* We call the endpoint with the token as a proof of login, otherwise it could be abused.
*/
loginCompleted: (interactionId: any, webId: any) => Promise<void>;
};
export declare namespace rights {
export { rightsToShow as show };
Expand Down
Loading

0 comments on commit 07e0725

Please sign in to comment.