Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenID issue with push notifications #1259

Open
Douglas-AR opened this issue Jul 13, 2024 · 1 comment
Open

OpenID issue with push notifications #1259

Douglas-AR opened this issue Jul 13, 2024 · 1 comment

Comments

@Douglas-AR
Copy link

Describe the bug
I've run into a problem with the push notifications on my custom app. When the user logs in with his google account the push notifications don't work.

To Reproduce
Steps to reproduce the behavior:

  1. Login with OpenID
  2. Test Firebase Push notifications
  3. Notifications don't work
  4. Login with normal login
  5. Test Firebase Push notifications
  6. Works normally

Expected behavior
Push notifications working with both methods

Smartphone (please complete the following information):

  • Device: Pixel 5 emulator, Samsung Galaxy S20 FE, Samsung Galaxy M32
  • OS: Android
  • Browser : Chrome
  • Version ; Android 13-14

Additional context
I also noticed that in the app code there is " base-config cleartextTrafficPermitted="true" ". If that is turned to false notifications also stop working. Maybe that is useful to know, as OpenID also doesn't like http

@Swell61
Copy link

Swell61 commented Aug 29, 2024

I'm hitting this too with the stock Traccar Management app with a Traccar API key. If I login with OpenID (hooked into Keycloak), no notification token is given to the device and push notifications don't work. If I logout and login with a normal Traccar account, the notification token is sent and push notifications work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants