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

Selfhosted Simplelogin not including website address in alias #14048

Open
1 task done
batataboy16 opened this issue Mar 28, 2025 · 1 comment
Open
1 task done

Selfhosted Simplelogin not including website address in alias #14048

batataboy16 opened this issue Mar 28, 2025 · 1 comment
Labels
browser Browser Extension bug

Comments

@batataboy16
Copy link

Steps To Reproduce

Using a selfhosted instance of simplelogin, including the website adress in alias is not working with bitwarden. It seems like bitwarden isnt sending the domain in the api request.

  1. Go to 'https://www.thalia.de/registrierung'
  2. Add account in bitwarden
  3. Click on 'Generate username' in bitwarden browser addon

when using the simplelogin addon, it works as expected.
here are some logs from sl-app:

`
2025-03-28 18:40:35,109 - SL - DEBUG - 8 - 1JryU6DF - "/code/server.py:287" - after_request() - - 91.21.16.44 GET /api/user_info ImmutableMultiDict([]) 200, takes 0.007508277893066406
2025-03-28 18:40:53,761 - SL - DEBUG - 8 - 08r9wAb8 - "/code/app/models.py:1517" - generate_random_alias_email() - - generate email [email protected]
2025-03-28 18:40:53,765 - SL - INFO - 8 - 08r9wAb8 - "/code/app/events/event_dispatcher.py:62" - send_event() - - Not sending events because webhook is not configured and allowed to be empty
2025-03-28 18:40:53,770 - SL - DEBUG - 8 - 08r9wAb8 - "/code/server.py:287" - after_request() - - 91.21.16.44 POST /api/alias/random/new ImmutableMultiDict([]) 201, takes 0.025290489196777344
2025-03-28 18:41:36,331 - SL - DEBUG - 8 - jmf0UErZ - "/code/server.py:287" - after_request() - - 91.21.16.44 GET /api/mailboxes ImmutableMultiDict([]) 200, takes 0.008194446563720703
2025-03-28 18:41:36,350 - SL - DEBUG - 7 - bZHTZYIg - "/code/server.py:287" - after_request() - - 91.21.16.44 GET /api/v4/alias/options ImmutableMultiDict([('hostname', 'addons.mozilla.org')]) 200, takes 0.026499509811401367
2025-03-28 18:41:36,384 - SL - DEBUG - 8 - K1kIi31h - "/code/server.py:287" - after_request() - - 91.21.16.44 POST /api/v2/aliases ImmutableMultiDict([('page_id', '0')]) 200, takes 0.02499866485595703
2025-03-28 18:41:36,426 - SL - DEBUG - 8 - KrcbAwWA - "/code/server.py:287" - after_request() - - 91.21.16.44 GET /api/user_info ImmutableMultiDict([]) 200, takes 0.005635976791381836
2025-03-28 18:41:37,641 - SL - INFO - 7 - 6/OM9K7J - "/code/app/events/event_dispatcher.py:62" - send_event() - - Not sending events because webhook is not configured and allowed to be empty
2025-03-28 18:41:37,655 - SL - DEBUG - 7 - 6/OM9K7J - "/code/server.py:287" - after_request() - - 91.21.16.44 POST /api/v2/alias/custom/new ImmutableMultiDict([('hostname', 'addons.mozilla.org')]) 201, takes 0.04084491729736328

`

the requests send from the simplelogin addon contain ImmutableMultiDict([('hostname', 'addons.mozilla.org')])
the requests send from bitwarden contain ImmutableMultiDict([]), the dictionary is missing

Expected Result

hostname is included in ImmutableMultiDict, username contains domain name

Actual Result

username is generated completely random

Screenshots or Videos

No response

Additional Context

No response

Operating System

Linux

Operating System Version

No response

Web Browser

Firefox

Browser Version

No response

Environment Versions

Version: 2025.2.0

SDK: 'main (28c7e29)'

Server-Version (Drittanbieter): 2025.1.0

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@batataboy16 batataboy16 added browser Browser Extension bug labels Mar 28, 2025
@S-Kakar
Copy link

S-Kakar commented Mar 28, 2025

Thank you for reporting this issue! We've added this to our internal tracking system.
ID: PM-19657

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

No branches or pull requests

2 participants