Authentication
Generates a Magic Link to be used to login.
DEPRECATED: This endpoint is not available when Keycloak authentication is turned on and will be removed in the future.
Generates magic link containing ?token=<signed JWT with user email contained> and sends it in an email to the user. This is the secure mode and MUST be used in production. This will not return a link to the client.
If User does not exist in Database, will throw 400 bad request. If user exists, will return 200 ok. These links can then be used to login from GET magic-link-login.
post/api/auth/magic-link-generate
Request
- Base URLhttps://passivelogic.com (the document declares no server; this is the origin it was published from)
- Auth
- API key in header X-PL-AUTH
- or API key in header Authorization: PL-API-KEY
- or API key in header PL-API-KEY
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.