Custom provider not being called #530
-
Hey team,
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 16 replies
-
Hey @davedodea, are you using a custom user verifier for this, or Arcade's built-in verifier? |
Beta Was this translation helpful? Give feedback.
-
@davedodea Can you share a screenshot of the details of the custom Linear provider you created? I agree that this should "just work" as you described. Other info that's helpful:
|
Beta Was this translation helpful? Give feedback.
-
Hey @nbarbettini - so when I call the following URL, provided by Arcade during an auth flow, I get:
{
"actor": "user",
"client_id": "e6a5fa427dd75a0f158a2a9418ee5ee0",
"redirect_uri": "https://cloud.arcade.dev/api/v1/oauth/callback",
"response_type": "code",
"scope": "read",
"state": "5ce33ff7-cfd2-4046-8b66-b1b167e52b25"
}
So, I enabled the option in the provider config to However, when I re-triggered he auth flow, the auth URL from Arcade now points to a client id value that is not the one configured in my Linear provider in Arcade (guessing it is the default client id?): {
"actor": "user",
"client_id": "e30e71e467f82b79f19916ee33b14b48",
"redirect_uri": "https://cloud.arcade.dev/api/v1/oauth/f4c6b_aps_arcade-linear/callback",
"response_type": "code",
"scope": "read",
"state": "50a76a24-b2ee-4f0f-b3f7-486a714cc4fb"
} Resuling in the user bein authorized but through the default Linear provider, not my custom one, as expected. |
Beta Was this translation helpful? Give feedback.
-
Update: The above worked flawlessly.
Thanks @nbarbettini & @sdreyer for the help 👏 |
Beta Was this translation helpful? Give feedback.
@davedodea No, this was an issue specifically with Linear and Notion (the ones missing from the Included Providers dropdown).
The latter. There are two ways to configure a custom provider, if your goal is to have the built-in toolkits use that provider at runtime: