-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation or example frontend for passwordless authentication flow #32
Comments
thank you for the ticket, will add examples |
Thank you for the fast response! It would be really great to see some examples! I made some workaround and created static login and redirect-callback pages, but I was not able use passwordless token as token for admin panel for some reason. I receive a {
"data": null,
"error": {
"status": 401,
"name": "UnauthorizedError",
"message": "Missing or invalid credentials",
"details": {}
}
} I also tried to renew this token with {
"data": null,
"error": {
"status": 400,
"name": "ValidationError",
"message": "Invalid token",
"details": {}
}
} It looks like I'm missing something, It would be really great if you can help me with it. My Strapi and plugins versions:
I run Strapi in docker with |
@kucherenko, I figured out why Is it by design of this plugin or maybe I'm still missing something? It would be really great if you help me to understand it! |
@EugeneDraitsev yes, you are right, the plugin supports passwordless authentication for public users for sites powered by strapi, the admin panel of strapi has different ways to authenticate users |
Oh, thank you for the clarification! It was not clear from the documentation, but now it all makes sense. |
I have plans to add authentification with Time-based One-time Password Algorithm first, after that will think about the request |
Thank you for the sharing! |
@kucherenko Why is documentation for the passwordless plugin excluded in the |
Hi!
I have a question on the Frontend part of passwordless out.
The API works great, I get emails with the correct token and can use it to get the correct jwt-token!
However, I don't quite understand how to use it with Strapi (v4) as there is now no way to customize the default strapi login page and no way to display a custom button + input to request email with passwordless link.
I also don't really understand how to handle the redirect, as there is no documentation about custom pages in strapi where I can control the redirect logic.
Do you have any examples or frontend documentation for a passwordless authentication flow for strapi?
The text was updated successfully, but these errors were encountered: