Skip to content

feat: OAuth/PKCE write-back to actor.rpg.stats #24

Description

@ibloud

Summary

Implement Phase 2 canonical write-back to AT Proto actor.rpg.stats using OAuth/PKCE.

Implementation

  • Host client-metadata.json on GitHub Pages.
  • Integrate @atproto/oauth-client-browser (CDN acceptable for prototype).
  • Implement fetch-merge-put to avoid overwriting unrelated actor fields.
  • Update playerProfiles.did migration path.
  • Test with throwaway account first.

Acceptance Criteria

  • Post-game stats appear in player AT Proto record.
  • Merge-safe updates do not clobber unrelated data.
  • Documented token/env rotation process for production hardening.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    at-protoAT Proto integration + write-backplayer-profileplayerProfiles schema/persistence

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions