When I try to save my config of SPA application the following error appears
infinite_token_lifetime cannot be true when app_type is ‘spa’
I didn’t touch the config for a long time and today it just stopped working. Any ideas?
I’ve just tried another SPA on my other tenant and I can’t save that one either.
I’m experimenting with using the auth0-deploy-cli to configure our tenants. Scripts that were working a couple of days ago are now failing with the same error.
13:49:19 2020-12-16T02:49:19.910Z - [31merror[39m: Problem updating clients {“name”:“”,“client_id”:“”}
13:49:19 Bad Request: infinite_token_lifetime cannot be true when app_type is ‘spa’
Facing the same issue all of a sudden. Haven’t changed any setting in the past two weeks, I reduced the expiry time for testing 2 days back. Now when I want to dial it back, I can’t do it due do this.
Still experiencing the issue with auth0-deploy-cli@5.2.1 :
2020-12-16T14:28:38.527Z - debug: Error: Problem updating clients {"name":"My App","client_id":"*********"}
Bad Request: infinite_token_lifetime cannot be true when app_type is 'spa'
at /builds/my-app/auth0/node_modules/auth0-source-control-extension-tools/lib/auth0/handlers/default.js:184:17
at processTicksAndRejections (internal/process/task_queues.js:93:5)
We are seeing the same error on our deployments this morning.
name: ‘Bad Request’,
Info message: “infinite_token_lifetime cannot be true when
app_type is ‘spa’”,
Info statusCode: 400,
Info requestInfo: {
Info method: ‘patch’,
We are also getting the " infinite_token_lifetime cannot be true when app_type is ‘spa’" error.
This is while trying to change the application from “Generic” type to “Single Page Application” one.
I’m wondering if this is not because of refresh token expiration feature that just went general availability yesterday. Can all of you guys do this and let me know if that solved the issue?
This did not resolve our deployment. But this may also be related to the process that we deploy and update IDP settings via a json configuration.
I need to get these meta settings into the json object what are the property names and values to set this configs programmatically? I can see the tenant patch object in the api docs but do not see anything for token rotation Auth0 Management API v2
Properties: Absolute Expiration and Inactivity Expiration. Looking in the console both must be set or the inactivity must be less than absolute expiration