What can we help you with?

e.g. Gantt chart, Creating tasks, Sharing folders

Redirect URI is invalid error

5 comments

  • Spot On! ๐Ÿ‘ Innovative Approach ๐Ÿ’ก Stellar Advice ๐Ÿ’ช
    Avatar
    Sergey

    Hi Ajay, if there is more than one redirect URI in your app, you'd want to specify it as the fifth parameter in your call, just like in step one. If it's not the case here we'll be happy to open a Support ticket for you to troubleshoot this!

    Sergey Community Team at Wrike ๐ŸŒŽDiscover... Wrike Discover and become a Wrike expert. Click here to learn more

  • Spot On! ๐Ÿ‘ Innovative Approach ๐Ÿ’ก Stellar Advice ๐Ÿ’ช
    Avatar
    Ajay J Kotian

    Hi Sergey,

    Thank you for looking into this. I solved this by usingย the permanent tokens. :D

    ย 

    Thanks,
    Ajay

  • Spot On! ๐Ÿ‘ Innovative Approach ๐Ÿ’ก Stellar Advice ๐Ÿ’ช
    Avatar
    Sergey

    Good thinking! If you decide to return to OAuth 2 later - we'd be happy to talk about it :)

    Sergey Community Team at Wrike ๐ŸŒŽDiscover... Wrike Discover and become a Wrike expert. Click here to learn more

  • Spot On! ๐Ÿ‘ Innovative Approach ๐Ÿ’ก Stellar Advice ๐Ÿ’ช
    Avatar
    Rafael Paulin

    (Edited )

    Hello Sergey

    I am having the exact same problem as our fellow above.

    ย 

    the query params I am sending are:

    ย 

    'query'ย ย  ย =>ย ย  ย [
    ย ย ย  'client_id'ย ย  ย ย ย  ย =>ย ย  ย $this->clientId,
    ย ย ย  'client_secret'ย ย  ย => $this->secret,
    ย ย ย  'grant_type'ย ย  ย =>ย ย  ย 'authorization_code',
    ย ย ย  'code'ย ย  ย ย ย  ย ย ย  ย =>ย ย  ย $request->code,
    ย ย ย  'redirect_uri'ย ย  ย =>ย ย  ย 'http://localhost:8000/wriketoken',

    ],

    ย probably the only thing I am doing in a different way, is that I am opening a new window to the authorization screen... when everything is done on the same window, it works like a charm

    What am I doing wrong?

  • Spot On! ๐Ÿ‘ Innovative Approach ๐Ÿ’ก Stellar Advice ๐Ÿ’ช
    Avatar
    Pavel M

    Hi Rafael! Sorry it took a while for us to reply.ย Have you managed to make it work?ย 

    It appears strange, maybe you could check the actual calls you make (maybe through some listener like Fiddler) to see what is changing? What if you try with the permanent access token?

    Pavel M Community Team at Wrike ๐ŸŒŽDiscover... Wrike Discover and become a Wrike expert. Click here to learn more

Please sign in to leave a comment.

Folllowing List for Post: Redirect URI is invalid error
[this list is visible for admins and agents only]

Community

Welcome ๐Ÿ––

Hi there! ๐Ÿ™‚ Want to become a black belt Wrike Ninja? Here's how to earn a Wrike badge

Welcome ๐Ÿ–– Have you checked out this week's Release Notes yet?

Hey! ๐Ÿ‘‹ Curious about something? Visit How To to search and ask the Community for answers.

Welcome! ๐Ÿ‘‹ Figured out a good tip or trick? Share it in Best Practices.

Want to connect your existing software to Wrike? Learn and ask how in the API section.