Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

fix(server): disregard unsupported OAuth methods #5683

Merged
merged 1 commit into from
Jun 12, 2019

Conversation

zregvart
Copy link
Member

We only support authorization code[1] OAuth flow, so we should filter out unsupported ones.

This refactors the property generation for custom API client connectors so that OAuth flow types other than accessCode are not taken into account.

[1] https://tools.ietf.org/html/rfc6749#section-4.1

Fixes #5592

We only support authorization code[1] OAuth flow, so we should filter
out unsupported ones.

This refactors the property generation for custom API client connectors
so that OAuth flow types other than `accessCode` are not taken into
account.

[1] https://tools.ietf.org/html/rfc6749#section-4.1

Fixes syndesisio#5592
@pure-bot
Copy link
Contributor

pure-bot bot commented Jun 12, 2019

Pull request approved by @oscerd - applying pr/approved label

@pure-bot pure-bot bot added the pr/approved Applied by pure-bot when a review is approved label Jun 12, 2019
@pure-bot pure-bot bot merged commit 4162d2b into syndesisio:master Jun 12, 2019
@zregvart zregvart deleted the issue/5592 branch June 12, 2019 07:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr/approved Applied by pure-bot when a review is approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

If multiple OAuth flows are given, filter out only authorization code flow
2 participants