web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Help with oauth custom...
Power Automate
Unanswered

Help with oauth custom connector

(0) ShareShare
ReportReport
Posted on by 2

My custom connector keeps failing so I did a few tests and found out that it's the power automate settings thats mangling my url.

 

I generated the authentication url just like it says in the twitter docs. When i tried to input the same fields in the power automate generic oauth 2 config my url is mangled. I can make the request in python no problem. Also if i generate the url in python an paste it into the browser, also no problem.

 

 

 

 

 

the main difference are:

the first url puts plus signs between the scope.

the first url doesn't add response_type=code

 

the first url is the one created by power automate. If i try to add response_type=code to the power automate, it then adds a ? it does something like this

response_type=code?&

 

is there any way that i can just manually set these?

 

I've also tried with the http flow, i get the redirect but get a 302 error and the flow breaks there.

 

Is there any way to have the automate tools not insert plus signs between the scope variables and also how to get around the issue with the needed response_type=code?

 

Categories:
I have the same question (0)
  • upcomingtradera Profile Picture
    2 on at

    I was able to narrow the issue down to just one rouge question mark:

    https://twitter.com/i/oauth2/authorize?response_type=code&state=state&code_challenge=challenge&code_challenge_method=plain?client_id=[xxx]&response_type=code&redirect_uri=https%3a%2f%2fglobal.consent.azure-apim.net%2fredirect&scope=users.read&state=11870d62-7a49-4d98-b0d4-5d46fcceac15_unitedstates-002_azure-apim.net

     

    if I can get that question mark that power automate automatically puts at the end of the authorization url to be removed and add an ampersand instead, the problem goes away.


    Any suggested fix?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard