lively-scientist-17848
11/05/2024, 9:20 AMbrief-egg-61061
11/05/2024, 9:20 AMbrief-egg-61061
11/05/2024, 9:20 AMyaml selfservice: methods: code: enabled: true config: lifespan: 15m # Defines how long the verification or the recovery code is valid for
This configuration sets the lifespan of the code to 15 minutes. The default value is 1 hour if not specified. To apply this configuration, you can use the Ory CLI to update the identity configuration for your project. First, you'd download the current configuration, modify it, and then update it using the CLI. It's important to note that this configuration affects the validity period of the code, not its length in terms of characters. The actual length of the code (number of digits or characters) is not explicitly configurable in the provided documentation.lively-scientist-17848
11/05/2024, 11:04 AMbrief-egg-61061
11/05/2024, 11:04 AMbrief-egg-61061
11/05/2024, 11:04 AM