Closed proffapt closed 1 month ago
How will this be implemented? Since the login flow cannot be completed in a single request due to the question, there needs to be tight integration between the client and the server. A redirect can be built for the oneliner but that takes away the customization for the developer. Am I missing something?
A redirect can be built for the oneliner
What exactly?
The API endpoint redirects the user to a page that lives in the library, which completes the login and then directs the user back to the main application
hmm, no, that will really take away freedom from the developer
Yeah, so how are we supposed to make it work then?
That's the question XD.. It has a question tag..
Temporarily closing this issue.
I would like to work on it
Idea
A default workflow of login in case of webapps integrated into the currently existing
login()
function. Currently the workflow for webapps is broken into various steps through functions, basically like below:What I want is a one liner to implement all of this from developer's perspective. Break the workflow in 3-4 endpoints (as to-and-fro data passing is required). Implement those endpoints with proper error handling so that whichever frontend implements them can have proper logs.
Version
If done it will be
v2.4.0
.