-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
login after signup does not show the configured widget #11
Comments
Any pointers? |
Just confirm, are you able to see your logo in signup and login widget, but can't see it in the email verification widget? |
Yes... |
I think it's because the package is using the default option to handle Auth0 error. Details in
Could you please add logs right after your The workflow should be:
Could you please confirm whether my guess is correct and we can discuss solution/workaround for this? |
I guess you are absolutely right. In case of error, lock is displayed with default options. |
Can you try to call The long-term solution should be not |
Ok, We will try to put initlock in startUp. Could you please elaborate what race conditions you are referring. For the long term solution, I guess it will require changes in the package itself right?? Thanks for helping us!! |
The race condition is that the default Lock may handle the error before the Lock you init in Yes, the long-term solution requires some changes in the package and will break existing code for someone. But it's just my initial idea, I haven't think about it carefully. Thank you for reporting the bug and using the package! |
Hi, We have tried putting the lock init in Meteor.startUp(). It works but we are getting another issue 'STATE' DOES NOT MATCH thanks |
Could you explain more about 'STATE' DOES NOT MATCH? |
This is the error I see on the Auth0 Lock widget and we get this only when we put lock init in Meteor.startUp() |
This should be the race condition I mentioned. I'm trying to fix it. |
Thanks!! |
Related to auth0/lock#907 |
ok.. Will it take time to fix? |
I publish 8.0.0 https://atmospherejs.com/xcv58/auth0-lock with breaking change: import { Meteor } from 'meteor/meteor';
import { initLock } from 'meteor/xcv58:auth0-lock';
Meteor.startup(function () {
// This is required to handle login
const Lock = initLock();
Lock.show();
}) Could you have a try? |
Ok, So upgrading the package should solve this issue. Will upgrade and let you know.. |
Thanks. |
Hi, I tried upgrading the package. But after upgrade my server is not starting. Below is the error I am getting: TypeError: Path must be a string. Received undefined Any pointers? |
Delete |
Already tried this.. No success..
Thanks
Rakesh
…________________________________
From: Yihong <[email protected]>
Sent: Sunday, March 11, 2018 6:53:01 PM
To: xcv58/meteor-auth0
Cc: Rakesh Agrawal; Author
Subject: Re: [xcv58/meteor-auth0] login after signup does not show the configured widget (#11)
Delete .meteor/local and try again. The local DB will be deleted as well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#11 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AFV1oBNjjjhpIgtrO-_e_uHKEQXrZRMSks5tdSU0gaJpZM4ScB-p>.
DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
|
Removing 8.0.0 and installing 7.1.1 version works fine.. |
I can't reproduce the bug. I did try on different machines. Could you try to first remove the package, clean up everything not tracked by git under The change for 8.0.0 should not lead to this bug: d40c15e |
Sure, I will try..
Thanks
Rakesh
…________________________________
From: Yihong <[email protected]>
Sent: Sunday, March 11, 2018 9:35:50 PM
To: xcv58/meteor-auth0
Cc: Rakesh Agrawal; Author
Subject: Re: [xcv58/meteor-auth0] login after signup does not show the configured widget (#11)
I can't reproduce the bug. I did try on different machines.
Could you try to first remove the package, clean up everything not tracked by git under .meteor, then add the latest package again?
The change for 8.0.0 should not lead to this bug: d40c15e<d40c15e>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#11 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AFV1oPpJTJup1DPDpWJLbWKEXocu2Zg5ks5tdUtegaJpZM4ScB-p>.
DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
|
I tried everything, even on a fresh centos machine but it did not work. /home/centos/.meteor/packages/tap_i18n/.1.8.2.pg5k92.3iou++os+web.browser+web.cordova/plugin.tap-i18n-compiler.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:116 TypeError: Path must be a string. Received undefined |
Since I can't reproduce your bug. There is a workaround is you copy the entire fold https://github.com/xcv58/meteor-auth0/tree/master/examples/sample-app/packages You can try whether it reproduce the same bug. Could you also try the sample-app by run |
|
You can actually copy the So eventually your meteor has |
Thanks it worked.. |
Hi,
We are using the package and having below configuration:
this.signupWithAuth0 = function() {
auth0 = initLock({
closable: true,
autoclose: true,
loginAfterSignUp: true
});
auth0.show();
};
this.loginWithAuth0 = function() {
auth0 = initLock({
closable: true,
autoclose: true,
theme: {
logo: Meteor.settings.public.auth0Logo
}
});
auth0.show();
};
As per our configuration, application will try to login the user after signup.
We have also put a rule so that user can login only after email verification.
So as soon as user signs up, our application shows a lock widget to login and gives a message that email verification is pending (as per the Auth0 rule we created). In this widget we do not see our configuration like company logo etc. We see the default lock widget from Auth0.
Where can we configure this? Is this widget is different from the login widget? Ideally it should be same right??
Thanks in Advance.
The text was updated successfully, but these errors were encountered: