Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I am developing a project in asp .Net framework where client is asking for mobile number verification before registration. If the mobile is verified then user can register or else can not.
so linking that to the identity user table and async with it keeping the verified mobile, could not relate things to one another codding-Ly. how to do it?
Thanx for the suggestion Tavershima , I thought if some async will verify and wait until verification and registration is done then update all at once , but it seems not possible as u said so am not sure , and some developers marking this question as down I don't know what is the problem with this , that is disappointing
Trying to verify a phone number before registration is a kind of trying to verify emails before registration. If you have ever made an authentication system before or used Asp.Net Identity you will see that it has an option for verifying email before login.
....AddIdentity<IdentityUser, IdentityRole>(options =>
{
options.SignIn.RequireConfirmedAccount = true;
});
. This property makes sure that a user verifies his email before he can login. In your case,the reverse is the case. You can then write additional logic to for your app to generate a confirmation code and send to the phone number to then be entered back to finish the registration. This will prevent the user from entering a false phone number. In that accord, you have to register with an sms provider which will bill you based on your usage or subscription based.
Related
This question already has answers here:
Firebase authentication email customisation
(4 answers)
Closed 4 years ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Firebase supports password-less email logins. A user provides their email, and then Firebase emails them a login link.
https://firebase.google.com/docs/auth/web/email-link-auth
However, I don't see any way to change the email text. This is the default:
Sign in to project-XXXX
Hello,
We received a request to sign in to project-XXXX using this email address. If you want to sign in with your XXXX#XXXX.com account, click this link:
Sign in to project-XXXX
If you did not request this link, you can safely ignore this email.
Thanks,
Your project-XXXX team
The Authentication > Templates section of Firebase Console only shows the following options. None of them match the text above:
You cannot, Firebase prevent this in order to avoid being used for spam. If you want to change the email, you need to handle the flow by yourself.
More info/references:
https://stackoverflow.com/a/50077575/5869296
The way Firebase has the message content locked down makes sense to me (I am currently using the Firebase email/password authentication) -or I should say, makes sense for at least specifically for the password reset message.
For the email confirmation message, as #Kayce pointed out, user has to be logged in. I can only imagine that there was some security/spam concern that Firebase folks thought of that I cannot come up with.
If customization was allowed for password reset messages, anyone with an email list that they want to spam can write a simple app, customize the message to whatever they want and have Firebase send that message to any email address that they want to spam (but I understand the question was about email verification emails).
Strangely, they do allow edits of the password reset emails.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I am using Drupal 7.50 Search returns no results for user either he is login or not(Except admin user).
Only admin user can Fetch the search result , but not the other user.
(1) successfully returns results for Administrator account.
(2) returns zero results ("Your search yielded no results") for authenticated regular user.
(3) returns zero results ("Your search yielded no results") for anonymous/un-authenticated visitor.
Use search selected the anonymous user and all users in admin user permissions area
Please Help me!!!![Search issue in drupal 7.50 version][1]
What content are you querying? If there are some results for Administrator account only, probably you have a permission issue. Please see here more information.
PROTIP: If you are using some user fields, there is a permission called "View user information" which is by default only ticked for Admin users.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
In my Website I have signup page where I have option to signup with facebook I'm storing the data from facebook(email, firstname lastname, pictureurl and facebook id) on my database but sometimes there are users that signed with facebook that have no email or its closed by facebook in that cases their session are not stopping so all my users can't logout they redirecting to this person page what to do in this case
How about making the email field nullable in your database?
That way it will just set it to Null if it doesn't exist.
Update
Changing slightly due to your comments.
Could it be that when it reads the data it is expecting it not to be null?
Do a quick check when reading it in so it becomes like this:
email = email ?? string.Empty;
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to get all login user list at welcome user page .show each user can see the login user list.For that I have created a session ["username"] in login page and after that i want to use that sesion in session start method of asax and i want to retrieve all the login users and store it into application scope and i also want to remove and insert users on login and logout page.so i am not getting a way how would i do that .because i am new to the concept called global asax file
thanks
One relatively simple way of doing this would be to maintain a list of "logged in" users in the Application object, together with the time they were last seen. Everytime you inspect the list, you remove any entries that are, say, twenty minutes old...
That's assuming you are running on a single webserver... If you are running on a web farm, I would have thought you would need to consider recording information as to who is logged in in some central source that is accessible to all instances - a database being the obvious choice...
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have an .aspx page with static content and now want to a simple subscription system. I want to do the following on my page
Add a Submit button and a TextBox which accepts Email address (validation enabled). On clicking Submit, a message is sent with a link to the email address to Confirm subscription.
Once the user clicks on the link, his/her email gets registered in the database.
That's it. I am from php background and have been reading the Membership system, but have no clues what to do.
Can anyone help? Thank you!
You need to use the profile system to database associated info with username/password. Then you will send the email with a salted version of the hash. On receipt, you will perform the compare and confirmation.