I am trying to obtain an auth token with Auth0 java client.
In Auth0, I have a non interactive client. JsonWebToken Signature Algorithm is set to HS256 in the client. I use following code to obtain the token.
AuthAPI auth = new AuthAPI("my.domain", "my_client_id", "my_client_secret");
AuthRequest request = auth.login("username", "password").setAudience("my_audience");
TokenHolder holder = request.execute();
But, the token I receive is signed with RS256 instead of HS256.
What could be the problem here?