Skip to content

feat(auth): add Yggdrasil accounts, textures, and offline server - #245

Merged
H2Sxxa merged 2 commits into
mainfrom
feat/auth-yggdrasil-textures
Nov 11, 2026
Merged

H2Sxxa merged 2 commits into
mainfrom
feat/auth-yggdrasil-textures

Conversation

@H2Sxxa

@H2Sxxa H2Sxxa commented Nov 11, 2026

Copy link
Copy Markdown
Member

Summary

  • split persisted Account state from the per-launch Credential model
  • add an account store and registry with refresh persistence
  • add Microsoft and Yggdrasil skin/cape queries and mutations
  • install authlib-injector and inject it for Yggdrasil credentials
  • expose nidhogg's local Yggdrasil session/texture server behind offline-server

Breaking Changes

  • auth::credential::UserCredential is renamed to Credential
  • auth::authorizer::Authorizer moved to auth::authorizers::Authorizer
  • accounts now expose Account::credential(), texture methods, and refresh()
  • AccountStore access is unified through account(account_id)

Validation

  • cargo fmt --all -- --check
  • cargo check -p elemental-core
  • cargo check -p elemental-core --features yggdrasil-auth
  • cargo check -p elemental-launcher --features offline-server --all-targets
  • cargo check -p elemental-kit --features yggdrasil-auth
  • cargo test -p elemental-launcher --features offline-server

- split persisted Account state from the per-launch Credential model
- add account store and registry with refresh persistence
- support Microsoft and Yggdrasil skin/cape queries and mutations
- install authlib-injector and inject it for Yggdrasil credentials
- expose nidhogg's local Yggdrasil session/texture server
@codacy-production

codacy-production Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 1 critical · 1 high

Alerts:
⚠ 2 issues (≤ 0 issues of at least minor severity)

Results:
2 new issues

Category Results
Security 1 critical
1 high

View in Codacy

🟢 Metrics 239 complexity · 4 duplication

Metric Results
Complexity 239
Duplication 4

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@H2Sxxa

H2Sxxa commented Nov 11, 2026

Copy link
Copy Markdown
Member Author

close #11, #205

This was linked to issues Nov 11, 2026
@H2Sxxa
H2Sxxa merged commit c5e7ff4 into main Nov 11, 2026
1 of 2 checks passed
@H2Sxxa
H2Sxxa deleted the feat/auth-yggdrasil-textures branch November 11, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Yggdrasil Auth Support feat: Skin Support

1 participant