14:26 PM
rolodato
did that work for you?
14:26 PM
gonto
I did that while I saw the conversation :wink:
14:26 PM
Just in time documenting
14:27 PM
adam8810
lol!
14:27 PM
rolodato
hahah
14:27 PM
gonto to the rescue
14:27 PM
adam8810
Boom! Yeah that worked
14:27 PM
man
14:28 PM
yenkel has quit
14:28 PM
Thanks for all your help guys.
14:29 PM
gonto
adam, let us know if you see something else undocumented
14:29 PM
:simple_smile:
14:29 PM
rolodato
no problem adam8810, you’re welcome :)
14:29 PM
gonto
14:29 PM
Thanks!
14:29 PM
adam8810
Alright! Auth0 continues to exceed my expectations for support
14:30 PM
It makes a big difference as a customer
14:30 PM
later!
14:30 PM
rolodato
really happy to read that, thanks :D
14:30 PM
gonto
Later!
14:30 PM
adam8810 has quit
14:33 PM
yenkel joined the channel
14:34 PM
ozooner has quit
14:34 PM
ozooner_ joined the channel
14:34 PM
rob_curtis has quit
14:35 PM
yenkel has quit
14:45 PM
yenkel joined the channel
14:51 PM
yenkel has quit
14:56 PM
yenkel joined the channel
16:22 PM
yenkel has quit
16:22 PM
yenkel joined the channel
16:23 PM
yenkel has quit
16:27 PM
SalimH joined the channel
16:29 PM
SalimH
Hi guys, one of our customers is having trouble with both Sign Up and Log In, and it's unclear from auth0 dashboard if they are a registered user or not.
16:29 PM
* Sign Up: Auth0 widget error says "The user already exists."
16:29 PM
* Auth0 dashboard: indicates there is no such user.
16:29 PM
* Password reset: According to logs in Auth0 dashboard, the user attempted a password reset but "User does not exist."
16:29 PM
16:34 PM
dmack has quit
16:36 PM
yenkel joined the channel
16:37 PM
mhilmi has quit
16:42 PM
yenkel has quit
16:42 PM
yenkel joined the channel
16:43 PM
yenkel has quit
16:44 PM
woloski has quit
17:10 PM
yenkel joined the channel
17:18 PM
woloski joined the channel
17:18 PM
FrankH_ joined the channel
17:18 PM
FrankH_
hello there
17:20 PM
been trying to test login with protractor, it looks like auth0-lock widget loads after protractor looks for element any suggestions to fix this?
17:21 PM
woloski
hi FrankH_
17:21 PM
did you check this
17:21 PM
17:21 PM
17:22 PM
SalimH I will check it
17:23 PM
SalimH I don't see the user anywhere
17:23 PM
is he still getting an error?
17:23 PM
FrankH_
i did not but this looks promising!
17:23 PM
woloski
cool
17:23 PM
FrankH_
thanks a bunch
17:24 PM
woloski
np
17:24 PM
FrankH_
been avoiding e2e since I couldn't get it to work, yes shame on me
17:27 PM
SalimH
woloski -- yes, we tested and the user still gets those errors.
17:33 PM
woloski
can you write the email again?
17:35 PM
cristiandouce has quit
17:53 PM
mhilmi joined the channel
17:59 PM
SalimH
18:01 PM
dmack joined the channel
18:02 PM
yenkel has quit
18:03 PM
yenkel joined the channel
18:10 PM
dave joined the channel
18:10 PM
dave
hey gonto :)
18:10 PM
gonto
Hey dave
18:10 PM
Chat is always faster :simple_smile:
18:10 PM
dave is now known as Guest26232
18:11 PM
So what version are you using
18:11 PM
of auth0-angular?
18:11 PM
I'm trying with the latest
18:11 PM
Guest26232
ok, so
18:11 PM
in my bower.json, I just have
18:11 PM
"auth0-angular": "~3.0.0",
18:12 PM
cristiandouce joined the channel
18:12 PM
Guest26232 is now known as dmackerman
18:12 PM
gonto
Cool
18:12 PM
it should work then
18:12 PM
dmackerman
one sec.
18:12 PM
gonto
Sure
18:12 PM
dmackerman
Unable to find a suitable version for auth0.js, please choose one:
18:12 PM
1) auth0.js#~4.2 which resolved to 4.2.11 and is required by auth0-angular#2.2.11
18:12 PM
2) auth0.js#~4.3 which resolved to 4.3.0 and is required by auth0-angular#3.0.5
18:13 PM
guessing 2.
18:14 PM
gonto
Yep
18:14 PM
wait
18:14 PM
I see that it's asking for auth0-angular 2.2
18:14 PM
as well
18:14 PM
which is weird
18:14 PM
dmackerman
so looks like some API's changed a bit.
18:15 PM
gonto
From 2.x to 3.x
18:15 PM
it was a big change :smile:
18:15 PM
Are you updating now?
18:15 PM
dmackerman
yeah
18:16 PM
gonto
Mostly now the SDK is less magical
18:16 PM
dmackerman
Unknown provider: authInterceptorProvider <- authInterceptor <- $http <- $templateFactory <- $view <- $state
18:16 PM
gonto
yeah
18:16 PM
authInterceptor
18:16 PM
doesn't exist anymore
18:16 PM
18:16 PM
it's part of angular-jwt that
18:16 PM
dmackerman
ok.
18:16 PM
gonto
18:16 PM
dmackerman
so I need to include that as well?
18:16 PM
gonto
You need to include angular-jwt and angular-storage
18:16 PM
or any equivalents
18:16 PM
to do that
18:17 PM
I'd recommend following the tutorial
18:17 PM
dmack
ok
18:17 PM
thank you
18:17 PM
(switched clients)
18:17 PM
:)
18:17 PM
gonto
hahahaha
18:17 PM
But the basic changes are the following
18:17 PM
1) authInterceptor doesn't exist ==> now you use jwtInterceptor
18:17 PM
dmack
JWT works with angular 1.3?
18:17 PM
gonto
Yes
18:18 PM
18:18 PM
18:18 PM
those are the 3 main breaking changes
18:19 PM
dmack
got it
18:19 PM
angular-storage is also recommended I see
18:20 PM
gonto
Yeah, I mean we use that
18:20 PM
because we built it
18:20 PM
but you can use any storage
18:20 PM
you want
18:20 PM
the main feature we use is the ability to save objects
18:21 PM
dmack
oh, neat
18:21 PM
sounds nice.
18:24 PM
think you have a typo in the tutorial
18:24 PM
/ app.js
18:24 PM
myApp.config(function (authProvider, $routeProvider, $httpProvider, jwtInterceptorProvider) {
18:24 PM
// ...
18:24 PM
jwtInterceptorProvider.tokenGetter = function(auth) {
18:24 PM
// Return the saved token
18:24 PM
return store.get('token');
18:24 PM
}
18:24 PM
$httpProvider.interceptors.push('jwtInterceptor');
18:24 PM
// ...
18:24 PM
});
18:24 PM
bah
18:24 PM
sorry
18:24 PM
you never inject 'store'