-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OAuth flow: Instance-wide params should only be injected if a connector will be using oauth #5989
Labels
Milestone
Comments
sherifnada
added
type/bug
Something isn't working
area/connectors
Connector related issues
area/oauth
labels
Sep 11, 2021
Merged
In the case of a Facebook connector, it seems:
The specs.json of such connectors following up on #6456 should declare
|
15 tasks
This was referenced Oct 13, 2021
Merged
38 tasks
sherifnada
modified the milestones:
Connector Core 2021-10-20,
Connectors 2021-10-29,
ConnCore, October 27th 2021,
ConnCore, Nov 3 2021
Oct 20, 2021
blocked on ratification of spec |
ChristopheDuong
changed the title
oauth params should only be injected if a connector will be using oauth
OAuth flow: Instance-wide params should only be injected if a connector will be using oauth
Nov 4, 2021
This was referenced Nov 12, 2021
@ChristopheDuong can this be closed? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Current Behavior
If instancewide oauth params are set, they are always injected when the source connector is created via the
web_backend/sources/create
endpoint.However, there are instances where this is undesirable behavior.
For example, you can authenticate into various google APIs using a few methods e.g: Bigquery via service account key or oauth2. in this case the spec of the connector might be:
then the config must have either
or
but in the current behavior if the user wants to use service account credentials, then validation for the connector will fail because we would have a config that looks like:
This is not world ending but definitely error prone.
Expected Behavior
instancewide variables should only be injected if needed/if a config is using oauth
The text was updated successfully, but these errors were encountered: