gawati / gawati-portal-ui

Version 2 of the gawati portal
GNU Affero General Public License v3.0
0 stars 0 forks source link

Authentication Integration in portal-ui #21

Closed kohsah closed 6 years ago

kohsah commented 6 years ago

Currently there is no authentication in the portal. The notification bell icon is just a dummy

image

gawati-auth user authentication and registration needs to be integrated into the portal

kohsah commented 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

kohsah commented 6 years ago

Currently once logged in it shows a "logout" link. This needs to be changed to something like this: image

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 :

image

Use the space of the bell / notification icon to show this logged in / logged out link and dropdown.

kohsah commented 6 years ago

Login page needs to be customized. Implement / document a standard mechanism for it

kohsah commented 6 years ago

The user logged in name is shown image

kohsah commented 6 years ago

See ... line 101 ... getitem('username') can return null too ... secondly it goes into the error() promise catcher for loaduserProfile ...

image

kohsah commented 6 years ago

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.

kohsah commented 6 years ago

This functionality has been implemented and merged. Closing this issue.