Authentication by email magic link

Authentication via Email Magic Link.

post

Authenticate users securely without passwords by sending a one-time magic link to their email. Users click the link to verify and receive an auth-key for logging in.

Header parameters
Brand-URLstringRequired

The brand URL of the request. This is used to identify the brand.

Example: YOUR_BRAND_URL
Body

This is the model class for UserAuthenticationByEmail.

emailAddressstring · min: 1Required

This represents the email address of the user.

callbackURLstring · uri · min: 1Required

This represents the callback url.

returnURLstring · uri | nullableOptional

This represents the return url.

Responses
200

The request was successful.

application/json
post
POST /api/v1/users/auth/email/magic-link HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Content-Type: application/json
Accept: */*
Content-Length: 93

{
  "emailAddress": "text",
  "callbackURL": "https://example.com",
  "returnURL": "https://example.com"
}
{
  "success": true,
  "statusCode": 200,
  "message": "The request was successful.",
  "data": true,
  "errors": []
}

Last updated

Was this helpful?