Path Parameters
The provider used for authentication.
"emailpass"
Body
The input data necessary for authentication.
For example, for email-pass authentication, pass email
and password
properties.
For the Google and GitHub authentication providers, you can pass callback_url
to indicate the URL in the frontend that the user should be redirected to after completing their authentication. This will override the provider's callbackUrl
configurations in medusa-config.ts
.
Response
OK
The authentication's details.
The JWT token used for registration or authentication.