# Callback from auth0 contains no parameters

**URL:** <https://community.auth0.com/t/callback-from-auth0-contains-no-parameters/7380>\
**Category:** Get Help\
**Tags:** auth0-configuration, query-parameters, callback, auth0\
**Created:** [July 4, 2017, 8:00pm UTC](https://community.auth0.com/t/callback-from-auth0-contains-no-parameters/7380 "2017-07-04T20:00:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbeshkov](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dbeshkov](https://community.auth0.com/u/dbeshkov)\
**Post date:** [July 4, 2017, 8:00pm UTC](https://community.auth0.com/t/callback-from-auth0-contains-no-parameters/7380/1 "2017-07-04T20:00:34Z")

</div>

Hi community!

I am trying to implement the callback as explained here: [Add Login Using the Authorization Code Flow - Auth0 Docs](https://auth0.com/docs/protocols/oauth2/oauth-web-protocol)

My problem:  
The request contains no query parameters, I cannot parse a “code” or “state”.  
I have done the first step exactly, I have verified the params that are passed into the lock.  
And this is how my endpoint code looks:  
“@GET  
@Path(“authentication/callback”)  
@Produces(MediaType.APPLICATION\_JSON)  
public Response authenticationCallback(@Context HttpServletRequest request,  
@DefaultValue(“sample code”) @QueryParam(“code”) String code,  
@DefaultValue(“sample state”) @QueryParam(“state”) String state) {…}”

I look through the request object, but see nothing remotely relevant.

Am I missing something?  
Thanks in advance!

---

<div class="post-metadata">

**Author:** ![dbeshkov](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dbeshkov](https://community.auth0.com/u/dbeshkov)\
**Post date:** [July 5, 2017, 5:59pm UTC](https://community.auth0.com/t/callback-from-auth0-contains-no-parameters/7380/2 "2017-07-05T17:59:18Z")

</div>

I was using a Single Page Application in my Client, and instead I needed a Web App

---

<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:55am UTC](https://community.auth0.com/t/callback-from-auth0-contains-no-parameters/7380/3 "2018-03-02T05:55:09Z")

</div>


