I try to set the name of the device what user connect to auth0. And I have no idea how to send the name of the device to auth0. In JS is it like this:
auth0
.webAuth
.authorize({
audience: 'myawesome.middleware.api',
scope: 'openid offline_access email profile',
device: "DEVICE_NAME",
// ....
and i need set device name on ANDROID.
my android code:
Auth0 account = new Auth0(AUTH0_CLIENT, AUTH0_DOMAIN);
account.setOIDCConformant(true);
Lock lock = Lock.newBuilder(account,
mAuthZeroCallback)
.closable(true)
.allowSignUp(false)
.allowForgotPassword(false)
.withScope("offline_access device")
.build(mReactContext);
Log.e("LSA", "OPTIONS: " + lock.getOptions());
context.startActivity(lock.newIntent(context));
Can somebody help me?