@metaplay/metaplay-auth 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/auth.ts +1 -1
- package/src/index.ts +1 -1
- package/patch.json +0 -8
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metaplay/metaplay-auth",
|
|
3
3
|
"description": "Utility CLI for authenticating with the Metaplay Auth and making authenticated calls to infrastructure endpoints.",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
7
7
|
"homepage": "https://metaplay.io",
|
package/src/auth.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { createServer } from 'net'
|
|
|
10
10
|
import { logger } from './logging.js'
|
|
11
11
|
|
|
12
12
|
// oauth2 client details (maybe move these to be discovered from some online location to make changes easier to manage?)
|
|
13
|
-
const clientId = '
|
|
13
|
+
const clientId = 'c16ea663-ced3-46c6-8f85-38c9681fe1f0'
|
|
14
14
|
const baseURL = 'https://auth.metaplay.dev'
|
|
15
15
|
const authorizationEndpoint = `${baseURL}/oauth2/auth`
|
|
16
16
|
const tokenEndpoint = `${baseURL}/oauth2/token`
|
package/src/index.ts
CHANGED
|
@@ -10,7 +10,7 @@ const program = new Command()
|
|
|
10
10
|
program
|
|
11
11
|
.name('metaplay-auth')
|
|
12
12
|
.description('Authenticate with Metaplay and get AWS and Kubernetes credentials for game servers.')
|
|
13
|
-
.version('1.1.
|
|
13
|
+
.version('1.1.1')
|
|
14
14
|
.option('-d, --debug', 'enable debug output')
|
|
15
15
|
.hook('preAction', (thisCommand) => {
|
|
16
16
|
// Handle debug flag for all commands.
|
package/patch.json
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"authorization_code_grant_access_token_lifespan": "30s",
|
|
3
|
-
"authorization_code_grant_id_token_lifespan": "30s",
|
|
4
|
-
"authorization_code_grant_refresh_token_lifespan": "30m",
|
|
5
|
-
"refresh_token_grant_access_token_lifespan": "30s",
|
|
6
|
-
"refresh_token_grant_id_token_lifespan": "30s",
|
|
7
|
-
"refresh_token_grant_refresh_token_lifespan": "30m"
|
|
8
|
-
}
|