Release 0.5.6
Overview
AGS CLI 0.5.6 is a patch release on top of 0.5.5. Each item below is tagged with the area it affects. All items in this release are [General].
Existing scripts and workflows keep working without changes. To upgrade from 0.5.1 or later, run ags update --install.
Highlights
[General] Sign in without an IAM client where admin accounts live in the publisher namespace
Some environments keep every admin account in the publisher namespace. IAM looks for your account in the namespace of the IAM client that you sign in with. So on those environments, a client that you created in your game namespace could not sign you in: the browser sign-in looked successful, and then the login failed with invalid_grant.
On those environments, ags auth login now signs in with a built-in public IAM client from the publisher namespace when you have not set a client ID. You do not need to create an IAM client or ask for one first.
A client ID that you set still comes first. The CLI uses the first one that it finds:
- The
--client-idflag. - The
AGS_CLIENT_IDenvironment variable. - The client ID saved in your profile.
- The built-in client, only over HTTPS and only on an environment that has one.
If none of these applies, the CLI asks for a client ID, as before. Other environments sign in as before.
Bug fixes
- [General] When the token exchange at the end of
ags auth loginfails withinvalid_grant, the error now explains the usual cause. IAM looks for your account in the namespace of the IAM client that you signed in with, and your account is in a different namespace. On an environment with a built-in client, if you signed in with a client ID that you set, the error tells you to remove that client ID so that the CLI uses its built-in client. - [General] The
urllibrary is updated for a published security advisory.
Full release notes
See the 0.5.6 release on GitHub for the complete list of changes.