tag:blogger.com,1999:blog-11195359.post9089354478993670911..comments2023-08-18T17:53:12.377+12:00Comments on Random thoughts and collisions: Swagger : Using Swagger for Implicit Grant on ADFS 4.0nzpcmadhttp://www.blogger.com/profile/06352759009406963230noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-11195359.post-45583111214967928252022-07-20T20:13:06.156+12:002022-07-20T20:13:06.156+12:00he prefix for audience is done by adfs to access t...he prefix for audience is done by adfs to access tokens with a guid client id. To avoid it, use the uri of the resource as the client id for the web api in the adfs app group. Also: swagger expects an id token, but adds will not issue such a thing without posts So you have to use native client for swagger in adfs. Also, you have to modify the response type requested by swagger to be code+token. Either manually correct the adfs call or hack some javascript into swagger to intercept and modify the query parameters. Finally, adfs needs to be setup to add claims through the claims rules. Yeah, adfs and swagger is somewhat of a headachebut<br /><br /><br /><b>Did you try any solution</b>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11195359.post-69349530268158911472018-08-18T12:38:40.102+12:002018-08-18T12:38:40.102+12:00the prefix for audience is done by adfs to access ...the prefix for audience is done by adfs to access tokens with a guid client id. To avoid it, use the uri of the resource as the client id for the web api in the adfs app group. Also: swagger expects an id token, but adds will not issue such a thing without posts So you have to use native client for swagger in adfs. Also, you have to modify the response type requested by swagger to be code+token. Either manually correct the adfs call or hack some javascript into swagger to intercept and modify the query parameters. Finally, adfs needs to be setup to add claims through the claims rules. Yeah, adfs and swagger is somewhat of a headache .. Anonymoushttps://www.blogger.com/profile/10437441564594575782noreply@blogger.comtag:blogger.com,1999:blog-11195359.post-36586778280281522812017-08-23T08:36:06.693+12:002017-08-23T08:36:06.693+12:00Sadly, no.
I have also seen this problem outside ...Sadly, no.<br /><br />I have also seen this problem outside of Swagger.<br />nzpcmadhttps://www.blogger.com/profile/06352759009406963230noreply@blogger.comtag:blogger.com,1999:blog-11195359.post-19107470198382381012017-08-22T22:07:09.182+12:002017-08-22T22:07:09.182+12:00I have the same problem. Did you solve it ?I have the same problem. Did you solve it ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11195359.post-15966541627869836812017-08-22T22:06:33.146+12:002017-08-22T22:06:33.146+12:00I have same problem with Oauth2 accesscode flow. D...I have same problem with Oauth2 accesscode flow. Did you solve problem ?Anonymoushttps://www.blogger.com/profile/18396249850583263224noreply@blogger.com