Title: 500 error on adding new login method to pre-existings accounts · Issue #2011 · CommunitySolidServer/CommunitySolidServer · GitHub
Open Graph Title: 500 error on adding new login method to pre-existings accounts · Issue #2011 · CommunitySolidServer/CommunitySolidServer
X Title: 500 error on adding new login method to pre-existings accounts · Issue #2011 · CommunitySolidServer/CommunitySolidServer
Description: Environment CSS v7.1.6 filesystem node.js v20.9.0 Description Adding the GOOGLE_METHOD on a clean new server works without issue either on a filesystem subdomain or prefix. The new login method adds a google Oauth 2 authorization method ...
Open Graph Description: Environment CSS v7.1.6 filesystem node.js v20.9.0 Description Adding the GOOGLE_METHOD on a clean new server works without issue either on a filesystem subdomain or prefix. The new login method add...
X Description: Environment CSS v7.1.6 filesystem node.js v20.9.0 Description Adding the GOOGLE_METHOD on a clean new server works without issue either on a filesystem subdomain or prefix. The new login method add...
Opengraph URL: https://github.com/CommunitySolidServer/CommunitySolidServer/issues/2011
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"500 error on adding new login method to pre-existings accounts","articleBody":"#### Environment\n\n- CSS v7.1.6 filesystem\n- node.js v20.9.0\n\n#### Description\nAdding the `GOOGLE_METHOD` on a `clean new server` works without issue either on a filesystem subdomain or prefix.\nThe new login method adds a google Oauth 2 authorization method\nsee https://github.com/ksaito-hiu/css-google-auth\n\n#### issue 500 error\nAdding a new login method on a `pre-existing account` returns a 500 error when trying to use the new login method.\n#### to reproduce\n- The server is without the google login method\n- some accounts are created\n- the server is restarted with the added login method\n\nWhen the new method is added to an existing server (server with accounts), the exiting account do not have the method implemented in payload : the `**google**: {}` is missing and an 500 error is returned when loading the account page and the account data is partially loaded.\n```\nRequest URL:\nhttps://bourgeoa.fr:3000/.account/account/2caddabf-6f52-48db-96c4-1e94b683a062/login/google/\nRequest Method:\nGET\nStatus Code:\n500 Internal Server Error\n\n```\naccount page (the pod exists : https://idp.bourgeoa.fr but not displayed)\n\n\n\nAn accounts/data migration is possible, but catching the error in the source code should be a better solution.\nWhere does the missing catch occur ?\n","author":{"url":"https://github.com/bourgeoa","@type":"Person","name":"bourgeoa"},"datePublished":"2025-03-24T15:18:22Z","url":"https://github.com/CommunitySolidServer/CommunitySolidServer/issues/2011"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:79bd5317-08dc-8f5f-6fff-45d3b301b6c4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B366:14E28B:9E9034:C9A13C:6B03A54C |
| html-safe-nonce | 36a663aae114618da151e3d869a1390c6bd2360db738e01e12df4be91ca177ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzY2OjE0RTI4Qjo5RTkwMzQ6QzlBMTNDOjZCMDNBNTRDIiwidmlzaXRvcl9pZCI6IjU2OTUwOTUxNzEzNjA5OTA1NDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4359c56c888882ab40a429b51488d7b659e35055731a579f3138f0cd632f3cd3 |
| hovercard-subject-tag | issue:2943606273 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/CommunitySolidServer/CommunitySolidServer/2011/issue_layout |
| twitter:image | https://opengraph.githubassets.com/845134da2e6cee4e2838fdb893b9e40bb8f3fb48b4fc3a9440bec648b291e321/CommunitySolidServer/CommunitySolidServer/issues/2011 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/845134da2e6cee4e2838fdb893b9e40bb8f3fb48b4fc3a9440bec648b291e321/CommunitySolidServer/CommunitySolidServer/issues/2011 |
| og:image:alt | Environment CSS v7.1.6 filesystem node.js v20.9.0 Description Adding the GOOGLE_METHOD on a clean new server works without issue either on a filesystem subdomain or prefix. The new login method add... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bourgeoa |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/CommunitySolidServer/CommunitySolidServer git https://github.com/CommunitySolidServer/CommunitySolidServer.git |
| octolytics-dimension-user_id | 101397807 |
| octolytics-dimension-user_login | CommunitySolidServer |
| octolytics-dimension-repository_id | 265197208 |
| octolytics-dimension-repository_nwo | CommunitySolidServer/CommunitySolidServer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 265197208 |
| octolytics-dimension-repository_network_root_nwo | CommunitySolidServer/CommunitySolidServer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width