hmLoadTopic({
hmKeywords:"",
hmTitle:"IdentityServer4 Mode",
hmDescription:"Users with IdentityServer4 identity server will be able to connect it to LinkarWS to delegate Authentication to the identity server. Authorization will be performed in Li",
hmPrevLink:"ws_oauth.html",
hmNextLink:"ws_installation.html",
hmParentLink:"ws_auth-modes.html",
hmBreadCrumbs:"<a href=\"ws_auth-modes.html\">Authentication Modes<\/a>",
hmTitlePath:"Authentication Modes > IdentityServer4 Mode",
hmHeader:"<h1 class=\"p_Heading1\" style=\"page-break-after: avoid;\"><span class=\"f_Heading1\">IdentityServer4 Mode<\/span><\/h1>\n\r",
hmBody:"<p class=\"p_Normal\">&nbsp;<\/p>\n\r<p class=\"p_Normal\" style=\"text-align: center;\"><img style=\"margin:0 auto 0 auto;width:43.7500rem;height:18.7500rem;border:none\" src=\".\/images\/modoidentityserver4.png\"\/><\/p>\n\r<p class=\"p_Normal\" style=\"text-align: center;\">&nbsp;<\/p>\n\r<p class=\"p_Normal\" style=\"text-align: center;\">&nbsp;<\/p>\n\r<p class=\"p_Normal\" style=\"text-align: justify;\">&nbsp;<br \/>\n\r<span class=\"f_ImageCaption\" style=\"font-size: 1.00rem; font-family: Arial,Helvetica,sans-serif; font-style: normal;\">Users with IdentityServer4 identity server will be able to connect it to LinkarWS to delegate Authentication to the identity server. Authorization will be performed in Linkar using the token returned by IdentityServer4. <\/span><\/p>\n\r<p class=\"p_Normal\" style=\"text-align: justify;\">&nbsp;<\/p>\n\r<p class=\"p_Normal\" style=\"text-align: justify;\"><span class=\"f_ImageCaption\" style=\"font-size: 1.00rem; font-family: Arial,Helvetica,sans-serif; font-style: normal;\">In this case the Scopes and Claims control is defined in the IdentityServer4 server itself.<\/span><\/p>\n\r<p class=\"p_Normal\" style=\"text-align: justify;\">&nbsp;<br \/>\n\r<span class=\"f_ImageCaption\" style=\"font-size: 1.00rem; font-family: Arial,Helvetica,sans-serif; font-style: normal;\">The value of the &quot;Name&quot; property of the &quot;ApiResource&quot; configured in the IdentityServer4 identity server must be specified in the LinkarWS configuration (MyApi in the example). <\/span><\/p>\n\r<p class=\"p_Normal\" style=\"text-align: justify;\">&nbsp;<\/p>\n\r<p class=\"p_Normal\" style=\"text-align: justify;\">&nbsp;<\/p>\n\r<p class=\"p_Normal\" style=\"text-align: center;\"><img style=\"margin:0 auto 0 auto;width:47.9375rem;height:9.9375rem;border:none\" src=\".\/images\/modoidentityserverfields.png\"\/><\/p>\n\r<p class=\"p_Normal\" style=\"text-align: justify;\">&nbsp;<\/p>\n\r<p class=\"p_Normal\" style=\"text-align: justify;\"><span class=\"f_ImageCaption\" style=\"font-size: 1.00rem; font-family: Arial,Helvetica,sans-serif; font-style: normal;\">The url of the IdentityServer4 identity server must also be specified in the &quot;Authority&quot; property.<\/span><\/p>\n\r<p class=\"p_Normal\" style=\"text-align: justify;\">&nbsp;<\/p>\n\r<p class=\"p_Normal\" style=\"text-align: justify;\"><span class=\"f_ImageCaption\" style=\"font-size: 1.00rem; font-family: Arial,Helvetica,sans-serif; font-style: normal;\">Do not forget that inside the IdentityServer4 identity server, in the &quot;Client&quot; declaration, the return url must be specified, to which it will redirect once the access token has been obtained. It could be something like this:<\/span><\/p>\n\r<p class=\"p_Normal\" style=\"text-align: justify;\">&nbsp;<\/p>\n\r<p class=\"p_Normal\" style=\"text-align: center;\"><span class=\"f_ImageCaption\" style=\"font-size: 1.00rem; font-family: Arial,Helvetica,sans-serif;\">http:\/\/localhost:12000\/swagger\/index.html?api_resource=apidemoID4<\/span><\/p>\n\r<div class=\"p_Normal\" style=\"text-align: center;\"><div style=\"margin:0 auto 0 auto;width:80%;max-width:3792px;height:auto;\"><img style=\"width:100%;height:auto;border:none\" src=\".\/images\/blank.png\"\/><\/div><\/div>\n\r<p class=\"p_Normal\" style=\"text-align: justify;\">&nbsp;<\/p>\n\r"
})
