Require the profile subject to match the verified ID token subject in GoTo’s existing Better Auth account callback. Use the token subject as the account key. Better Auth still handles token verification and discovery; no config or database changes.
GoTo declares jose directly at the version already present in the lockfile through Better Auth, rather than importing library internals or adding a JWT parser.
Verification
Focused provider tests cover matching, mismatched, and missing subjects and the existing missing-token rejection. Web type check and production build, scoped formatting and lint, and frozen lockfile validation passed.
## Summary
Require the profile subject to match the verified ID token subject in GoTo’s existing Better Auth account callback. Use the token subject as the account key. Better Auth still handles token verification and discovery; no config or database changes.
GoTo declares `jose` directly at the version already present in the lockfile through Better Auth, rather than importing library internals or adding a JWT parser.
## Verification
Focused provider tests cover matching, mismatched, and missing subjects and the existing missing-token rejection. Web type check and production build, scoped formatting and lint, and frozen lockfile validation passed.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Require the profile subject to match the verified ID token subject in GoTo’s existing Better Auth account callback. Use the token subject as the account key. Better Auth still handles token verification and discovery; no config or database changes.
GoTo declares
josedirectly at the version already present in the lockfile through Better Auth, rather than importing library internals or adding a JWT parser.Verification
Focused provider tests cover matching, mismatched, and missing subjects and the existing missing-token rejection. Web type check and production build, scoped formatting and lint, and frozen lockfile validation passed.
c810ead04ato47dc4096a8