Skip to content

Feature: use an environment specific access token for game server requests - #117

Closed
ruistola wants to merge 4 commits into
mainfrom
feature/pla-804-portal-token-exchange
Closed

ruistola wants to merge 4 commits into
mainfrom
feature/pla-804-portal-token-exchange

Conversation

@ruistola

@ruistola ruistola commented Mar 12, 2026 •

Copy link
Copy Markdown
Contributor

This PR makes CLI exchange the Metaplay Auth access token via Metaplay Developer Portal for a short-lived and environment-scoped access token before making any game server requests. On failure, CLI exits with an error.

Only applies where Metaplay is the auth provider. Third-party auth providers are unaffected.

On-disk caching of environment access token(s) is left as future work.

CLI requests towards the Developer Portal continue using the original Metaplay Auth access token.

@ruistola ruistola self-assigned this Mar 12, 2026
Comment thread pkg/portalapi/portalapi.go Resolved
@MrHaila

MrHaila commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Superseded by #261, which rebuilds this change on current main. Since this PR was opened, main has gained new commands that reach a stack and the Kubernetes API proxy exec credential, and #261 covers those too. The branch is left in place.

@MrHaila MrHaila closed this Nov 5, 2026
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.

3 participants