aws-amplify / aws-amplify/amplify-studio

Unable to update verification time from code to verification link in congnito pool.

Open
#876 4 comments 0 reactions 0 assignees View on GitHub
auth feature-request studio-ui
Dominant language
No language data
Stars
135
Forks
32
PR merge metrics
No merged PRs in 30d

Description

### Before opening, please confirm:

- [X] I have [searched for duplicate or closed issues](https://github.com/aws-amplify/amplify-adminui/issues?q=is%3Aissue+).
- [X] I have read the guide for [submitting bug reports](https://github.com/aws-amplify/amplify-adminui/blob/main/CONTRIBUTING.md#bug-reports).
- [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- [X] I have removed any sensitive information from my code snippets and submission.

### App Id

d1um9sjsl7vyoy

### Region

us-east-1

### Environment name

staging

### Figma File Version (if applicable)

_No response_

### Amplify CLI Version

11.0.0

### If applicable, what version of Node.js are you using?

_No response_

### What operating system are you using?

_No response_

### Browser type?

_No response_

### Describe the bug

While updating the verification message as mentioned in [cognito pool docs](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-email-verification-message-customization.html) to make it a verification link like this in amplify studio (Amplify Studio->Authentication->verification message settings)
```
{##check##}
```
I am getting this error
```
1 validation error detected: Value '{##check##}' at 'emailVerificationMessage' failed to satisfy constraint: Member must satisfy regular expression pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*
```

### Expected behavior

it should allow me to add verification link.

### Reproduction steps

1. go to amplify studio and add authentication
2. then go to verification message settings) and change the message to "{{##code## }}"
3. and deploy it.

### Project Identifier

_No response_

### Additional information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with Amplify Studio’s Authentication → verification message settings and compare its accepted placeholder format with the linked Amazon Cognito customization documentation. Reproduce the deployment using the reported verification-link placeholder and inspect the validation error; done means a valid verification-link message can be saved and deployed without the constraint failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.