# Unauthorized token callback failed to load .... server status 500

**URL:** <https://community.auth0.com/t/unauthorized-token-callback-failed-to-load-server-status-500/8284>\
**Category:** Get Help\
**Tags:** unauthorized, token, callback\
**Created:** [September 25, 2017, 1:58am UTC](https://community.auth0.com/t/unauthorized-token-callback-failed-to-load-server-status-500/8284 "2017-09-25T01:58:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ziedchekir1](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@ziedchekir1](https://community.auth0.com/u/ziedchekir1)\
**Post date:** [September 25, 2017, 1:58am UTC](https://community.auth0.com/t/unauthorized-token-callback-failed-to-load-server-status-500/8284/1 "2017-09-25T01:58:34Z")

</div>

i need to add an authentication systen in web app and i choosed auth0.  
i worked with it one year ago and everything was ok and i liked it. but there was a separation between backend code and front end code where i customize the lock widgets in html inside  
but now i found out that alot has changed and i couldnt figure out a way to make it work even with the code u provided in github it didnt work after i create account and i authenticate it returnes : =\> callback Failed to load resource: the server responded with a status of 500

here is the code (Ofc i changed my auth information) =\> [auth0-nodejs-webapp-sample/01-Login at master · auth0-samples/auth0-nodejs-webapp-sample · GitHub](https://github.com/auth0-samples/auth0-nodejs-webapp-sample/tree/master/01-Login)

after loging in i get an internal server error AND UNAUTHORIZED TOKEN … any help please ? and one other question .. how to customize the widgets now …

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/unauthorized-token-callback-failed-to-load-server-status-500/8284/2 "2018-03-02T05:56:39Z")

</div>


