[BUG] OIDC ClientID config integer conversion
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
- [x] You have explained the issue clearly, and included all relevant info
- [x] You are using a supported version of Dashy
- [x] You've checked that this issue hasn't already been raised
- [x] You've checked the docs and troubleshooting guide
- [x] You agree to the code of conduct