In a Gnome Shell extension, we interact with Home Assistant API and we have to store long-live auth token. We use
Secret.password_store_sync() to store it and
Secret.password_lookup_sync() to retrieve it. It works great but some time, on startup, the
Secret.password_lookup_sync() call return null without any error and after some time (may be 2 or 5 minutes), it will works again without any change. Do you have any idea about what I could do to make sure to retrieve the token for sure ?