The client resets its authentication over time

Created on 19 June 2021, about 3 years ago
Updated 22 February 2024, 4 months ago

Problem/Motivation

I have created a client and authenticated it via UI. After a while customer reported that it is not authenticated. This keeps happening and no log messages spotted.

Do I need to reauthenticate it each time I use it in the code? And how? Why is it happening?

Thank you!

Steps to reproduce

Create a client. Authenticate it. Use it for some time.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ’ฌ Support request
Status

RTBC

Version

3.0

Component

Documentation

Created by

๐Ÿ‡ฐ๐Ÿ‡ฌKyrgyzstan elaman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • ๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom mistergroove

    Ok so I've set the client account to offline and it still expires. how long should the refresh tokens work for?

  • Status changed to Active 7 months ago
  • ๐Ÿ‡ง๐Ÿ‡ชBelgium RandalV

    This also happens to me.

    The client was created as an offline client, yet the authorization keeps dropping? This is incredibly intrusive, this is a system that needs to work automatically..

    Needing to manually reauthorize this frequently makes it completely unusable on production environments.

    I'm setting this back to active, I hope a maintainer can provide a workaround / solution.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia sadashiv

    Hi,

    The module is designed to fetch the refresh token and use it to reauthenticate the app and store the then retrieved access token in the account, so ideally once authenticated there should be no need to reauthenticate.

    If you are using it as a standalone service for the server I recommend using a service account instead of a authenticated account, that never fails for authentication, if you still want to continue using the standard client, we need to debug whether the access token has a refresh token set in it.

    Thanks,
    Sadashiv.

  • First commit to issue fork.
  • Status changed to Needs review 7 months ago
  • ๐Ÿ‡จ๐Ÿ‡ดColombia tesla863 Chia
  • Status changed to RTBC 4 months ago
  • ๐Ÿ‡ท๐Ÿ‡ดRomania reszli Tรขrgu Mureศ™

    MR6 did the trick for me!

Production build 0.69.0 2024