Add "Client Credentials" grant type to OAuth2
feat(core): Add "Client Credentials" grant type to OAuth2 (#3489)
Add "Client Credentials" grant type to OAuth2featadd client credentials grant type oauth2
Committed by RicardoE105
commit message
feat(core): Add "Client Credentials" grant type to OAuth2 (#3489)
* :zap: Add OAuth2 client credentials grant type
* :zap: Improvements
* :bug: Fix linting issue
* :bug: Fix typo
* :bug: Fix small issue with type
* :bug: When token expire get a new one instead of refreshing it
* :zap: Fix issue that it did not display it correctly for OAuth1
Co-authored-by: Jan Oberhauser <[email protected]>Editor assessment
The subject states the feature precisely: the client credentials grant type was added to OAuth2. That is exact OAuth terminology, so any reader knows what was implemented. The feat type and core scope are accurate. The body is a mixed list: restatement, improvements, lint and typo fixes, plus two genuinely substantive lines, expired tokens now triggering a new grant rather than a refresh, and an OAuth1 display correction. Those fragments carry real design decisions. The Co-authored-by trailer is well formed. Clear subject, partly substantive body: a good message held back from excellence only by its fragmentary assembly.