Repository navigation
Stop requesting the Qonto User OAuth scope - #451
Merged
Merged
Conversation
Qonto only grants user_organization.read to applications it approved for the User OAuth flow, which can't be combined with the membership flow the template uses. Requesting it made every connection fail with invalid_scope. The template no longer requests the scope or offers listUserOrganizations, which needs it. Regenerating also picks up Qonto's current documentation, such as invoice and quote currencies now defaulting to the client's.
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
widefleet-docs | 8c0c7b1 | Nov 27 2026, 01:13 PM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Connecting a Qonto account fails right after Qonto's sign-in. Qonto redirects back with:
user_organization.readbelongs to Qonto's User OAuth flow. Qonto enables that flow only for applications it has approved, and an application that uses it can't use the membership flow. The template uses the membership flow, so an app created as the template's setup describes can't request the scope.Change
auth.tsno longer requestsuser_organization.read.listUserOrganizationsis no longer offered. It needs that scope, and with a membership token the connected organization is available throughgetOrganization.currencyis now optional and defaults to the client's currency.Checks
pnpm typecheckandpnpm testintemplates/qontopass.