Closed AndrazPustotnik closed 4 months ago
The positioning of ewelink-api-next is a library file, and it should not do business work. For example, I used to store information after logging in, but it should be up to the user to decide how to store it.
But I can https://github.com/nocmt/eWeLinkOAuthLoginDemo Add this step to this project and consider adding an action to automatically close the window at the final actual destination address.
It would make the oauth process much cleaner and smoother if the redirectUrl would be opened dynamically "window.open()", because then it can be dynamically closed from my side after fetching the query data.