For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.
Send an invite link to the user's email address.
userMetadata is stored in the user's user_metadata.redirectTo, the server uses the site URL.let user = try await admin.inviteUser(
email: "user@email.com",
userMetadata: ["role": "admin"],
redirectTo: URL(string: "https://example.com/welcome")
)