netbirdio / netbird

Connect your devices into a single secure private WireGuard®-based mesh network with SSO/MFA and simple access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
9.83k stars 425 forks source link

Add missing `openid` scope when requesting JWT token in Zitadel #2089

Closed glaeqen closed 1 month ago

glaeqen commented 1 month ago

Describe your changes

According to the Zitadel documentation, openid scope is required when requesting JWT tokens.

Apparently Zitadel was accepting requests without it until very recently. Now lack thereof causes 400 Bad Requests which makes it impossible to authenticate to the Netbird dashboard.

https://zitadel.com/docs/guides/integrate/service-users/client-credentials#2-authenticating-a-service-user-and-request-a-token

Issue ticket number and link

None

Checklist

CLAassistant commented 1 month ago

CLA assistant check
All committers have signed the CLA.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud