Help on Trello custom provider #8743
Unanswered
NayanChauveau
asked this question in
Help
Replies: 1 comment
-
@NayanChauveau Did you ever found a solution? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Hi everyone,
I am trying to create a custom provider for Trello. For trello I have to use the oauth 1.0A at most.
Here is my implementation:
Everything is working but I want to change the scope of privileges asked by the application.
This is done by adding parameters to the authorization url: scope=read,write,account
When I use it like it is currently, it is creating a authorization url with the current authorization string + some url parameters. Like this:
https://trello.com/1/OAuthAuthorizeToken?oauth_token=XXX&oauth_token_secret=XXX&oauth_callback_confirmed=true
I just need to add the parameter scope to it.
If I do it by hand, updating this string and adding &scope=read,write,account it works.
But I don't find a solution to make the custom provider do it automatically.
Things I have tried:
Changing the authorization line by:
It seams to work only on oauth 2.
Changing the authorization line by:
It is not working, the others params are added with a question mark like that:
https://trello.com/1/OAuthAuthorizeToken?scope=read,write,account?oauth_token=XXX&oauth_token_secret=XXX&oauth_callback_confirmed=true
Does anyone have a solution for this ?
Thanks a lot for your help.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions