Skip to content

Inconsistent thing's name from steward #297

Description

@wcchh

When the steward receives the pair message, it sends a simple result containing information for future authentication:

recv: {"requestID":"1","result":{"params":{"algorithm":"sha1","length":40,"name":".things@steward","issuer":"steward","step":30,"base32":"GVEFOUBTIFNHCZZQIIYHIZCSMRCDKZCYIRZTO3RXKBDEGVLRIZUTG42UNN2TMVDT","protocol":"totp"},"success":true,"thingID":"1"},"timestamp":1462345153}

And you can see the "name" is ".thing@steward", but it should be the word of what I send for pairing, which is 'TESTUUID000' as below

send: {"path":"/api/v1/thing/pair/TESTUUID000","name":"TESTUUID000","requestID":1}

This will occur only after db files be clean, then the first time steward running up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions