Skip to content

Google user migration #3661

Open
Open

Description

@tp

Open Points

  • Look into migrating the GoogleRefreshToken
    • It seems like we did store them with some login paths (non-web?), but then they were never used (GoogleAuth.authClientForUser is never called), so that might only be a partial implementation. Maybe we can also just capture new ones on subsequent logins if needed, and then capture them for all logins.

Activity

  1. added
    area: authentication
    on Jun 24, 2025
  2. moved this from Inbox 📫 to Later 🥳 in Serverpod Frameworkson Jun 24, 2025
  3. moved this from Planned 🔭 to In Progress 🔥 in Serverpod Frameworkson Jul 31, 2025
  4. SandPod commented on Aug 13, 2025

    @SandPod
    Contributor

    @tp Was this resolved by #3778?

  5. moved this from In Progress 🔥 to Planned 🔭 in Serverpod Frameworkson Aug 13, 2025
  6. tp commented on Aug 13, 2025

    @tp
    ContributorAuthor

    @SandPod No, the flow implemented in the PR does not use the refresh tokens, but instead gets an identity token from Google and logs in based on that.

    I'm not sure which previous flow used the refresh token, though that might be useful to get subsequent account updates (or poll for them), just like we do in for Apple-auth.

    Likewise, we might want to use "local" verification of the token based on Google's published keys (like we do for Apple), instead of calling their API. (Though the end result would be the same here. The biggest surprise was that the identity token schema I received from Google during testing did not fully match the one in serverpod_auth, the "email verified" field name changed. But then I didn't have time to check that against the old flow, or whether even the web auth was not using the identity token approach there…).

    PS: Probably the best way forward here is to deploy the test auth backend, and connect it to an Android app, to see whether the current identity token approach is sufficient or whether anything else is needed (I did not get around to that, as you need a properly set up app as well for testing this).

  7. added this to the Post 3.0 release milestone on Oct 24, 2025
  8. moved this from Planned 🔭 to Backlog 🗂️ in Serverpod Frameworkson Oct 24, 2025
  9. moved this from Backlog 🗂️ to Planned 🔭 in Serverpod Frameworkson Nov 14, 2025
  10. moved this from Planned 🔭 to Next Up 🎯 in Serverpod Frameworkson Dec 19, 2025
  11. moved this from Next Up 🎯 to Planned 🔭 in Serverpod Frameworkson Jan 9, 2026
  12. moved this from Planned 🔭 to Next Up 🎯 in Serverpod Frameworkson Jan 26, 2026
  13. moved this from Next Up 🎯 to Planned 🔭 in Serverpod Frameworkson Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area: authentication

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions