rwth-acis / mobsos-surveys

A simple survey management service and Web application, being part of the MobSOS toolkit.
Other
7 stars 10 forks source link

Authentication Problem #32

Closed Navidda closed 2 years ago

Navidda commented 3 years ago

Summary

New accounts does not work with the service.

Reproduce

  1. Create a new account using learning layers
  2. Sign in using your new account
  3. Open the service and navigate to the surveys tab

The request will result in a 401 error and a message "I can't let you do that"

Navidda commented 3 years ago

I attached the logs that is shown when the service starts up.

As you can see some accounts are observed with this log:

[ChainObserver] observed profile creation: erdzan

like erdzan, erdzan1 , AGAINNEW, TESTTHISINETH, hans1, neumann, klamma which all work fine. but other accounts are observed with this log:

which do not work

Logs ``` [ChainObserver] observed profile creation: [0x236358f42b75ec92c68728368ae64932ee556416]: erdzan [ChainObserver] observed profile creation: [0x609eac61c0171f540a233a0b9ebec9dd6903691c]: erdzan1 [ChainObserver] observed profile creation: [0x5b2f36faef2135c17050680d7e8685ca153304f9]: AGAINNEW [ChainObserver] observed generic transaction: [0x609eac61c0171f540a233a0b9ebec9dd6903691c->0x236358f42b75ec92c68728368ae64932ee556416]@1: hhheellloo [ChainObserver] observed generic transaction: [0x609eac61c0171f540a233a0b9ebec9dd6903691c->0x236358f42b75ec92c68728368ae64932ee556416]@0.3: hhheellloo [ChainObserver] observed generic transaction: [0x609eac61c0171f540a233a0b9ebec9dd6903691c->0x236358f42b75ec92c68728368ae64932ee556416]@2: dsdsad [ChainObserver] observed generic transaction: [0x80e240147f9123ca3b95d59ee6da8781b8843087->0x5b2f36faef2135c17050680d7e8685ca153304f9]@0.1: dsad [ChainObserver] observed profile creation: [0x80e240147f9123ca3b95d59ee6da8781b8843087]: TESTTHISINETH [ChainObserver] observed profile creation: [0x1888bda793d839b338da03d0bfee4e165b9f85fd]: hans1 [ChainObserver] observed profile creation: [0xc0eb4ac67ccc619bf8eaf286e3ab5a53c7e3f29a]: neumann [ChainObserver] observed profile creation: [0xe166c1ab4c5f49c2a214eeca5945444991d607b5]: klamma [ChainObserver] observed service registration : > i5.las2peer.services.mensaService by erdzan [ChainObserver] observed user registration: @[1601973355]: neumann [ChainObserver] observed user registration: @[1601973673]: fake [ChainObserver] observed user registration: @[1602083716]: FBasels [ChainObserver] observed user registration: @[1602100363]: hassan221b [ChainObserver] observed user registration: @[1602440693]: julius [ChainObserver] observed user registration: @[1602761866]: juliustest [ChainObserver] observed user registration: @[1603201237]: juliustest1 [ChainObserver] observed user registration: @[1603201742]: juliustest2 [ChainObserver] observed user registration: @[1603207320]: juliustest3 [ChainObserver] observed user registration: @[1603292783]: ckrae [ChainObserver] observed service registration : > i5.las2peer.services.mobsos.successModeling by erdzan [ChainObserver] observed user registration: @[1603303925]: juliustest4 [ChainObserver] observed user registration: @[1603303971]: juliustest5 [ChainObserver] observed user registration: @[1603638594]: erdzan [ChainObserver] observed user registration: @[1603647198]: test [ChainObserver] observed user registration: @[1603795702]: t4cAdmin [ChainObserver] observed user registration: @[1603803014]: Yaref [ChainObserver] observed user registration: @[1603887937]: Michi01 [ChainObserver] observed user registration: @[1604063718]: Aaron30 [ChainObserver] observed user registration: @[1604063718]: lakhoune [ChainObserver] observed user registration: @[1604394846]: pedela [ChainObserver] observed user registration: @[1604865020]: TESTTHISINETH [ChainObserver] observed user registration: @[1604865632]: AGAINNEW [ChainObserver] observed user registration: @[1604866765]: erdzan1 [ChainObserver] observed user registration: @[1605212828]: hans1 [ChainObserver] observed user registration: @[1605840558]: agent [ChainObserver] observed user registration: @[1606847390]: pdolif [ChainObserver] observed user registration: @[1606848690]: BobCAE [ChainObserver] observed user registration: @[1606848942]: AliceCAE [ChainObserver] observed user registration: @[1606848942]: pdolif2 [ChainObserver] observed user registration: @[1606852309]: fdsfdsfsd [ChainObserver] observed user registration: @[1606852309]: dfdsfdsffds [ChainObserver] observed user registration: @[1607349599]: fdfs [ChainObserver] observed user registration: @[1608474984]: test2 [ChainObserver] observed user registration: @[1608477429]: test3 [ChainObserver] observed user registration: @[1608477429]: test34 [ChainObserver] observed user registration: @[1608477429]: tes52 [ChainObserver] observed user registration: @[1608479971]: aaron [ChainObserver] observed user registration: @[1609369317]: slupczynskim [ChainObserver] observed user registration: @[1610924710]: bitbot2 [ChainObserver] observed user registration: @[1610960075]: bja-tud [ChainObserver] observed user registration: @[1615210215]: fdfdsf [ChainObserver] observed user registration: @[1615210215]: testtesttest [ChainObserver] observed user registration: @[1615241801]: fffff [ChainObserver] observed user registration: @[1620756612]: navidda [ChainObserver] observed user registration: @[1623672424]: aneuman3 [ChainObserver] observed user registration: @[1624968671]: testerdzan [ChainObserver] observed user registration: @[1625309257]: dakjlfkldnafj [ChainObserver] observed user registration: @[1625310286]: asjndkjsanjdksa [ChainObserver] observed user registration: @[1625311348]: ttttttttttttt [ChainObserver] observed user registration: @[1625311348]: ppppppppppppqqqqq [ChainObserver] observed user registration: @[1625315211]: uuuuuuuuuuuuuuu [ChainObserver] observed user registration: @[1625315341]: xoxoxoxoxoxooxox [ChainObserver] observed user registration: @[1625315614]: sssssss [ChainObserver] observed user registration: @[1625315673]: aaaaaaass [ChainObserver] observed user registration: @[1625319653]: hanahnsansha [ChainObserver] observed user registration: @[1625320198]: wwwwwwwwwwwwww [ChainObserver] observed user registration: @[1625320198]: askjndjsnajkdnas [ChainObserver] observed user registration: @[1625320777]: hahahahhahah [ChainObserver] observed user registration: @[1625321195]: aaaaaapppppaaaaa [ChainObserver] observed user registration: @[1625322914]: sadksadsnjakdknsa [ChainObserver] observed user registration: @[1625322973]: ooppooppopopopoop [ChainObserver] observed user registration: @[1625323088]: zzzzzzzzzzzz [ChainObserver] observed user registration: @[1625323088]: llllllllllllllllllllll [ChainObserver] observed user registration: @[1625323304]: sadsadsadsadas [ChainObserver] observed user registration: @[1625323671]: uiuiuiuiuiuiuiuiuiuiuiuiu [ChainObserver] observed user registration: @[1625324728]: asjndjknsanjkdjdksna [ChainObserver] observed user registration: @[1625328800]: popoopopopoppooppo [ChainObserver] observed user registration: @[1625328800]: xxxsxsxsxsxsxs [ChainObserver] observed user registration: @[1625329110]: uyuyuuyuuyuyuy [ChainObserver] observed user registration: @[1625335690]: asdjnsajdnaskdjsakn [ChainObserver] observed user registration: @[1625337232]: hanshansodoodoejndsa [ChainObserver] observed user registration: @[1625337316]: neunundndndndndndn [ChainObserver] observed user registration: @[1625337389]: saasssasassasasasa [ChainObserver] observed user registration: @[1625337426]: opoppopoopopopopopop [ChainObserver] observed user registration: @[1625337465]: jdksasjndjsak [ChainObserver] observed user registration: @[1625337468]: dsjkandjknsa [ChainObserver] observed user registration: @[1625337624]: kjjkjkjkjkjk [ChainObserver] observed user registration: @[1625337742]: cdkcjdjcndk [ChainObserver] observed user registration: @[1625343806]: dsakjdjbsa [ChainObserver] observed user registration: @[1625397731]: okokokook [ChainObserver] observed user registration: @[1625478246]: klamma [ChainObserver] observed user registration: @[1625569844]: simonbreuer [ChainObserver] observed user registration: @[1625602421]: uhuhuhhuuh [ChainObserver] observed user registration: @[1625661083]: senpai [ChainObserver] observed user registration: @[1625946758]: naviddatest [ChainObserver] observed user registration: @[1626073895]: apoegelt [ChainObserver] observed user registration: @[1626806555]: naviddatest2 [ChainObserver] observed user registration: @[1627377647]: naviddatest4 [ChainObserver] observed user registration: @[1627378735]: naviddatest5 [ChainObserver] observed user registration: @[1627390368]: mbelsch [ChainObserver] observed user registration: @[1627409011]: alicecae [ChainObserver] observed user registration: @[1627663095]: fbasels [ChainObserver] observed user registration: @[1627974899]: aaron30 [ChainObserver] observed user registration: @[1627989529]: leogomat [ChainObserver] observed user registration: @[1627989591]: t4cadmin ```

Maybe you can have a look at it. @erdzan12

lakhoune commented 2 years ago

Refer to https://github.com/rwth-acis/las2peer/issues/91