windows server 2012 r2 - ADFS 3.0 oAuth oauth2/token -> no registered protocol -


I'm trying to use the AutoAuto functionality, but struggling to use tokens outside of it I am Setup is a Windows Server 2012 R2 preview version installed in a Virtualbox VM.

I am able to get an access_code by issuing the following:

  https: // asdf.bla.dev / adfs / oauth2 / authorize? Response_type = code and client_id = abcd-abcd-abcd and redirect_uri = https: // local host / proof and resources = testervice.asdf.oauth  

This redirects to this url for me

  https: // localhost / authentication code = U2dIhBsRt0eDnEhAEq2fcw.d3LeME__0QgBAC8zvLR6mTlRvC0.fLKd5eQRjXslTEeEck17m6Zo4fKKO9oGk2byUyr4CyLQHKSJs5wKzWZcusLXqXk22tdzvswxBjzaYcCqzkbeT5VxhMEdq97vbSnGAQ1tVD0vutVIfbx1Mb5A-QItgOx8a8LBapn7axCpGThoVH2jWCVM59X5eOt9ACuJTTK1UFbNaldaTkuGdqrtcGC8tFoSOP96G-4sHgIBpi2t8BSwCdf3asDd3AJAOYk6gnUkH5WJQRf2pg4S_AkgOxseeZW8Y5qbWAajyESkEmJ-UcWkV98uHlrmNsFwTSJ-Zonk-aZI_U85ZlZrsdpKzocrWM5HmfcvXm5XdXz2QXIHngIBTA  

but when I request Tries to redeem the token with Not:

  https://asdf.bla.dev/adfs/oauth2/token?grant_type=authorization_code&client_id= ABCD-ABCD-ABCD & amp; Redirect_uri = https: // local host / certification & amp; Do not get add-token code = U2dIhBsRt0eDnEhAEq2fcw.d3LeME__0QgBAC8zvLR6mTlRvC0.fLKd5eQRjXslTEeEck17m6Zo4fKKO9oGk2byUyr4CyLQHKSJs5wKzWZcusLXqXk22tdzvswxBjzaYcCqzkbeT5VxhMEdq97vbSnGAQ1tVD0vutVIfbx1Mb5A-QItgOx8a8LBapn7axCpGThoVH2jWCVM59X5eOt9ACuJTTK1UFbNaldaTkuGdqrtcGC8tFoSOP96G-4sHgIBpi2t8BSwCdf3asDd3AJAOYk6gnUkH5WJQRf2pg4S_AkgOxseeZW8Y5qbWAajyESkEmJ-UcWkV98uHlrmNsFwTSJ-is Zonk-aZI_U85ZlZrsdpKzocrWM5HmfcvXm5XdXz2QXIHngIBTA  
An error and I

.

Event viewer of ADFS service has the following error:

There are no registered protocol handlers on path / ADF / Oeth 2 for processing incoming requests / tokens .

I made a request after this information:

I do not know what is going wrong and really appreciates your help!

You are on the right track. You get the code on the redirect URI. Now we need to make a post request at the / token end point using the following parameters:

  • code - you have to remove
  • redirect_uri
  • grant_type


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -