-
Notifications
You must be signed in to change notification settings - Fork 343
Open
Labels
backendInvolves work from the backend teamInvolves work from the backend team
Description
Describe the bug
The current implementation of the OAuth 2.0 flow deviates in certain key areas making it hard to interop with generic clients. I encountered these while using my own generic OAuth handler.
Most notably,
- Client authentication (RFC 6749 §2.3.) is done using a non-standard authentication system where the client secret is sent "as-is" as the authentication header. The general standard is to use HTTP Basic authentication, which is mentioned in §2.3.1..
- The API returns a Bearer token (RFC 6750), but does not support
Bearer <token>authorization format despite being the format defined in RFC 6750 §2.1.. Only the prefix-less token is supported.
Steps to reproduce
- Create an OAuth application
- Initiate an authotization flow
- Request the bearer access token (with
Authorization: Basic base64(client_id:client_secret)) - Request the authenticated user data (with
Authorization: Bearer access_token)
Expected behavior
The flow to succeed and to get information about the authenticated user.
Additional context
No response
piprett and Su5eD
Metadata
Metadata
Assignees
Labels
backendInvolves work from the backend teamInvolves work from the backend team