gawati / gawati-portal-ui

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

Replace gawatiauthhelper with gawatiauthclient #72

Open kohsah opened 6 years ago

kohsah commented 6 years ago

Replace the gawatiauthhelper client class with the gawatiauthclient (used in gawati client). This uses a simpler and more robust auth api.

kohsah commented 6 years ago

@ashwinibm Reversed merge of the auth-wrapper class, as it is exclusionary like in Gawati Client as it enforces authentication. The portal should be accessible whether you are authenticated or not, i.e. authentication is optional.

kohsah commented 6 years ago

Fixed implementation in updated auth-wrapper branch: https://github.com/gawati/gawati-portal-ui/tree/auth-wrapper-indexjs ; Does not require cookies or localStorage ; logs in across refreshes.

Should also resolve Issue #71

kohsah commented 6 years ago

Fixed see https://github.com/gawati/gawati-portal-ui/commit/5c67f3b96d50875c7312ea94159b8641e6983931