OpenAPI-Specification icon indicating copy to clipboard operation
OpenAPI-Specification copied to clipboard

Add Device Code authorization to the supported OAuth Flows

Open LikeLakers2 opened this issue 3 years ago • 3 comments

Clone of PR #2401, resubmitted against the v3.2.0-dev branch as requested by webron. Note that this is not submitted against the main branch, but I will happily resubmit it against the main branch upon request.

Description of the original PR follows, with some extraneous details edited out:


Closes #2381.

This is a PR for the Device Authorization OAuth Flow, based on RFC8628. I suggested this over at #2381 and was asked to make a PR for it.

The URL used for this flow is named deviceAuthorizationUrl, separate from authorizationUrl as the two have completely different semantics and usages, so I was concerned that using authorizationUrl for both might be confusing. That said, I would be happy to merge this into authorizationUrl if requested.

LikeLakers2 avatar Jul 02 '22 20:07 LikeLakers2

I see that schemas/v3.2 doesn't exist yet, but if this PR is accepted, some schema changes should be made as well.

karenetheridge avatar Jul 02 '22 20:07 karenetheridge

@karenetheridge Apologies for taking so long to respond, but are you suggesting I should create (and edit appropriately) the v3.2 schema folder? Or is that simply a note for whomever reviews this PR?

LikeLakers2 avatar Jul 10 '22 09:07 LikeLakers2

Yes, I think the v3.2 schema folder (with schemas) should be created in the v3.2.0-dev branch (by the maintainers), so you can merge your changes on top.

karenetheridge avatar Jul 10 '22 17:07 karenetheridge

@karenetheridge as the markdown is the source of truth and the schema a (mere) artifact (though a useful one), it's normal that the creation / update of the schema can lag the creation of a new dev branch and initial changes.

MikeRalphson avatar May 12 '23 10:05 MikeRalphson