[PR #3878] [MERGED] OpenId Implementation #5106

Closed
opened 2026-02-28 21:06:04 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/3878
Author: @lelemm
Created: 11/22/2024
Status: Merged
Merged: 12/23/2024
Merged by: @youngcw

Base: masterHead: openid_squashed


📝 Commits (10+)

📊 Changes

73 files changed (+4835 additions, -391 deletions)

View changed files

📝 packages/api/methods.ts (+4 -1)
📝 packages/desktop-client/e2e/settings.test.js-snapshots/Settings-checks-the-page-visuals-1-chromium-linux.png (+0 -0)
📝 packages/desktop-client/e2e/settings.test.js-snapshots/Settings-checks-the-page-visuals-3-chromium-linux.png (+0 -0)
packages/desktop-client/src/auth/AuthProvider.tsx (+48 -0)
packages/desktop-client/src/auth/ProtectedRoute.tsx (+65 -0)
packages/desktop-client/src/auth/types.ts (+3 -0)
📝 packages/desktop-client/src/browser-preload.browser.js (+2 -0)
📝 packages/desktop-client/src/components/App.tsx (+21 -1)
📝 packages/desktop-client/src/components/FinancesApp.tsx (+30 -1)
📝 packages/desktop-client/src/components/LoggedInUser.tsx (+121 -24)
📝 packages/desktop-client/src/components/ManageRules.tsx (+1 -1)
📝 packages/desktop-client/src/components/Modals.tsx (+41 -0)
📝 packages/desktop-client/src/components/ServerContext.tsx (+88 -1)
packages/desktop-client/src/components/admin/UserAccess/UserAccess.tsx (+292 -0)
packages/desktop-client/src/components/admin/UserAccess/UserAccessHeader.tsx (+16 -0)
packages/desktop-client/src/components/admin/UserAccess/UserAccessPage.tsx (+22 -0)
packages/desktop-client/src/components/admin/UserAccess/UserAccessRow.tsx (+148 -0)
packages/desktop-client/src/components/admin/UserDirectory/UserDirectory.tsx (+370 -0)
packages/desktop-client/src/components/admin/UserDirectory/UserDirectoryHeader.tsx (+34 -0)
packages/desktop-client/src/components/admin/UserDirectory/UserDirectoryPage.tsx (+49 -0)

...and 53 more files

📄 Description

Following the PR #1164

Instruction on how to test this.

  • Clone actual server PR and this PR locally, at the server, in the packages.json, point the @actual/web to link to this PR clone (this is important because the pages will come from this package)
    This is how I do:
    image
    It's important to remember to BUILD the desktop-client package before starting the server.

  • I suggest to start testing this using a empty server instead of an server already configured.

  • Once you have actual server running, you can open the URL and start configuring it using this preview doc https://deploy-preview-447.www.actualbudget.org/docs/advanced/oauth-auth

  • I suggest start with configuring from bootstrap. Use passwordless.id for testing, probably the easiest way to test.

  • You can test the openid provider login now. But to test multiple users, you have to configure multiuser support


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/3878 **Author:** [@lelemm](https://github.com/lelemm) **Created:** 11/22/2024 **Status:** ✅ Merged **Merged:** 12/23/2024 **Merged by:** [@youngcw](https://github.com/youngcw) **Base:** `master` ← **Head:** `openid_squashed` --- ### 📝 Commits (10+) - [`5a65c68`](https://github.com/actualbudget/actual/commit/5a65c6868866d05c3129ccf1f6b352fafc9fad48) OpenId implementation - [`45e855e`](https://github.com/actualbudget/actual/commit/45e855e97c4b3e93cc6cf85af0dc7d9bd40a62cc) Code rabbit auto generated code applied - [`29458e1`](https://github.com/actualbudget/actual/commit/29458e1814a383a0da483f8b57e4d3d660cf3cc0) Code rabbit suggestions round 2 - [`0a7ab28`](https://github.com/actualbudget/actual/commit/0a7ab2812f1f15fac2a2ae4da270d4d45499a148) fixes from code rabbit round 1 - [`a60768c`](https://github.com/actualbudget/actual/commit/a60768c89840807fb26151a39e6414891b94f6ed) Merge branch 'openid_squashed' of https://github.com/lelemm/actual into openid_squashed - [`161a89d`](https://github.com/actualbudget/actual/commit/161a89d9ac3f421248ef5030b278c703bcc5ae5f) fixes from code rabbit round 2 - [`247626e`](https://github.com/actualbudget/actual/commit/247626e5c81aef3ce38cdccbec21a3dd1eb8eb7b) change variable name - [`75384b0`](https://github.com/actualbudget/actual/commit/75384b0ee58fd3ef982623d6f80a8ac2de2b3081) code review round 3 - [`cfc94ab`](https://github.com/actualbudget/actual/commit/cfc94aba80f793b02fced94487c574b3ecc7a847) Update VRT - [`cbbe12b`](https://github.com/actualbudget/actual/commit/cbbe12b867408863a1b487b68c24ad1d0771f0e2) Merge branch 'master' into openid_squashed ### 📊 Changes **73 files changed** (+4835 additions, -391 deletions) <details> <summary>View changed files</summary> 📝 `packages/api/methods.ts` (+4 -1) 📝 `packages/desktop-client/e2e/settings.test.js-snapshots/Settings-checks-the-page-visuals-1-chromium-linux.png` (+0 -0) 📝 `packages/desktop-client/e2e/settings.test.js-snapshots/Settings-checks-the-page-visuals-3-chromium-linux.png` (+0 -0) ➕ `packages/desktop-client/src/auth/AuthProvider.tsx` (+48 -0) ➕ `packages/desktop-client/src/auth/ProtectedRoute.tsx` (+65 -0) ➕ `packages/desktop-client/src/auth/types.ts` (+3 -0) 📝 `packages/desktop-client/src/browser-preload.browser.js` (+2 -0) 📝 `packages/desktop-client/src/components/App.tsx` (+21 -1) 📝 `packages/desktop-client/src/components/FinancesApp.tsx` (+30 -1) 📝 `packages/desktop-client/src/components/LoggedInUser.tsx` (+121 -24) 📝 `packages/desktop-client/src/components/ManageRules.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/Modals.tsx` (+41 -0) 📝 `packages/desktop-client/src/components/ServerContext.tsx` (+88 -1) ➕ `packages/desktop-client/src/components/admin/UserAccess/UserAccess.tsx` (+292 -0) ➕ `packages/desktop-client/src/components/admin/UserAccess/UserAccessHeader.tsx` (+16 -0) ➕ `packages/desktop-client/src/components/admin/UserAccess/UserAccessPage.tsx` (+22 -0) ➕ `packages/desktop-client/src/components/admin/UserAccess/UserAccessRow.tsx` (+148 -0) ➕ `packages/desktop-client/src/components/admin/UserDirectory/UserDirectory.tsx` (+370 -0) ➕ `packages/desktop-client/src/components/admin/UserDirectory/UserDirectoryHeader.tsx` (+34 -0) ➕ `packages/desktop-client/src/components/admin/UserDirectory/UserDirectoryPage.tsx` (+49 -0) _...and 53 more files_ </details> ### 📄 Description Following the PR #1164 Instruction on how to test this. - Clone actual server PR and this PR locally, at the server, in the packages.json, point the @actual/web to link to this PR clone (this is important because the pages will come from this package) This is how I do: ![image](https://github.com/user-attachments/assets/0fc26e80-e4ba-45a9-8f55-8c9043342352) It's important to remember to BUILD the desktop-client package before starting the server. - I suggest to start testing this using a empty server instead of an server already configured. - Once you have actual server running, you can open the URL and start configuring it using this preview doc https://deploy-preview-447.www.actualbudget.org/docs/advanced/oauth-auth - I suggest start with [configuring from bootstrap](https://deploy-preview-447.www.actualbudget.org/docs/advanced/oauth-auth#configuration-from-bootstrap). Use passwordless.id for testing, probably the easiest way to test. - You can test the openid provider login now. But to test multiple users, you have to configure [multiuser support](https://deploy-preview-447.www.actualbudget.org/docs/advanced/multi-user) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 21:06:05 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#5106