Skip to content

Commit

Permalink
Updated README.md, added support for custom domain.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionutmanolache-okta committed Apr 5, 2023
1 parent 3f316d4 commit b2bda68
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 b2bda68

Please sign in to comment.