RADAR-base / RADAR-Rest-Source-Auth

A simple application to support authorization of wearable devices using OAuth using a webservice with REST Endpoints.
https://radar-base.org/
Apache License 2.0
1 stars 0 forks source link

Issues with release 2.0 #100

Closed yatharthranjan closed 3 years ago

yatharthranjan commented 3 years ago

After migrating from 1.x.x to 2.0, I noticed the following issues -

  1. All the users are not displayed, only 100 users are displayed

  2. I could not authorise with Fitbit, backend reports

    [2021-02-18 17:37:13,667] INFO  - Authorizing with code d13f80ee63008d00be2752fb17f2754ea20ebb5f state FitBit
    [2021-02-18 17:37:13,668] ERROR - [400] POST users - state_not_found: State has expired or not found
    [2021-02-18 17:37:13,670] HTTP  - [400] POST users <application/x-www-form-urlencoded;charset=UTF-8: 58> -- <application/json;charset=utf-8> 

    But i can see in the url state is present and also shown in the above logs.

    https://radar-cns-platform.rosalind.kcl.ac.uk/rest-sources/authorizer/users:new?code=d13f80ee63008d00be2752fb17f2754ea20ebb5f&state=FitBit#_=_
  3. The Authorised column in the table was empty for all subjects

blootsvoets commented 3 years ago

thanks for trying the release. Could you please split this into three issues, since they have separate causes? The second report could be due to stale browser cache. Does it help to clear the browser cache?

yatharthranjan commented 3 years ago

I tried in an incognito window. Ok I will split these into 3 separate issues

yatharthranjan commented 3 years ago

split into #101, #102 , #103