Skip to content

Commit

Permalink
Merge pull request #110 from auth0/MFA-2044
Browse files Browse the repository at this point in the history
Updated README.md, added support for using custom domain.
  • Loading branch information
ionutmanolache-okta authored Sep 26, 2023
2 parents 10f716d + 4e10b05 commit 12a4929
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,14 @@ github "auth0/Guardian.swift" ~> 1.1.0
import Guardian
```

Then you'll need the Auth0 Guarduan domain for your account:
Set the auth0 domain for your tenant:
```swift
let domain = "<AUTH0_TENANT_DOMAIN>/appliance-mfa"
```

alternatively you can use the custom domain if you configured one:
```swift
let domain = "{YOUR_ACCOUNT_NAME}.guardian.auth0.com"
let domain = "<CUSTOM_DOMAIN>/appliance-mfa"
```

### Enroll
Expand Down

0 comments on commit 12a4929

Please sign in to comment.