Hi guys, I have exactly the same issue, but this time with 3.1.5 gluu version.
This is the route that I'm requesting:
```
https://gluu/oxauth/restv1/token?grant_type=authorization_code&code=e7d82ecb-260e-4d07-8603-9af28c895058&redirect_uri=https%3A%2F%2Fgluu.org
```
I'm including also the Authorization header with my client_id and client_secret separated by ":".
This is my oxauth.log
```
2019-01-24 22:30:31,235 TRACE [qtp804611486-15] [org.xdi.oxauth.auth.AuthenticationFilter] (AuthenticationFilter.java:91) - Get request to: 'https://gluu.gluu/oxauth/restv1/token'
2019-01-24 22:30:31,235 DEBUG [qtp804611486-15] [org.xdi.oxauth.auth.AuthenticationFilter] (AuthenticationFilter.java:98) - Starting token endpoint authentication
2019-01-24 22:30:31,235 DEBUG [qtp804611486-15] [org.xdi.oxauth.auth.AuthenticationFilter] (AuthenticationFilter.java:111) - Starting Basic Auth token endpoint authentication
2019-01-24 22:30:31,239 DEBUG [qtp804611486-15] [org.xdi.oxauth.service.ClientService] (ClientService.java:141) - Found 1 entries for client id = @!ABAB.BBCE.829C.6D10!0001!97B6.D53A!0008!4AB2.1A47.E6CA.9C30
2019-01-24 22:30:31,239 TRACE [qtp804611486-15] [org.xdi.oxauth.auth.Authenticator] (Authenticator.java:181) - Authenticating ... (interactive: false, skipPassword: false, credentials.username: @!ABAB.BBCE.829C.6D10!0001!97B6.D53A!0008!4AB2.1A47.E6CA.9C30)
2019-01-24 22:30:31,240 DEBUG [qtp804611486-15] [org.xdi.oxauth.service.ClientService] (ClientService.java:101) - Authenticating Client with LDAP: clientId = @!ABAB.BBCE.829C.6D10!0001!97B6.D53A!0008!4AB2.1A47.E6CA.9C30
2019-01-24 22:30:31,240 TRACE [qtp804611486-15] [org.xdi.oxauth.service.ClientService] (ClientService.java:199) - Get client from cache by Dn 'inum=@!ABAB.BBCE.829C.6D10!0001!97B6.D53A!0008!4AB2.1A47.E6CA.9C30,ou=clients,o=@!ABAB.BBCE.829C.6D10!0001!97B6.D53A,o=gluu'
2019-01-24 22:30:31,240 DEBUG [qtp804611486-15] [org.xdi.oxauth.service.ClientService] (ClientService.java:141) - Found 1 entries for client id = @!ABAB.BBCE.829C.6D10!0001!97B6.D53A!0008!4AB2.1A47.E6CA.9C30
2019-01-24 22:30:31,240 DEBUG [qtp804611486-15] [org.xdi.oxauth.service.AuthenticationService] (AuthenticationService.java:515) - ConfigureSessionClient: username: '@!ABAB.BBCE.829C.6D10!0001!97B6.D53A!0008!4AB2.1A47.E6CA.9C30', credentials: '96384138'
2019-01-24 22:30:31,240 TRACE [qtp804611486-15] [org.xdi.oxauth.service.ClientService] (ClientService.java:199) - Get client from cache by Dn 'inum=@!ABAB.BBCE.829C.6D10!0001!97B6.D53A!0008!4AB2.1A47.E6CA.9C30,ou=clients,o=@!ABAB.BBCE.829C.6D10!0001!97B6.D53A,o=gluu'
2019-01-24 22:30:31,240 DEBUG [qtp804611486-15] [org.xdi.oxauth.service.ClientService] (ClientService.java:141) - Found 1 entries for client id = @!ABAB.BBCE.829C.6D10!0001!97B6.D53A!0008!4AB2.1A47.E6CA.9C30
2019-01-24 22:30:31,247 INFO [qtp804611486-15] [org.xdi.oxauth.auth.Authenticator] (Authenticator.java:262) - Authentication success for Client: '@!ABAB.BBCE.829C.6D10!0001!97B6.D53A!0008!4AB2.1A47.E6CA.9C30'
2019-01-24 22:30:31,247 TRACE [qtp804611486-15] [org.xdi.oxauth.auth.Authenticator] (Authenticator.java:205) - Authentication successfully for '@!ABAB.BBCE.829C.6D10!0001!97B6.D53A!0008!4AB2.1A47.E6CA.9C30'
2019-01-24 22:30:31,250 DEBUG [qtp804611486-15] [org.xdi.oxauth.service.ClientService] (ClientService.java:141) - Found 1 entries for client id = @!ABAB.BBCE.829C.6D10!0001!97B6.D53A!0008!4AB2.1A47.E6CA.9C30
2019-01-24 22:30:31,252 DEBUG [qtp804611486-15] [xdi.oxauth.token.ws.rs.TokenRestWebServiceImpl] (TokenRestWebServiceImpl.java:107) - Attempting to request access token: grantType = null, code = null, redirectUri = null, username = null, refreshToken = null, clientId = null, ExtraParams = {grant_type=[authorization_code], code=[e7d82ecb-260e-4d07-8603-9af28c895058], redirect_uri=[https://gluu]}, isSecure = true, codeVerifier = null, ticket = null
2019-01-24 22:30:31,252 DEBUG [qtp804611486-15] [xdi.oxauth.token.ws.rs.TokenRestWebServiceImpl] (TokenRestWebServiceImpl.java:129) - Starting to validate request parameters
2019-01-24 22:30:31,252 TRACE [qtp804611486-15] [xdi.oxauth.token.ws.rs.TokenRestWebServiceImpl] (TokenRestWebServiceImpl.java:132) - Failed to validate request parameters
2019-01-24 22:30:31,252 DEBUG [qtp804611486-15] [org.xdi.oxauth.model.error.ErrorResponseFactory] (ErrorResponseFactory.java:70) - Looking for the error with id: invalid_request
2019-01-24 22:30:31,253 DEBUG [qtp804611486-15] [org.xdi.oxauth.model.error.ErrorResponseFactory] (ErrorResponseFactory.java:75) - Found error, id: invalid_request
2019-01-24 22:30:32,652 DEBUG [oxAuthScheduler_Worker-5] [org.xdi.service.timer.RequestJobListener] (RequestJobListener.java:52) - Bound request started
2019-01-24 22:30:32,652 DEBUG [oxAuthScheduler_Worker-5] [org.xdi.service.timer.TimerJob] (TimerJob.java:34) - Fire timer event [org.xdi.service.cdi.event.LoggerUpdateEvent] with qualifiers [@org.xdi.service.cdi.event.Scheduled()]
2019-01-24 22:30:32,652 DEBUG [oxAuthScheduler_Worker-5] [org.xdi.service.timer.RequestJobListener] (RequestJobListener.java:62) - Bound request ended
2019-01-24 22:30:47,645 DEBUG [oxAuthScheduler_Worker-1] [org.xdi.service.timer.RequestJobListener] (RequestJobListener.java:52) - Bound request started
2019-01-24 22:30:47,645 DEBUG [oxAuthScheduler_Worker-1] [org.xdi.service.timer.TimerJob] (TimerJob.java:34) - Fire timer event [org.xdi.service.cdi.event.ConfigurationEvent] with qualifiers [@org.xdi.service.cdi.event.Scheduled()]
2019-01-24 22:30:47,646 DEBUG [oxAuthScheduler_Worker-1] [org.xdi.service.timer.RequestJobListener] (RequestJobListener.java:62) - Bound request ended
2019-01-24 22:30:47,651 DEBUG [oxAuthScheduler_Worker-2] [org.xdi.service.timer.RequestJobListener] (RequestJobListener.java:52) - Bound request started
2019-01-24 22:30:47,651 DEBUG [oxAuthScheduler_Worker-2] [org.xdi.service.timer.TimerJob] (TimerJob.java:34) - Fire timer event [org.xdi.service.cdi.event.LoggerUpdateEvent] with qualifiers [@org.xdi.service.cdi.event.Scheduled()]
2019-01-24 22:30:47,652 DEBUG [oxAuthScheduler_Worker-2] [org.xdi.service.timer.RequestJobListener] (RequestJobListener.java:62) - Bound request ended
2019-01-24 22:30:47,661 DEBUG [oxAuthScheduler_Worker-3] [org.xdi.service.timer.RequestJobListener] (RequestJobListener.java:52) - Bound request started
2019-01-24 22:30:47,662 DEBUG [oxAuthScheduler_Worker-3] [org.xdi.service.timer.TimerJob] (TimerJob.java:34) - Fire timer event [org.xdi.service.cdi.event.LdapStatusEvent] with qualifiers [@org.xdi.service.cdi.event.Scheduled()]
2019-01-24 22:30:47,662 DEBUG [oxAuthScheduler_Worker-3] [org.xdi.service.timer.RequestJobListener] (RequestJobListener.java:62) - Bound request ended
2019-01-24 22:30:47,727 DEBUG [oxAuthScheduler_Worker-4] [org.xdi.service.timer.RequestJobListener] (RequestJobListener.java:52) - Bound request started
2019-01-24 22:30:47,727 DEBUG [oxAuthScheduler_Worker-4] [org.xdi.service.timer.TimerJob] (TimerJob.java:34) - Fire timer event [org.xdi.oxauth.service.cdi.event.AuthConfigurationEvent] with qualifiers [@org.xdi.service.cdi.event.Scheduled()]
2019-01-24 22:30:47,727 DEBUG [oxAuthScheduler_Worker-4] [org.xdi.service.timer.RequestJobListener] (RequestJobListener.java:62) - Bound request ended
2019-01-24 22:30:47,727 TRACE [ForkJoinPool.commonPool-worker-3] [org.xdi.oxauth.service.AppInitializer] (AppInitializer.java:282) - Attempting to use ldapEntryManager: org.gluu.site.ldap.OperationsFacade@bd10696
2019-01-24 22:30:48,856 DEBUG [oxAuthScheduler_Worker-5] [org.xdi.service.timer.RequestJobListener] (RequestJobListener.java:52) - Bound request started
2019-01-24 22:30:48,856 DEBUG [oxAuthScheduler_Worker-5] [org.xdi.service.timer.TimerJob] (TimerJob.java:34) - Fire timer event [org.xdi.service.cdi.event.UpdateScriptEvent] with qualifiers [@org.xdi.service.cdi.event.Scheduled()]
2019-01-24 22:30:48,880 DEBUG [oxAuthScheduler_Worker-5] [org.xdi.service.timer.RequestJobListener] (RequestJobListener.java:62) - Bound request ended
```
Can somebody help me?
Thank you!