Closed kohsah closed 6 years ago
There is a preliminary working implementation of KeyCloak integration into Gawati Portal see branch https://github.com/gawati/gawati-portal-ui/tree/keycloak-auth-integration
Currently once logged in it shows a "logout" link. This needs to be changed to something like this:
You can show a user icon like the one of font-awesome: https://fontawesome.com/v4.7.0/icon/user-circle/ (already part of gawati-portal-ui), and then the drop down needs to have the "logout" optin.
if you are not logged in it needs to show "log in" or "register" links on the page itself so you don't need to click twice to reach the register link :
Use the space of the bell / notification icon to show this logged in / logged out link and dropdown.
Login page needs to be customized. Implement / document a standard mechanism for it
The user logged in name is shown
See ... line 101 ... getitem('username') can return null too ... secondly it goes into the error() promise catcher for loaduserProfile ...
Once i login - it shows me logged in as 'guest' . Then if i click on another page, it shows me as not logged in. If i click i sign-in it logs me in without taking me to the login page.
This functionality has been implemented and merged. Closing this issue.
Currently there is no authentication in the portal. The notification bell icon is just a dummy
gawati-auth user authentication and registration needs to be integrated into the portal