Skip to content

Commit

Permalink
Merge pull request #108 from auth0/MFA-2044
Browse files Browse the repository at this point in the history
Updated README.md, added support for custom domain.
  • Loading branch information
ionutmanolache-okta authored Sep 26, 2023
2 parents 029159a + b705655 commit 654dd01
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,20 @@ implementation 'com.auth0.android:guardian:0.6.0'
tenant/url.

```java
Uri url = Uri.parse("https://<TENANT>.guardian.auth0.com/");
Uri url = Uri.parse("https://<AUTH0_TENANT_DOMAIN>/appliance-mfa");

Guardian guardian = new Guardian.Builder()
.url(url)
.build();
```

or
alternatively you can use the custom domain if you configured one

```java
String domain = "<TENANT>.guardian.auth0.com";
Uri url = Uri.parse("https://<CUSTOM_DOMAIN>/appliance-mfa");

Guardian guardian = new Guardian.Builder()
.domain(domain)
.url(url)
.build();
```

Expand Down

0 comments on commit 654dd01

Please sign in to comment.