dashy icon indicating copy to clipboard operation
dashy copied to clipboard

[BUG] OIDC ClientID config integer conversion

Open dr4y opened this issue 6 months ago • 0 comments

Environment

Self-Hosted (Docker)

System

Firefox

Version

3.1.1

Describe the problem

Using a Client ID with only numbers converts to integer. This leads to the effect, that a number longer than 16 digits will zero out following digits or even uses it as e+01

Testcases:

Test-Case 1:

appConfig:
  theme: colorful
  auth: 
    enableOidc: true
    oidc:
      clientId: 918756876419824312
      endpoint: https://idp.xx.de/

Excepted behavior: https://idp.xx.de/oauth/v2/authorize?client_id=918756876419824312&... Real behavior: https://idp.xx.de/oauth/v2/authorize?client_id=918756876419824300&...

Test-Case 2:

appConfig:
  theme: colorful
  auth: 
    enableOidc: true
    oidc:
      clientId: 91875687641982431213254325132521351325
      endpoint: https://idp.xx.de/

Excepted behavior: https://idp.xx.de/oauth/v2/authorize?client_id=91875687641982431213254325132521351325&... Real behavior: https://idp.xx.de/oauth/v2/authorize?client_id=9.187568764198242e%2B37&...

Test-Case 3 (Workaround):

appConfig:
  theme: colorful
  auth: 
    enableOidc: true
    oidc:
      clientId: "918756876419824312"
      endpoint: https://idp.xx.de/

Excepted behavior: https://idp.xx.de/oauth/v2/authorize?client_id=918756876419824312&... Real behavior: https://idp.xx.de/oauth/v2/authorize?client_id=918756876419824312&...

Additional info

No response

Please tick the boxes

dr4y avatar Oct 13 '25 12:10 dr4y