Auth0 Home Blog Docs

How to use lock.js and auth.js features together

lock
auth0

#1

I am creating an app using Auth0 with Asp.net. Previously I was using lock widget but then due to some limitations I preferred creating my own custom ui using Auth0.js Now everything is working fine but I want to add some features of lock.js like multilanguage support, show/hide social login buttons connection wise etc. In lock we can do this by passing ‘ConfigurationOptions’ param in Auth0Lock object. I have read that we can use both lock and auth.js together in this article: https://auth0.com/docs/libraries/lock/v11/auth0js
So is there anyway I can use lock features (language etc) with auth0.js
Thanks


#2

@jah this may be possible, but these two SDK’s are not really intended to be used together in this fashion and we’ve never tested this in that fashion. I am going to say this is not going to work and if you are able get it to work there won’t be any assurances future versions of lock or auth0.js will work in this regard.


#3

Thanks for your response.