HomeMusing Studio

make OAuth Adapter RFC-compliant
77e541abde23Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

make OAuth Adapter RFC-compliant

RFC 6749 §2.3.1 states: "The client MUST NOT use more than one
authentication method in each request." Currently, writefreely always
sends both thus requiring a compliant OAuth provider to reject the
request. Add an option to send the credentials in the body, if required
and disable Basic Auth in this case.

Link: https://datatracker.ietf.org/doc/html/rfc6749#section-2.3
Fixes: #1241
Signed-off-by: Moritz Poldrack <git@moritz.sh>

Details

Provenance
Moritz Poldrack <git@moritz.sh>Authored on Sat, Jun 20, 10:33 PM
Parents
rWF419a0fb7193b: Merge pull request #1653 from writefreely/dependabot/go_modules/golang.
Branches
Unknown
Tags
Unknown
References
refs/pull/1679/head

Event Timeline