Custom UI more in depth.

I’d like to create a custom login page with username and password authentication as well as social login buttons. Is there any in depth explanation of how to use and implement the Custom UI in this way?

For a Custom UI, you would use the Auth0.js library, outlined in the documentation. You can view some sample code of implementing this in those docs, as well as under the Custom UI tab in the Lock documentation.

I have authenticated user on client side (through webAuth.client.login). Next i redirect to another page. There i want to check if user is authenticated (on server side through php \Auth0\SDK\Auth0 getAccessToken method) but is not. What is right way to check if user is authenticated? Or how can I authenticated user through custom UI when i could use getAccessToken method?