Thank you very much for the reply. Unfortunately I'm struggling to get basic auth working.
When I try basic auth via api, I get response:
```
_HTTP/1.1 401 Unauthorized [Date: Fri, 22 Jun 2018 13:50:55 GMT, Server: Jetty(9.4.9.v20180320), X-Xss-Protection: 1; mode=block, X-Content-Type-Options: nosniff, Strict-Transport-Security: max-age=31536000; includeSubDomains, WWW-Authenticate: Basic realm="oxAuth", Content-Type: application/json;charset=iso-8859-1, Content-Length: 586, Keep-Alive: timeout=5, max=100, Connection: Keep-Alive] ResponseEntityProxy{[Content-Type: application/json;charset=iso-8859-1,Content-Length: 586,Chunked: false]}_
```
While debugging oxAuth, I see that AuthenticationFilter.processBasicAuth() can't lookup user by the same username I successfully use to log into oxd web interface.
in oxAuth debugger I see the following lines are invoked:
```
Client client = clientService.getClient(username); //returns null
if (client == null || AuthenticationMethod.CLIENT_SECRET_BASIC != client.getAuthenticationMethod()) {throw new Exception("The Token Authentication Method is not valid.");}
```
[https://ibb.co/mnk2QT
](https://ibb.co/mnk2QT)
When I log into the oxd web console while debugging oxAuth, I see some generated username and password inside ```
AuthenticationFilter.processBasicAuth()
```. Username starts with @!
In this case authentication works.
[https://ibb.co/gnbns8
](https://ibb.co/gnbns8)
I tried using basic auth with Inum of the user instead the username, but it also didn't work.