Closed carma12 closed 2 months ago
Nice, works well. I'd like to see server.ipa.demo goto the modern UI login page instead of the old one, but I guess that can come later :-)
Nice, works well. I'd like to see server.ipa.demo goto the modern UI login page instead of the old one, but I guess that can come later :-)
I'm not sure what you mean exactly. It is possible to perform the login from the modern WebUI via https://server.ipa.demo/ipa/modern_ui/login
For the current WebUI, it is expected to use the old login page (from now) :)
The most basic authentication method is via username + password.
In order to do that, two API endpoints need to be defined:
/ipa/session/login_password
URLsession_logout
IPA commandSome modifications have been done in the code to implement this functionality:
App
andAppRoutes
components are now relying on the Redux data only (specifically to theuserLoggedIn
variable) to determine the user status (logged in or not)LoginMainPage
components, the functiononLoginButton
has been implemented to manage the logic received of theuserPasswordLogin
endpointerrorModal
), allowing the user to modify its credentials