Firebase authentication: click custom action link not verify emailIs there a way to know that a user clicked on the verification link?Firebase confirmation email not being sentuser.emailVerified doesn't change after clicking email verification link firebaseFirebase handle Email verificationFirebase handle reset password emails for not verified usersIonic 3 firebase doesn't show that email is verifiedDeepLinks URL with firebase email verification. In firebase ConsoleFirebase Email Verification with Deep Linking (Android)Set isEmailVerified of already verified firebase Users to falseFirebase email verification always return false user not verified. iOSFirebase email/password auth + verification weirdness

Why are there few or no black super GMs?

Why doesn't Venus have a magnetic field? How does the speed of rotation affect the magnetic field of a planet?

ReplaceAll does not work

How would you say "Sorry, that was a mistake on my part"?

Demographic consequences of closed loop reincarnation

What could make large expeditions ineffective for exploring territory full of dangers and valuable resources?

How do you send money when you're not sure it's not a scam?

Why can't I hear fret buzz through the amp?

In this iconic lunar orbit rendezvous photo of John Houbolt, why do arrows #5 and #6 point the "wrong" way?

Can error correction and detection be done without adding extra bits?

Detecting existence of a class member

Does 5e follow the Primary Source rule?

3D? No-no! 3 Sides

We get more abuse than anyone else

Using supertabular, how do I create a single column table in a 2 column document?

Zhora asks Deckard: "Are you for real?" Was this meant to be significant?

Why teach C using scanf without talking about command line arguments?

I have found a mistake on someone's code published online: what is the protocol?

Improving an O(N^2) function (all entities iterating over all other entities)

Which GPUs to get for Mathematical Optimization (if any)?

"This used to be my phone number"

Why are flying carpets banned while flying brooms are not?

Three Subway Escalators

How to interpret a promising preprint that was never published in peer-review?



Firebase authentication: click custom action link not verify email


Is there a way to know that a user clicked on the verification link?Firebase confirmation email not being sentuser.emailVerified doesn't change after clicking email verification link firebaseFirebase handle Email verificationFirebase handle reset password emails for not verified usersIonic 3 firebase doesn't show that email is verifiedDeepLinks URL with firebase email verification. In firebase ConsoleFirebase Email Verification with Deep Linking (Android)Set isEmailVerified of already verified firebase Users to falseFirebase email verification always return false user not verified. iOSFirebase email/password auth + verification weirdness






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I've been using Authenticate for Web service. I sent the email verification link to the signup email with a custom action link. I'd like to redirect the user to home page when he clicks the link. Even when the link is clicked, emailVerified still got false.



auth.onAuthStateChanged(user => 
if (user)
console.log("verified", user.emailVerified); //false

auth.currentUser.reload().then(() =>
console.log("after reload", auth.currentUser.emailVerified); // false
);

else
console.log("no user signed in");

);


Though it's not a problem with the default link Firebase provides.










share|improve this question
























  • The click on the email verification link happens in the user's inbox, so it is not visible to your app. If you want the user's profile in your app to be updated, you will have to force a refresh. See stackoverflow.com/questions/46938037/…

    – Frank van Puffelen
    Mar 26 at 13:40











  • Hello, it's not about refreshing. I know that kind of problem which we can fix by many ways such as using an observer like onAuthStateChanged or doing reload like you suggested. For this, it never updated emailVerified with the custom link. To be clear, default link still works.

    – quizzilie
    Mar 26 at 15:58











  • If it's not a duplicate I can reopen. But at this point I'm having a hard time understanding what the problem is. Are you saying that your user profile still shows the user as unverified even after you force a reload? If so, can you show the code for how you test that?

    – Frank van Puffelen
    Mar 26 at 16:48











  • I edited so you can see the code from my question. I am sure that the email is not verified when the user clicked the link. Somehow it's like firebase won't do two works in the same line. Either by using the default action link, email is verified, or a custom link will only lead the user to that link not verifying the email.

    – quizzilie
    Mar 27 at 11:17

















0















I've been using Authenticate for Web service. I sent the email verification link to the signup email with a custom action link. I'd like to redirect the user to home page when he clicks the link. Even when the link is clicked, emailVerified still got false.



auth.onAuthStateChanged(user => 
if (user)
console.log("verified", user.emailVerified); //false

auth.currentUser.reload().then(() =>
console.log("after reload", auth.currentUser.emailVerified); // false
);

else
console.log("no user signed in");

);


Though it's not a problem with the default link Firebase provides.










share|improve this question
























  • The click on the email verification link happens in the user's inbox, so it is not visible to your app. If you want the user's profile in your app to be updated, you will have to force a refresh. See stackoverflow.com/questions/46938037/…

    – Frank van Puffelen
    Mar 26 at 13:40











  • Hello, it's not about refreshing. I know that kind of problem which we can fix by many ways such as using an observer like onAuthStateChanged or doing reload like you suggested. For this, it never updated emailVerified with the custom link. To be clear, default link still works.

    – quizzilie
    Mar 26 at 15:58











  • If it's not a duplicate I can reopen. But at this point I'm having a hard time understanding what the problem is. Are you saying that your user profile still shows the user as unverified even after you force a reload? If so, can you show the code for how you test that?

    – Frank van Puffelen
    Mar 26 at 16:48











  • I edited so you can see the code from my question. I am sure that the email is not verified when the user clicked the link. Somehow it's like firebase won't do two works in the same line. Either by using the default action link, email is verified, or a custom link will only lead the user to that link not verifying the email.

    – quizzilie
    Mar 27 at 11:17













0












0








0








I've been using Authenticate for Web service. I sent the email verification link to the signup email with a custom action link. I'd like to redirect the user to home page when he clicks the link. Even when the link is clicked, emailVerified still got false.



auth.onAuthStateChanged(user => 
if (user)
console.log("verified", user.emailVerified); //false

auth.currentUser.reload().then(() =>
console.log("after reload", auth.currentUser.emailVerified); // false
);

else
console.log("no user signed in");

);


Though it's not a problem with the default link Firebase provides.










share|improve this question
















I've been using Authenticate for Web service. I sent the email verification link to the signup email with a custom action link. I'd like to redirect the user to home page when he clicks the link. Even when the link is clicked, emailVerified still got false.



auth.onAuthStateChanged(user => 
if (user)
console.log("verified", user.emailVerified); //false

auth.currentUser.reload().then(() =>
console.log("after reload", auth.currentUser.emailVerified); // false
);

else
console.log("no user signed in");

);


Though it's not a problem with the default link Firebase provides.







firebase firebase-authentication email-verification






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 27 at 11:13







quizzilie

















asked Mar 26 at 10:19









quizziliequizzilie

12 bronze badges




12 bronze badges












  • The click on the email verification link happens in the user's inbox, so it is not visible to your app. If you want the user's profile in your app to be updated, you will have to force a refresh. See stackoverflow.com/questions/46938037/…

    – Frank van Puffelen
    Mar 26 at 13:40











  • Hello, it's not about refreshing. I know that kind of problem which we can fix by many ways such as using an observer like onAuthStateChanged or doing reload like you suggested. For this, it never updated emailVerified with the custom link. To be clear, default link still works.

    – quizzilie
    Mar 26 at 15:58











  • If it's not a duplicate I can reopen. But at this point I'm having a hard time understanding what the problem is. Are you saying that your user profile still shows the user as unverified even after you force a reload? If so, can you show the code for how you test that?

    – Frank van Puffelen
    Mar 26 at 16:48











  • I edited so you can see the code from my question. I am sure that the email is not verified when the user clicked the link. Somehow it's like firebase won't do two works in the same line. Either by using the default action link, email is verified, or a custom link will only lead the user to that link not verifying the email.

    – quizzilie
    Mar 27 at 11:17

















  • The click on the email verification link happens in the user's inbox, so it is not visible to your app. If you want the user's profile in your app to be updated, you will have to force a refresh. See stackoverflow.com/questions/46938037/…

    – Frank van Puffelen
    Mar 26 at 13:40











  • Hello, it's not about refreshing. I know that kind of problem which we can fix by many ways such as using an observer like onAuthStateChanged or doing reload like you suggested. For this, it never updated emailVerified with the custom link. To be clear, default link still works.

    – quizzilie
    Mar 26 at 15:58











  • If it's not a duplicate I can reopen. But at this point I'm having a hard time understanding what the problem is. Are you saying that your user profile still shows the user as unverified even after you force a reload? If so, can you show the code for how you test that?

    – Frank van Puffelen
    Mar 26 at 16:48











  • I edited so you can see the code from my question. I am sure that the email is not verified when the user clicked the link. Somehow it's like firebase won't do two works in the same line. Either by using the default action link, email is verified, or a custom link will only lead the user to that link not verifying the email.

    – quizzilie
    Mar 27 at 11:17
















The click on the email verification link happens in the user's inbox, so it is not visible to your app. If you want the user's profile in your app to be updated, you will have to force a refresh. See stackoverflow.com/questions/46938037/…

– Frank van Puffelen
Mar 26 at 13:40





The click on the email verification link happens in the user's inbox, so it is not visible to your app. If you want the user's profile in your app to be updated, you will have to force a refresh. See stackoverflow.com/questions/46938037/…

– Frank van Puffelen
Mar 26 at 13:40













Hello, it's not about refreshing. I know that kind of problem which we can fix by many ways such as using an observer like onAuthStateChanged or doing reload like you suggested. For this, it never updated emailVerified with the custom link. To be clear, default link still works.

– quizzilie
Mar 26 at 15:58





Hello, it's not about refreshing. I know that kind of problem which we can fix by many ways such as using an observer like onAuthStateChanged or doing reload like you suggested. For this, it never updated emailVerified with the custom link. To be clear, default link still works.

– quizzilie
Mar 26 at 15:58













If it's not a duplicate I can reopen. But at this point I'm having a hard time understanding what the problem is. Are you saying that your user profile still shows the user as unverified even after you force a reload? If so, can you show the code for how you test that?

– Frank van Puffelen
Mar 26 at 16:48





If it's not a duplicate I can reopen. But at this point I'm having a hard time understanding what the problem is. Are you saying that your user profile still shows the user as unverified even after you force a reload? If so, can you show the code for how you test that?

– Frank van Puffelen
Mar 26 at 16:48













I edited so you can see the code from my question. I am sure that the email is not verified when the user clicked the link. Somehow it's like firebase won't do two works in the same line. Either by using the default action link, email is verified, or a custom link will only lead the user to that link not verifying the email.

– quizzilie
Mar 27 at 11:17





I edited so you can see the code from my question. I am sure that the email is not verified when the user clicked the link. Somehow it's like firebase won't do two works in the same line. Either by using the default action link, email is verified, or a custom link will only lead the user to that link not verifying the email.

– quizzilie
Mar 27 at 11:17












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55354677%2ffirebase-authentication-click-custom-action-link-not-verify-email%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55354677%2ffirebase-authentication-click-custom-action-link-not-verify-email%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해