How to require email and (username or nickname) in signup, and require only email in login in Amplify Auth(Cognito) - amazon-cognito

On signup, I will require email, password, and (nickname or username). I don't care nickname or username. nickname or username doesn't have to be unique.
On login, I will require only email and password.
I don't know how to achieve them in Amplify CLI. Any help?

Related

Update the keycloak account temporary password from our own website once super admin creates a user account

Here I'm using keycloak for the user management of my website. I want to send a password reset email once the keycloak super admin creates a user account. The email reset password link should route to my own website reset password page (Not to keycloak reset password page).
I'm done with up to here.
The issue is when sending the password reset request, expected following values...
session_code: xxxx
execution: UPDATE_PASSWORD
client_id: client-id
tab_id: xxxxxxxx
How can I get session_code and tab_id to create a reset password request from my own website?
I tried with decoding the key that comes with the email link. but couldn't find a way.

Nest app "login fail" incorrect user name or password

I try to login and it says the username or password is incorrect... I changed the password through forgot password. Still says it. I only have 1 username (email) and it was saved in my phone.
Help,

How to implement reset password in Amazon cognito, if we doesn't have email and phone number? We are using loginname for sign-in in cognito account

I want to implement reset password functionality in Amazon Cognito. I am using login name to sign in cognito account. As cognito sends verification code via email or phone and i am not using these fields in user details. How i can implement reset password in case of login name?
You need either an email id or a phone number to reset user password. Both forgot password and admin reset password use the same flow which will throw an invalid parameter error if neither verified phone or email address is registered for the user.

Appfuse user management from administrator end - setting password vs password hint

On appfuse (http://appfuse.org/display/APF/Demos), an Administrator can add users. When adding a new user, the administrator can set "Password Hint" for the user being added, but not the user's actual password. When the user comes to login, how will the user know his exact password, my question is?
When administrator add some user, they only filled the the password hint.
And the password will be sent to user's email that has been registered.

Is it possible to intercept the username and password when user submit the login form?

In Lotus Domino, when user submits the login form, we need to intercept user's username and password and relogin him/her to Domino with another username and password, according to his/her input username and password.
Is it possible?
You will need a custom login and Access it with a URL: /names.nsf?login&Redirectto=/myDb.nsf/loginredirect?OpenForm
In the loginredirect user would be logged in with the username he enters. You will have to RELOG in with the another user. see http://dominounlimited.blogspot.co.il/2008/07/automated-login-to-domino-by-http-post.html
It is possible to do this in domino but it requires you to write a DSAPI filter, which can be complicated. DSAPI filter allowes you to validate the password and go around dominos password validation.
A easier solutions is to have another authentication server which logs in the user to domino, this will involve letting the authentication server doing a POST of the login form to domino and then give the session cookie to the user.