How to connect ADFS with OAuth 2.0 protocol

%3CLINGO-SUB%20id%3D%22lingo-sub-1936420%22%20slang%3D%22zh-CN%22%3EHow%20to%20connect%20ADFS%20with%20OAuth%202.0%20protocol%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1936420%22%20slang%3D%22zh-CN%22%3E%3CP%3ECurrent%20environment%20information%3C%2FP%3E%3CP%3EServer%20OS%20Version%3A%20Windows%20Server%202012%20R2%3C%2FP%3E%3CP%3EADFS%20was%20installed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can%20not%20create%20an%20OAuth%202.0%20ausin%20request%20after%20ADFS%20client%20added.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22dingstudio_0-1606494500865.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236364i8AA272A9680BAA70%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22dingstudio_0-1606494500865.png%22%20alt%3D%22dingstudio_0-1606494500865.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22dingstudio_0-1606495228148.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236365i2CC2B3281AA0AE4F%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22dingstudio_0-1606495228148.png%22%20alt%3D%22dingstudio_0-1606495228148.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20use%20this%20url%3A%20(this%20domain%20is%20for%20internal%20network%20access%20only%2C%20because%20firewall%20is%20running%20to%20filter%20tcp%2080%2F443%20port%20by%20china%20telecom%20government%20security%20policy%20%3CA%20href%3D%22https%3A%2F%2Fadfs.dingplace.com%2Fadfs%2Foauth2%2Fauthorize%3Fclient_id%3Dwifidog_authportal%26amp%3Bresponse_type%3Dcode%26amp%3Bredirect_uri%3Dhttp%253A%252F%252F172.20.1.6%253A8080%252F~dingstudio%252FwebAuth%252FadfsLogin.php%26amp%3Bscope%3Dopenid%26amp%3Bstate%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fadfs.dingplace.com%2Fadfs%2Foauth2%2Fauthorize%3Fclient_id%3Dwifidog_authportal%26amp%3Bresponse_type%3Dcode%26amp%3Bredirect_uri%3Dhttp%253A%252F%252F172.20.1.6%253A8080%252F~dingstudio%252FwebAuth%252FadfsLogin.php%26amp%3Bscope%3Dopenid%26amp%3Bstate%3C%2FA%3E%20%3CA%20href%3D%22https%3A%2F%2Fadfs.dingplace.com%2Fadfs%2Foauth2%2Fauthorize%3Fclient_id%3Dwifidog_authportal%26amp%3Bresponse_type%3Dcode%26amp%3Bredirect_uri%3Dhttp%253A%252F%252F172.20.1.6%253A8080%252F~dingstudio%252FwebAuth%252FadfsLogin.php%26amp%3Bscope%3Dopenid%26amp%3Bstate%3D%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fadfs.dingplace.com%2Fadfs%2Foauth2%2Fauthorize%3Fclient_id%3Dwifidog_authportal%26amp%3Bresponse_type%3Dcode%26amp%3Bredirect_uri%3Dhttp%253A%252F%252F172.20.1.6%253A8080%252F~dingstudio%252FwebAuth%252FadfsLogin.php%26amp%3Bscope%3Dopenid%26amp%3Bstate%3D%3C%2FA%3E%3C%2FP%3E%3CP%3Eto%20request%2C%20but%20ADFS%20redirect%20my%20request%20to%20an%20error%20page%20and%20take%20some%20error%20description.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20can%20make%20the%20ADFS%20work%20correctly%2C%20and%20where%20is%20ADFS'%20resource%20application%20program%20interface%3F%3C%2FP%3E%3CP%3EBefore%20ADFS%2C%20my%20sign%20single%20on%20solution%20is%20CAS%20ormyself%20auth%20server.%3C%2FP%3E%3CP%3EI%20want%20a%20solution%20to%20help%20me.%20%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fhtml%2Fimages%2Femoticons%2Ffacepalm_40x40.gif%22%20alt%3D%22%3Afacepalm%3A%22%20title%3D%22%3Afacepalm%3A%22%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1936420%22%20slang%3D%22zh-CN%22%3E%3CLINGO-LABEL%3EActive%20Directory%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EActive%20directory%20federation%20services%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eadfs%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Current environment information

Server OS Version: Windows Server 2012 R2

ADFS was installed.

 

I can not create an OAuth 2.0 authentication request after ADFS client added.

dingstudio_0-1606494500865.png

dingstudio_0-1606495228148.png

I use this url:(This domain is for internal network access only, because firewall is running to filter tcp 80/443 port by china telecom government security policy limit)  https://adfs.dingplace.com/adfs/oauth2/authorize?client_id=wifidog_authportal&response_type=code&red...

to request authentication, but ADFS redirect my request to an error page and take some error description.

 

How can make the ADFS work correctly, and where is ADFS' s resource application program interface ?

Before ADFS, my single sign on solution is CAS or myself auth server.

I want a solution to help me. :facepalm:

 

 

0 Replies