Using Bitwarden's push service #2469
-
Hi everyone, I might have an idea to add mobile push notifications to vaultwarden. Bitwarden is using push.bitwarden.com to send the notifications. However, it only does work with official server. So I got this idea to maybe add it to Vaultwarden. Sadly I never used Rust, so I won't be able to make it myself. To be able to setup push notifications, Bitwarden require an installation id and an installation key that can be found here. How it can be done :
Thank you for this amazing project, and have a good day |
Beta Was this translation helpful? Give feedback.
Replies: 25 comments 129 replies
-
I'm not sure if we want to support this, and if Bitwarden would allow/appreciate that third-party backends use there push services. Also, since the mobile client does support auto-sync on startup it kinda isn't that of a necessity i think. |
Beta Was this translation helpful? Give feedback.
-
Hi, I support your proposal. This feature is really required.
In my own experience of bitwarden iOS, auto-fill is used much more frequently than looking up and copy a password in app.
I've find your thread on the bitwarden forums, and it doesn't look like they are against us doing this. However, they didn't give a clear answer at last, just said "contacting Bitwarden support with your question". |
Beta Was this translation helpful? Give feedback.
-
I know that there was a thread posted on the Bitwarden Community Forums, that never got anywhere. When I recently started to toy around with my own implementation of a Bitwarden-compatible backend (because who doesn't love reinventing the wheel?), I also stumbled upon the thread and also the discussion in #126 as well as #246. I did contact Bitwarden Support by eMail, explained that I was using a third party backend and asked
The answer was
So I think this qualifies as an official statement where using the push relays are fair game? |
Beta Was this translation helpful? Give feedback.
-
#3304 🎉 |
Beta Was this translation helpful? Give feedback.
-
The PUSH does not work for me either. PUSH_UUID and PUSH_TOKEN in the device table are also empty. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the great feature! Works great on iOS after app reinstallation. However, it seems to only work for items inside the personal vault, not for creating/editing/deleting in a organization/shared vault?! Is this the expected behavior? |
Beta Was this translation helpful? Give feedback.
-
Loving the new PUSH Sync on my devices! One thing I did encounter was that the feature doesn't seem to be compatible with the F-Droid version of the Android app. Once I removed it and installed the Play Store version, everything worked perfectly. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the hard work to implement PUSH!! It works for me on Android after clearing the storage of the Bitwarden-App on my phone. maybe it should be mentioned in the release notes or so....... |
Beta Was this translation helpful? Give feedback.
-
I've been unable to get it working for Android. Edit: I have reset phone app data 5+ times with reinstall |
Beta Was this translation helpful? Give feedback.
-
Push notifications will only work on Bitwarden app installed from the official mobile stores (App Store, Google Play Store) or when using alternative clients for the Google Play Store (such as Aurora Store). Push notifications will not work on Bitwarden installed from F-Droid, NeoStore or alternative stores. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Saw a issue with proxy and fixed that.
Should I be concerned about this? |
Beta Was this translation helpful? Give feedback.
-
Tried on a different Device for Different User and that has PUSH_TOKEN and PUSH_UUID |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to have this feature's variables editable through the admin page? |
Beta Was this translation helpful? Give feedback.
-
May I ask how to add the installation ID and key to the vault ? also do I need a connection allowed back to my server from the bitwarden.com ? as my server is available only through my network. |
Beta Was this translation helpful? Give feedback.
-
Yes, as previously mentioned:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
same here, android 11 & cannot make push notification to work. reinstalled several times and same. It does work with web vault & windows app, so its not reverse proxy nor pihole, I think must be some kind of android related issue (tried with two android phones and one tablet). different android versions. Tried also with latest and testing image container versions on arm64 hope some day I can make it to work!! |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Well guys... I'm not a coder. I'm just an enthusiast. I can't set those variables since I can find them in the Admin page in the Read-Only Config area. This is driving me crazy. TY all for your kind (and easy to understand) instructions. |
Beta Was this translation helpful? Give feedback.
-
nevermind, figured it all out |
Beta Was this translation helpful? Give feedback.
-
I'm using the latest bitwarden app for android and can't get the push notifications running. I did all the mentioned steps and read every comment here. My devices table doesn't show any push_uuid or push_token :(
|
Beta Was this translation helpful? Give feedback.
-
Was the f-droid version removed? Cannot find it... |
Beta Was this translation helpful? Give feedback.
#3304 🎉