Skip to content

Commit c8a5766

Browse files
authored
Merge pull request #645 from membersuite-private/bugfix/passwordless-custom-audience
Fixing bug where custom audience was not being set in
2 parents b93fe58 + 603c55a commit c8a5766

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/src/main/java/com/auth0/android/lock/PasswordlessLockActivity.java

+3
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,9 @@ public void onPasswordlessAuthenticationRequest(@NonNull PasswordlessLoginEvent
404404
if (options.getScope() != null) {
405405
request.setScope(options.getScope());
406406
}
407+
if (options.getAudience() != null) {
408+
request.setAudience(options.getAudience());
409+
}
407410
request.start(authCallback);
408411
return;
409412
}

0 commit comments

Comments
 (0)