Skip to content

Error Code 401 After a few days storing token and secret in database #18

@johannesweber

Description

@johannesweber

Hi Pavel,

thank you for this great library it helped us a lot. I have one issue and i hope you can help me out.
I am retrieving fitbit token and secret succesfully from fitbit API. I use (https://github.com/dongri/OAuthSwift) for the oauth process. afterwards i store the credentials in my database and use your library for fetching data from fitbit, after a couple of day (2-3) i get the error 401 from fitbit. If i renew token and secret the request will work as supposed to.
The strange thing is that i use your library for few weeks and i never had to renew my token and secret till now.

i hope you can help me out. thank you.

regards,
johannes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions