Profirator / Profi-platform

Apinf - Open source API management platform with multi proxy and protocol support
https://apinf.com/
European Union Public License 1.1
0 stars 0 forks source link

regression in login #15

Closed ilarimikkonen closed 3 years ago

ilarimikkonen commented 3 years ago

disable native login with Admin user (fiware login only option) logout login with FIWARE user

Expected: user logs in.

Actual: "login forbidden" message is displayed

when restoring the native login this works. THis is a SHOW STOPPER for 0.60.1 release.

ilarimikkonen commented 3 years ago

tested with 0.60.1 - build from dev branch

Peteri1111 commented 3 years ago

https://github.com/Profirator/Profi-platform/commit/bcff3374da4e6802259b26cbd187f63cc6a83a1d

ilarimikkonen commented 3 years ago

problem with the current way is that it checks from settingsa when logging in. you can only create settings when logged in.

> use apinfdb2
switched to db apinfdb2
> db.Settings.findOne()
null
ilarimikkonen commented 3 years ago

user is created when signing up so checking if there is no users is not an answer.