Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

userLogin info confusing and maybe incorrect #35

Open
1 task done
tluth opened this issue Mar 2, 2020 · 0 comments
Open
1 task done

userLogin info confusing and maybe incorrect #35

tluth opened this issue Mar 2, 2020 · 0 comments

Comments

@tluth
Copy link

tluth commented Mar 2, 2020

Step 0:

regarding: https://speckleworks.github.io/SpeckleSpecs/#userlogin

Expected Behaviour

The things listed under "Actual Behavior" are not the case.

Actual Behaviour

  • says "The only required elements are email and password." but password isn't listed in body params.
  • Python example code uses params keyword arg, when it should be "data"
  • also I think you need to do a lil json.dumps() for that to work
  • description says "Login and get jwt token." - but below it says "...you must be authenticated by means of one of the following methods: JWT"

Affected Projects

Nah, just took a little while to realise I needed to write data rather than params in my request, and the other confusing elements made me doubt my sanity briefly.

Reproduction Steps & System Config (win, osx, web, etc.)

open and browser and go to https://speckleworks.github.io/SpeckleSpecs/#userlogin

Proposed Solution (if any)

correct the above issues.. also, happy to do myself at some point when I have time.

InkedCapture_LI

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant