SSO via AWS: no resources found

I’ve set up SSO via AWS, following this guide:

It requires you to add an email attribute:

User attribute in the application Maps to this string value or user attribute in AWS SSO Format
Subject ${user:email} emailAddress
email ${user:email} emailAddress

But, in AWS, you cannot assign the type ‘emailAddress’ to ‘email’. The only options are: unspecified, basic, uri.

Also, by ignoring this attribute and completing the rest of the guide, when I login, it fails:

Oops, something went wrong
Provide your administrator with the following info:
Resource not found
Request ID: …
HTTP status: 404

Probably this is related. How can I solve this issue?

Hey there! You can reach the official support team at Get in Touch | Bitwarden