# Authentication with auth0

**URL:** <https://community.apollographql.com/t/authentication-with-auth0/6780>\
**Category:** Server\
**Tags:** server, federation\
**Created:** [September 29, 2023, 9:14am UTC](https://community.apollographql.com/t/authentication-with-auth0/6780 "2023-09-29T09:14:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xibaozhi0](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/xibaozhi0/32/4318_2.png) [@xibaozhi0](https://community.apollographql.com/u/xibaozhi0)\
**Post date:** [September 29, 2023, 9:14am UTC](https://community.apollographql.com/t/authentication-with-auth0/6780/1 "2023-09-29T09:14:50Z")

</div>

hello, Professor Mandi Wise wrote a book \<\<Build a Distributed GraphQL API with  
Apollo Federation 2 and Apollo Server\>\>, I try to update the code of the chapter account, but I got the error message:"  
return new \_GraphQLError.GraphQLError(`Syntax Error: ${description}`, {  
^  
GraphQLError: Syntax Error: Expected Name, found “(”.  
at syntaxError (C:\Users\takayama\Desktop\auth3\accounts\node\_modules\graphql\error\syntaxError.js:15:10)  
at Parser.expectToken …  
"  
I am not able to continue to update it, if anybody can resolve the mistake of coding for the updating, please help me, thank you very much. the code is the following:  
[https://github.com/freedom909/login-with-auth0](https://github.com/freedom909/login-with-auth0)

---

<div class="post-metadata">

**Author:** ![Justin\_Gonzalez](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/justin_gonzalez/32/5359_2.png) [@Justin\_Gonzalez](https://community.apollographql.com/u/Justin_Gonzalez)\
**Post date:** [February 6, 2025, 8:48pm UTC](https://community.apollographql.com/t/authentication-with-auth0/6780/2 "2025-02-06T20:48:20Z")

</div>


