{"id":319,"date":"2023-02-02T12:29:44","date_gmt":"2023-02-02T12:29:44","guid":{"rendered":"https:\/\/dijix.com.ua\/blog\/?p=319"},"modified":"2023-02-02T16:01:29","modified_gmt":"2023-02-02T16:01:29","slug":"google-avtorizacziya-s-identity","status":"publish","type":"post","link":"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/","title":{"rendered":"Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u044f \u0437 Identity"},"content":{"rendered":"<p>\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 \u043c\u0438 \u0440\u043e\u0437\u0440\u043e\u0431\u0438\u043c\u043e \u0434\u043e\u0434\u0430\u0442\u043e\u043a \u0442\u0438\u043f\u0443 Asp.Net Core MVC Identity, \u0437 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f\u043c Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u0457.<\/p>\n<p>\u0420\u0456\u0447 \u0443 \u0442\u0456\u043c, \u0449\u043e \u0432 \u0434\u0430\u043d\u0438\u0439 \u0447\u0430\u0441 \u0443 \u0431\u0430\u0433\u0430\u0442\u044c\u043e\u0445 \u043b\u044e\u0434\u0435\u0439 \u0432\u0436\u0435 \u0454 \u043e\u0431\u043b\u0456\u043a\u043e\u0432\u0456 \u0437\u0430\u043f\u0438\u0441\u0438, \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u0456 \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0456\u0445 \u0434\u043e\u0434\u0430\u0442\u043a\u0430\u0445, \u0442\u0430\u043a\u0438\u0445 \u044f\u043a Microsoft, Google, Facebook, Twitter \u0456 \u0442. \u0434. \u041c\u0438 \u0434\u043e\u0432\u0456\u0440\u044f\u0454\u043c\u043e \u0446\u0438\u043c \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0456\u043c \u0434\u043e\u0434\u0430\u0442\u043a\u0430\u043c \u0456 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u043c\u043e \u0457\u0445 \u0434\u043b\u044f \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0446\u0456\u0457 \u0442\u0430 \u0456\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0446\u0456\u0457 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430. \u0422\u043e\u043c\u0443 \u0442\u0430\u043a\u0456 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0456 \u0434\u043e\u0434\u0430\u0442\u043a\u0438 \u043d\u0430\u0437\u0438\u0432\u0430\u044e\u0442\u044c\u0441\u044f \u0434\u043e\u0432\u0456\u0440\u0435\u043d\u0438\u043c\u0438 \u043f\u043e\u0441\u0442\u0430\u0447\u0430\u043b\u044c\u043d\u0438\u043a\u0430\u043c\u0438 \u0456\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0446\u0456\u0439\u043d\u0438\u0445 \u0434\u0430\u043d\u0438\u0445.<\/p>\n<h2>Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0441 Identity<\/h2>\n<ol>\n<li><a href=\"#googlecreate\">\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043e\u0431\u043b\u0456\u043a\u043e\u0432\u043e\u0433\u043e \u0437\u0430\u043f\u0438\u0441\u0443 Google OAuth<\/a><\/li>\n<li><a href=\"#projectcreate\">\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0443<\/a><\/li>\n<li><a href=\"#userauth\">\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u044f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0456\u0432 \u0432 Identity<\/a><\/li>\n<\/ol>\n<p>\u042f\u043a\u0449\u043e \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u0437\u0430\u0445\u043e\u0447\u0435 \u0443\u0432\u0456\u0439\u0442\u0438 \u0432 \u043d\u0430\u0448 \u0437\u0430\u0441\u0442\u043e\u0441\u0443\u043d\u043e\u043a, \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u044e\u0447\u0438 \u0441\u0432\u0456\u0439 \u0430\u043a\u0430\u0443\u043d\u0442 Google, \u0432\u0456\u043d \u043d\u0430\u0442\u0438\u0441\u043d\u0435 \u043d\u0430 \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u0443 \u043d\u0430\u043c\u0438 \u043a\u043d\u043e\u043f\u043a\u0443 Google:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-64 size-full aligncenter\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/2.png\" alt=\"\" width=\"864\" height=\"311\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/2.png 864w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/2-300x108.png 300w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/2-768x276.png 768w\" sizes=\"auto, (max-width: 864px) 100vw, 864px\" \/><\/p>\n<p>\u0412\u0432\u0435\u0434\u0435 \u0441\u0432\u043e\u0457 \u0434\u0430\u043d\u0456:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-62 size-full aligncenter\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok.png\" alt=\"\" width=\"467\" height=\"625\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok.png 467w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-224x300.png 224w\" sizes=\"auto, (max-width: 467px) 100vw, 467px\" \/><\/p>\n<p>\u041f\u0456\u0441\u043b\u044f \u0447\u043e\u0433\u043e, \u0431\u0443\u0434\u0435 \u0443\u0441\u043f\u0456\u0448\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u0438\u0439 \u043d\u0430 \u0432\u0430\u0448\u043e\u043c\u0443 \u0441\u0430\u0439\u0442\u0456!<\/p>\n<h2 id=\"googlecreate\" style=\"text-align: center;\"><b>\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043e\u0431\u043b\u0456\u043a\u043e\u0432\u043e\u0433\u043e \u0437\u0430\u043f\u0438\u0441\u0443 Google OAuth<\/b><\/h2>\n<p>Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u044f \u0437 Identity \u0432\u0438\u043c\u0430\u0433\u0430\u0454 \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043e\u0431\u043b\u0456\u043a\u043e\u0432\u043e\u0433\u043e \u0437\u0430\u043f\u0438\u0441\u0443 \u0432 \u043a\u043e\u043c\u043f\u0430\u043d\u0456\u0457 Google. \u041d\u0430\u043c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u0456 ClientId \u0456 Client Secret \u0443 \u0434\u043e\u0434\u0430\u0442\u043a\u0443 \u0434\u043b\u044f \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0446\u0456\u0457 Google. \u041f\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044c \u043d\u0430 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439 \u0441\u0430\u0439\u0442 \u0456 \u0443\u0432\u0456\u0439\u0434\u0456\u0442\u044c \u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0437 \u043e\u0431\u043b\u0456\u043a\u043e\u0432\u0438\u043c\u0438 \u0434\u0430\u043d\u0438\u043c\u0438 Google:<\/p>\n<p><a href=\"https:\/\/console.cloud.google.com\/apis\/\">https:\/\/console.cloud.google.com\/apis\/<\/a><\/p>\n<p>\u0429\u043e\u0439\u043d\u043e \u0432\u0438 \u0443\u0432\u0456\u0439\u0448\u043b\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u043f\u0435\u0440\u0448\u0438\u043c \u043a\u0440\u043e\u043a\u043e\u043c \u0431\u0443\u0434\u0435 \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0454\u043a\u0442\u0443, \u044f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 \u0439\u043e\u0433\u043e \u0449\u0435 \u043d\u0435\u043c\u0430\u0454. \u041d\u0430\u0440\u0430\u0437\u0456 \u0443 \u043c\u0435\u043d\u0435 \u043d\u0435\u043c\u0430\u0454 \u0436\u043e\u0434\u043d\u0438\u0445 \u043f\u0440\u043e\u0454\u043a\u0442\u0456\u0432, \u0442\u043e\u043c\u0443 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0441\u0442\u0432\u043e\u0440\u0438\u043c\u043e \u043d\u043e\u0432\u0438\u0439 \u043f\u0440\u043e\u0454\u043a\u0442, \u043d\u0430\u0442\u0438\u0441\u043d\u0443\u0432\u0448\u0438 \u043d\u0430 Select a project. \u042f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0454 \u043f\u0440\u043e\u0454\u043a\u0442\u0438, \u0442\u043e \u0437\u0432\u0435\u0440\u0445\u0443 \u0431\u0443\u0434\u0435 \u0432\u0438\u0432\u0435\u0434\u0435\u043d\u043e \u043d\u0430\u0437\u0432\u0443 \u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0454\u043a\u0442\u0443, \u0437\u0430 \u044f\u043a\u0438\u043c \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u043e \u043d\u0430\u0442\u0438\u0441\u043d\u0443\u0442\u0438:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-65 size-full aligncenter\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/1.png\" alt=\"\" width=\"1124\" height=\"631\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/1.png 1124w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/1-300x168.png 300w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/1-1024x575.png 1024w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/1-768x431.png 768w\" sizes=\"auto, (max-width: 1124px) 100vw, 1124px\" \/><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440 \u0434\u0430\u0439\u0442\u0435 \u043e\u0441\u043c\u0438\u0441\u043b\u0435\u043d\u0435 \u0456\u043c&#8217;\u044f \u0441\u0432\u043e\u0454\u043c\u0443 \u043f\u0440\u043e\u0454\u043a\u0442\u0443. \u042f \u043d\u0430\u0437\u0432\u0430\u0432 \u0441\u0432\u0456\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 Google Auth STS. STS \u043e\u0437\u043d\u0430\u0447\u0430\u0454 Security Token Service, \u0442\u043e\u043c\u0443 \u0449\u043e \u043c\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u043c\u043e \u0446\u0435\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0434\u043b\u044f \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0435\u043d\u043d\u044f \u0441\u043b\u0443\u0436\u0431\u0438 \u0456\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0446\u0456\u0457 \u043d\u0430\u0448\u043e\u0433\u043e \u0434\u043e\u0434\u0430\u0442\u043a\u0430 .NET Core:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-66 aligncenter\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-1.png\" alt=\"\" width=\"556\" height=\"434\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-1.png 556w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-1-300x234.png 300w\" sizes=\"auto, (max-width: 556px) 100vw, 556px\" \/><\/p>\n<p>\u041d\u0430\u0442\u0438\u0441\u043d\u0435\u043c\u043e <strong>CREATE<\/strong>, \u0449\u043e\u0431 \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u0446\u0435\u0439 \u043d\u043e\u0432\u0438\u0439 \u043f\u0440\u043e\u0454\u043a\u0442.<\/p>\n<p>\u041f\u0456\u0441\u043b\u044f \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0454\u043a\u0442\u0443 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u043c \u043a\u0440\u043e\u043a\u043e\u043c \u0431\u0443\u0434\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f API \u043a\u043b\u0430\u0441\u0443 Google.<\/p>\n<p>\u0414\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u043d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043d\u0430 \u043d\u0430\u0432\u0456\u0433\u0430\u0446\u0456\u0439\u043d\u0435 \u043c\u0435\u043d\u044e \u0431\u0456\u0431\u043b\u0456\u043e\u0442\u0435\u043a\u0438 \u0437\u043b\u0456\u0432\u0430, \u0430\u043b\u0435 \u044f\u043a\u0449\u043e \u0437 \u044f\u043a\u043e\u0457\u0441\u044c \u043f\u0440\u0438\u0447\u0438\u043d\u0438 \u0432\u0438 \u043d\u0435 \u0431\u0430\u0447\u0438\u0442\u0435 \u0446\u044c\u043e\u0433\u043e \u043d\u0430\u0432\u0456\u0433\u0430\u0446\u0456\u0439\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044e, \u043d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043d\u0430 \u043b\u043e\u0433\u043e\u0442\u0438\u043f <strong>Google APIs<\/strong>, \u0456 \u0432\u0438 \u043f\u043e\u0431\u0430\u0447\u0438\u0442\u0435 \u0439\u043e\u0433\u043e. \u0423 \u0441\u0430\u043c\u043e\u043c\u0443 \u043c\u0435\u043d\u044e \u0432\u0438\u0431\u0435\u0440\u0456\u0442\u044c \u043f\u0443\u043d\u043a\u0442 &#8211; <strong>Library<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-67 aligncenter\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-2.png\" alt=\"\" width=\"461\" height=\"354\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-2.png 461w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-2-300x230.png 300w\" sizes=\"auto, (max-width: 461px) 100vw, 461px\" \/><\/p>\n<p>\u0423 \u0432\u0430\u0441 \u0432\u0456\u0434\u043a\u0440\u0438\u0454\u0442\u044c\u0441\u044f \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430 \u043f\u043e\u0448\u0443\u043a\u0443, \u0437\u043d\u0430\u0439\u0434\u0456\u0442\u044c \u0442\u0443\u0442 <strong>Google+ API<\/strong> \u0456 \u043d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043d\u0430 \u043d\u044c\u043e\u0433\u043e:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-68 aligncenter\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-3.png\" alt=\"\" width=\"976\" height=\"648\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-3.png 976w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-3-300x199.png 300w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-3-768x510.png 768w\" sizes=\"auto, (max-width: 976px) 100vw, 976px\" \/><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440 \u043d\u0430 \u0446\u044c\u043e\u043c\u0443 \u0435\u043a\u0440\u0430\u043d\u0456 \u0454\u0434\u0438\u043d\u0438\u043c \u043e\u0431\u043e\u0432&#8217;\u044f\u0437\u043a\u043e\u0432\u0438\u043c \u043f\u043e\u043b\u0435\u043c \u0454 \u0456\u043c&#8217;\u044f \u0437\u0430\u0441\u0442\u043e\u0441\u0443\u043d\u043a\u0443, \u0446\u0435 \u0456\u043c&#8217;\u044f \u0431\u0443\u0434\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0435\u0432\u0456 \u043d\u0430 \u0435\u043a\u0440\u0430\u043d\u0456 \u0437\u0433\u043e\u0434\u0438, \u043d\u0430\u0440\u0430\u0437\u0456 \u043c\u0438 \u0441\u0442\u0432\u043e\u0440\u044e\u0454\u043c\u043e \u0446\u0456 \u043e\u0431\u043b\u0456\u043a\u043e\u0432\u0456 \u0434\u0430\u043d\u0456 OAuth \u0434\u043b\u044f \u043d\u0430\u0448\u043e\u0433\u043e \u0437\u0430\u0441\u0442\u043e\u0441\u0443\u043d\u043a\u0443 .NET Core.<\/p>\n<p>\u0422\u0438\u043f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 &#8211; <strong>External<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-69 aligncenter\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-4.png\" alt=\"\" width=\"544\" height=\"391\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-4.png 544w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-4-300x216.png 300w\" sizes=\"auto, (max-width: 544px) 100vw, 544px\" \/><\/p>\n<p>\u042f \u0432\u043a\u0430\u0437\u0430\u0432 \u043d\u0438\u0436\u0447\u0435 \u043d\u0430\u0437\u0432\u0443 \u0434\u043e\u0434\u0430\u0442\u043a\u0430, \u043f\u043e\u0448\u0442\u0443 \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u043a\u0438 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0456\u0432 \u0456 \u0430\u0434\u0440\u0435\u0441\u0443 \u0435\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0457 \u043f\u043e\u0448\u0442\u0438 \u0440\u043e\u0437\u0440\u043e\u0431\u043d\u0438\u043a\u0430:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-70 aligncenter\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-5.png\" alt=\"\" width=\"603\" height=\"751\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-5.png 603w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-5-241x300.png 241w\" sizes=\"auto, (max-width: 603px) 100vw, 603px\" \/><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440 \u043f\u0440\u043e\u043a\u0440\u0443\u0442\u0456\u0442\u044c \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443 \u0434\u043e\u043d\u0438\u0437\u0443 \u0456 \u043d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 &#8211; \u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0442\u0430 \u043f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u0442\u0438.<\/p>\n<p>\u041f\u0456\u0441\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u043d\u0430\u0442\u0438\u0441\u043d\u0443\u0442\u0438 \u043d\u0430 \u043d\u0430\u0432\u0456\u0433\u0430\u0446\u0456\u0439\u043d\u0443 \u043f\u0430\u043d\u0435\u043b\u044c \u043e\u0431\u043b\u0456\u043a\u043e\u0432\u0438\u0445 \u0434\u0430\u043d\u0438\u0445, \u0430 \u043f\u043e\u0442\u0456\u043c \u0432\u0438\u0431\u0440\u0430\u0442\u0438 \u043f\u0443\u043d\u043a\u0442:<b> CREATE CREDENTIALS<\/b> &#8211; <b>OAuth client ID<\/b>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-71 aligncenter\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-6.png\" alt=\"\" width=\"943\" height=\"406\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-6.png 943w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-6-300x129.png 300w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-6-768x331.png 768w\" sizes=\"auto, (max-width: 943px) 100vw, 943px\" \/><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440 \u043d\u0430 \u0446\u044c\u043e\u043c\u0443 \u0435\u043a\u0440\u0430\u043d\u0456 \u0432\u0438\u0431\u0435\u0440\u0456\u0442\u044c <strong>Web Application<\/strong>, \u0442\u043e\u043c\u0443 \u0449\u043e \u0446\u0435 \u0442\u0438\u043f \u043d\u0430\u0448\u043e\u0433\u043e \u043a\u043b\u0456\u0454\u043d\u0442\u0441\u044c\u043a\u043e\u0433\u043e \u0434\u043e\u0434\u0430\u0442\u043a\u0430, \u0434\u0430\u043b\u0456 \u0432\u043a\u0430\u0436\u0456\u0442\u044c \u0456\u043c&#8217;\u044f \u0434\u043b\u044f \u043a\u043b\u0456\u0454\u043d\u0442\u0430. \u042f \u0432\u043a\u0430\u0437\u0430\u0432 \u0456\u043c&#8217;\u044f Identity client. \u0414\u0430\u043b\u0456 Authorised JavaScript origins, \u0454 URI \u0430\u0434\u0440\u0435\u0441\u043e\u044e, \u043d\u0430 \u044f\u043a\u0456\u0439 \u0440\u043e\u0437\u043c\u0456\u0449\u0435\u043d\u043e \u043a\u043b\u0456\u0454\u043d\u0442\u0441\u044c\u043a\u0438\u0439 \u0434\u043e\u0434\u0430\u0442\u043e\u043a:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-72 aligncenter\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-7.png\" alt=\"\" width=\"541\" height=\"604\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-7.png 541w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-7-269x300.png 269w\" sizes=\"auto, (max-width: 541px) 100vw, 541px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">\u041d\u0430\u0440\u0430\u0437\u0456 \u043d\u0430\u0448 \u043f\u0440\u043e\u0454\u043a\u0442 \u0432\u0441\u0435 \u0449\u0435 \u043f\u0440\u0430\u0446\u044e\u0454 \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0456\u0439 \u043c\u0430\u0448\u0438\u043d\u0456. \u0429\u043e\u0431 \u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 URI, \u0437\u0430 \u044f\u043a\u0438\u043c \u043d\u0430\u0448 \u043f\u0440\u043e\u0454\u043a\u0442 \u0440\u043e\u0437\u043c\u0456\u0449\u0435\u043d\u0438\u0439 \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0456\u0439 \u043c\u0430\u0448\u0438\u043d\u0456, \u0443 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0456 \u043f\u0440\u043e\u0454\u043a\u0442\u0443 <strong>Solution Explorer<\/strong> \u2013 <strong>Properties<\/strong> &#8211;<strong> launchSettings.json<\/strong>, \u0443 \u0446\u044c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0456 \u0431\u0443\u0434\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0430 url-\u0430\u0434\u0440\u0435\u0441\u0430 \u043f\u0440\u043e\u0454\u043a\u0442\u0443:<\/span><\/p>\n<pre class=\"lang:default decode:true\"> \"profiles\": {\r\n    \"GoogleAuth\": {\r\n      \"commandName\": \"Project\",\r\n      \"dotnetRunMessages\": true,\r\n      \"launchBrowser\": true,\r\n      \"applicationUrl\": \"https:\/\/localhost:7172;http:\/\/localhost:5172\",\r\n      \"environmentVariables\": {\r\n        \"ASPNETCORE_ENVIRONMENT\": \"Development\"\r\n      }\r\n    },\r\n<\/pre>\n<p>\u041d\u0430\u0440\u0435\u0448\u0442\u0456, \u0432\u0438 \u043c\u0430\u0454\u0442\u0435 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u0456 URI \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044f. \u0426\u0435 URI, \u043d\u0430 \u044f\u043a\u0438\u0439 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u0431\u0443\u0434\u0435 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0439 \u043f\u0456\u0441\u043b\u044f \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0446\u0456\u0457 \u0432 Google. \u0412\u043a\u0430\u0436\u0456\u0442\u044c \u0442\u0430\u043c \u0442\u0430\u043a\u0443 \u0430\u0434\u0440\u0435\u0441\u0443:<\/p>\n<p><a href=\"https:\/\/localhost:7172\/signin-google\">https:\/\/localhost:7172\/signin-google<\/a><\/p>\n<p>\u0421\u0442\u043e\u0440\u0456\u043d\u043a\u0430 \u0437 \u043d\u0430\u0437\u0432\u043e\u044e signin-google, \u043e\u0431\u043e\u0432&#8217;\u044f\u0437\u043a\u043e\u0432\u0430!<\/p>\n<p><span style=\"font-weight: 400;\">\u041d\u0430\u0442\u0438\u0441\u043d\u0435\u043c\u043e \u043a\u043d\u043e\u043f\u043a\u0443 &#8211; <strong>Create<\/strong>. \u041e\u0442\u0436\u0435, \u0442\u0435\u043f\u0435\u0440 \u0432\u0438 \u043e\u0442\u0440\u0438\u043c\u0443\u0454\u0442\u0435 <\/span><b>Client_Id<\/b><span style=\"font-weight: 400;\"> \u0456 <\/span><b>Client_Secret<\/b><span style=\"font-weight: 400;\">:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-73 aligncenter\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-8.png\" alt=\"\" width=\"476\" height=\"334\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-8.png 476w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-8-300x211.png 300w\" sizes=\"auto, (max-width: 476px) 100vw, 476px\" \/><\/p>\n<p>\u041d\u0430\u043c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u0456 \u043e\u0431\u0438\u0434\u0432\u0430 \u0446\u0456 \u0456\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u043e\u0440\u0438 \u0434\u043b\u044f \u0456\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0456\u0457 \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0446\u0456\u0457 google \u0432 \u043d\u0430\u0448 \u043f\u0440\u043e\u0454\u043a\u0442, \u0437\u0430\u0432\u0434\u044f\u043a\u0438 \u0457\u043c Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u044f \u0437 Identity \u043f\u0440\u0430\u0446\u044e\u0432\u0430\u0442\u0438\u043c\u0435.<\/p>\n<h2 id=\"projectcreate\" style=\"text-align: center;\"><b>\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0443<\/b><\/h2>\n<p>\u042f \u043e\u0447\u0456\u043a\u0443\u044e \u0432\u0456\u0434 \u0432\u0430\u0441 \u0437\u043d\u0430\u043d\u043d\u044f \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0456\u0439 \u043e\u0431&#8217;\u0454\u043a\u0442\u043d\u043e-\u043e\u0440\u0456\u0454\u043d\u0442\u043e\u0432\u0430\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0443\u0432\u0430\u043d\u043d\u044f \u043d\u0430 C#. \u042f \u043f\u0440\u0438\u043f\u0443\u0441\u043a\u0430\u044e, \u0449\u043e \u0432\u0438 \u0442\u0430\u043a\u043e\u0436 \u0437\u043d\u0430\u0454\u0442\u0435 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0456\u0457 .NET Core, \u043e\u0441\u043e\u0431\u043b\u0438\u0432\u043e \u043f\u0430\u0442\u0435\u0440\u043d MVC.<\/p>\n<p>\u0412\u0456\u0434\u043a\u0440\u0438\u0439\u0442\u0435 Visual Studio 2022.<\/p>\n<p>\u0421\u0442\u0432\u043e\u0440\u0456\u0442\u044c \u043f\u0440\u043e\u0454\u043a\u0442 &#8220;<strong>Asp.Net Core Web Application(.Net Core)<\/strong>&#8221; \u0456\u0437 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u043c <strong>MVC Template<\/strong>. \u0423 \u0433\u0440\u0430\u0444\u0456 &#8220;Authentication type&#8221; \u0437\u0430\u043b\u0438\u0448\u0430\u0454\u043c\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f <strong>None<\/strong>.<\/p>\n<p>\u041e\u0442\u0436\u0435, \u0442\u0435\u043f\u0435\u0440 \u0432\u0430\u043c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0446\u0456\u044e <strong>Google<\/strong> \u0434\u043b\u044f \u043d\u0430\u0448\u043e\u0433\u043e \u0434\u043e\u0434\u0430\u0442\u043a\u0430 .NET Core, \u043c\u0438 \u0437\u0440\u043e\u0431\u0438\u043c\u043e \u0446\u0435 \u0432 \u043d\u0430\u0448\u043e\u043c\u0443 \u043f\u043e\u0447\u0430\u0442\u043a\u043e\u0432\u043e\u043c\u0443 \u043a\u043b\u0430\u0441\u0456 <strong>Program<\/strong>:<\/p>\n<pre class=\"lang:default decode:true\">builder.Services.AddAuthentication()\r\n                .AddGoogle(options =&gt;\r\n                {\r\n                    options.ClientId = \"898063592413-mobd4vo6t6jedcpi2d6lfr9s2958go82.apps.googleusercontent.com\";\r\n                    options.ClientSecret = \"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\";\r\n                });\r\n<\/pre>\n<p>\u042f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0434\u043e\u0434\u0430\u0454\u0442\u044c\u0441\u044f \u0446\u0435\u0439 \u0441\u0435\u0440\u0432\u0456\u0441, \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u043e\u0437\u0448\u0438\u0440\u0442\u0435 \u0439\u043e\u0433\u043e \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f, \u044f\u043a\u0449\u043e \u043d\u0435 \u0434\u043e\u0434\u0430\u0454\u0442\u044c\u0441\u044f, \u0434\u043e\u0434\u0430\u0439\u0442\u0435 \u044f\u043a \u0443 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456. \u041a\u043e\u0434, \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0438\u0439 \u0434\u043b\u044f \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0446\u0456\u0457 Google, \u0432\u043a\u043b\u044e\u0447\u043d\u043e \u0437 \u0446\u0438\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u043c <strong>AddGoogle()<\/strong>, \u043f\u0440\u0438\u0441\u0443\u0442\u043d\u0456\u0439 \u0443 \u043f\u0430\u043a\u0435\u0442\u0456:<\/p>\n<p><b>Microsoft.AspNetCore.Authentication.Google<\/b><\/p>\n<p>\u041d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u0434\u043e\u0434\u0430\u0442\u0438 \u0439\u043e\u0433\u043e \u0432 \u043f\u0440\u043e\u0454\u043a\u0442.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440 \u0437\u0430\u0439\u043c\u0435\u043c\u043e\u0441\u044f \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f\u043c Identity \u0437 \u043d\u0443\u043b\u044f. \u0421\u043f\u043e\u0447\u0430\u0442\u043a\u0443 \u0434\u043e\u0434\u0430\u043c\u043e \u0432 \u043f\u0430\u043f\u043a\u0443 <strong>Models<\/strong> \u043d\u043e\u0432\u0438\u0439 \u043a\u043b\u0430\u0441 <strong>User<\/strong>:<\/p>\n<pre class=\"lang:default decode:true\">public class User : IdentityUser\r\n    {\r\n        public int Year { get; set; }\r\n    }\r\n<\/pre>\n<p>\u041a\u043b\u0430\u0441 User \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0454 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0456 \u0443\u0441\u043f\u0430\u0434\u043a\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0432\u0456\u0434 \u043a\u043b\u0430\u0441\u0443 <strong>IdentityUser<\/strong>, \u043f\u0435\u0440\u0435\u0439\u043c\u0430\u044e\u0447\u0438 \u0432\u0441\u0456 \u0439\u043e\u0433\u043e \u0432\u043b\u0430\u0441\u0442\u0438\u0432\u043e\u0441\u0442\u0456. \u041a\u0440\u0456\u043c \u0442\u043e\u0433\u043e, \u0434\u043b\u044f \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0443 \u0442\u0443\u0442 \u0434\u043e\u0434\u0430\u043d\u043e \u0432\u043b\u0430\u0441\u0442\u0438\u0432\u0456\u0441\u0442\u044c Year, \u044f\u043a\u0430 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u0438\u043c\u0435 \u0440\u0456\u043a \u043d\u0430\u0440\u043e\u0434\u0436\u0435\u043d\u043d\u044f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430. \u0417\u0430 \u0431\u0430\u0436\u0430\u043d\u043d\u044f \u043c\u043e\u0436\u043d\u0430 \u0432\u0438\u0437\u043d\u0430\u0447\u0438\u0442\u0438 \u0431\u0443\u0434\u044c-\u044f\u043a\u0456 \u0456\u043d\u0448\u0456 \u0432\u043b\u0430\u0441\u0442\u0438\u0432\u043e\u0441\u0442\u0456.<\/p>\n<p>\u0414\u043b\u044f \u0432\u0437\u0430\u0454\u043c\u043e\u0434\u0456\u0457 \u0437 MS SQL Server \u0447\u0435\u0440\u0435\u0437 ASP.NET Core Identity \u0434\u043e\u0434\u0430\u043c\u043e \u0432 \u043f\u0440\u043e\u0454\u043a\u0442 \u0447\u0435\u0440\u0435\u0437 Nuget \u043f\u0430\u043a\u0435\u0442\u0438:<\/p>\n<pre class=\"lang:default decode:true\">Microsoft.AspNetCore.Identity.EntityFrameworkCore\u00a0\r\n\r\nMicrosoft.EntityFrameworkCore.SqlServer<\/pre>\n<p>\u0414\u0430\u043b\u0456 \u0434\u043e\u0434\u0430\u043c\u043e \u0432 \u043f\u0430\u043f\u043a\u0443 <strong>Data<\/strong> \u043a\u043b\u0430\u0441 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0443 \u0434\u0430\u043d\u0438\u0445 <strong>ApplicationContext<\/strong>. \u041e\u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u043c\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u043c\u043e Identity, \u0442\u043e \u043a\u043b\u0430\u0441 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0443 \u0434\u0430\u043d\u0438\u0445 \u0431\u0443\u0434\u0435 \u0443\u0441\u043f\u0430\u0434\u043a\u043e\u0432\u0443\u0432\u0430\u0442\u0438\u0441\u044f \u043d\u0435 \u0432\u0456\u0434 DbContext, \u0430 \u0432\u0456\u0434 <strong>IdentityDbContext<\/strong>:<\/p>\n<pre class=\"lang:default decode:true\">public class ApplicationContext : IdentityDbContext&lt;User&gt;\r\n    {\r\n        public ApplicationContext(DbContextOptions&lt;ApplicationContext&gt; options)\r\n            : base(options)\r\n        {\r\n            Database.EnsureCreated();\r\n        }\r\n    }\r\n<\/pre>\n<p>\u0423 \u043d\u0430\u0441 \u0454 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0456 \u043c\u043e\u0434\u0435\u043b\u0456, \u0456 \u0442\u0435\u043f\u0435\u0440 \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0430 \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u0438\u0445, \u044f\u043a\u0430 \u0431\u0443\u0434\u0435 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0442\u0438 \u0432\u0441\u0456 \u0434\u0430\u043d\u0456. \u0421\u043f\u043e\u0447\u0430\u0442\u043a\u0443 \u0432\u0438\u0437\u043d\u0430\u0447\u0438\u043c\u043e \u0443 \u0444\u0430\u0439\u043b\u0456 <strong>appsettings.json<\/strong> \u0440\u044f\u0434\u043e\u043a \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f:<\/p>\n<pre class=\"lang:default decode:true\">\"ConnectionStrings\": {\r\n    \"DefaultConnection\": \"Server=(localdb)\\mssqllocaldb;Database=usersstoredb;Trusted_Connection=True;\"\r\n  },\r\n<\/pre>\n<p>\u0414\u0430\u043b\u0456 \u043d\u0430\u043c \u0442\u0440\u0435\u0431\u0430 \u0437\u043c\u0456\u043d\u0438\u0442\u0438 \u043a\u043b\u0430\u0441 <strong>Program<\/strong>, \u0449\u043e\u0431 \u0437\u0430\u0441\u0442\u043e\u0441\u0443\u0432\u0430\u0442\u0438 \u0432\u0441\u0456 \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0456 \u0441\u0435\u0440\u0432\u0456\u0441\u0438 \u0434\u043b\u044f \u0440\u043e\u0431\u043e\u0442\u0438 \u0437 <strong>Identity<\/strong> \u0456 \u0431\u0430\u0437\u043e\u044e \u0434\u0430\u043d\u0438\u0445:<\/p>\n<pre class=\"lang:default decode:true\">using GoogleAuth.Data;\r\nusing GoogleAuth.Models;\r\nusing Microsoft.AspNetCore.Identity;\r\nusing Microsoft.EntityFrameworkCore;\r\n\r\nvar builder = WebApplication.CreateBuilder(args);\r\n\r\n\/\/ Add services to the container.\r\nbuilder.Services.AddControllersWithViews();\r\n\r\nbuilder.Services.AddAuthentication()\r\n                .AddGoogle(options =&gt;\r\n                {\r\n                    options.ClientId = \"898063592413-mobd4vo6t6jedcpi2d6lfr9s2958go82.apps.googleusercontent.com\";\r\n                    options.ClientSecret = \"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\";\r\n                });\r\n\r\nIConfigurationRoot _confString = new ConfigurationBuilder().\r\n    SetBasePath(AppDomain.CurrentDomain.BaseDirectory).AddJsonFile(\"appsettings.json\").Build();\r\n\r\nbuilder.Services.AddDbContext&lt;ApplicationContext&gt;(options =&gt;\r\n               options.UseSqlServer(_confString.GetConnectionString(\"DefaultConnection\")));\r\n\r\nbuilder.Services.AddIdentity&lt;User, IdentityRole&gt;()\r\n    .AddEntityFrameworkStores&lt;ApplicationContext&gt;();\r\n\r\n\r\nvar app = builder.Build();\r\n\r\n\/\/ Configure the HTTP request pipeline.\r\nif (!app.Environment.IsDevelopment())\r\n{\r\n    app.UseExceptionHandler(\"\/Home\/Error\");\r\n    \/\/ The default HSTS value is 30 days. You may want to change this for production scenarios, see https:\/\/aka.ms\/aspnetcore-hsts.\r\n    app.UseHsts();\r\n}\r\n\r\napp.UseHttpsRedirection();\r\napp.UseStaticFiles();\r\n\r\napp.UseRouting();\r\n\r\napp.UseAuthentication();  \/\/\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438\r\napp.UseAuthorization();  \/\/\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438\r\n\r\napp.UseAuthorization();\r\n\r\napp.MapControllerRoute(\r\n    name: \"default\",\r\n    pattern: \"{controller=Home}\/{action=Index}\/{id?}\");\r\n\r\napp.Run();\r\n<\/pre>\n<p>\u041c\u0435\u0442\u043e\u0434 <strong>AddIdentity()<\/strong> \u0434\u0430\u0454 \u0437\u043c\u043e\u0433\u0443 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 \u0434\u0435\u044f\u043a\u0443 \u043f\u043e\u0447\u0430\u0442\u043a\u043e\u0432\u0443 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044e. \u0422\u0443\u0442 \u043c\u0438 \u0432\u043a\u0430\u0437\u0443\u0454\u043c\u043e \u0442\u0438\u043f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0456 \u0442\u0438\u043f \u0440\u043e\u043b\u0456, \u044f\u043a\u0456 \u0431\u0443\u0434\u0443\u0442\u044c \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u044e Identity. \u042f\u043a \u0442\u0438\u043f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0432\u0438\u0441\u0442\u0443\u043f\u0430\u0454 \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u0438\u0439 \u043d\u0430\u043c\u0438 \u0432\u0438\u0449\u0435 \u043a\u043b\u0430\u0441 User, \u0430 \u044f\u043a \u0442\u0438\u043f \u0440\u043e\u043b\u0456 \u0432\u0437\u044f\u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0438\u0439 \u043a\u043b\u0430\u0441 IdentityRole, \u044f\u043a\u0438\u0439 \u0437\u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u043f\u0440\u043e\u0441\u0442\u043e\u0440\u0456 \u0456\u043c\u0435\u043d Microsoft.AspNetCore.Identity.EntityFrameworkCore.<\/p>\n<p>\u041c\u0435\u0442\u043e\u0434<strong> AddEntityFrameworkStores()<\/strong> \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0454 \u0442\u0438\u043f \u0441\u0445\u043e\u0432\u0438\u0449\u0430, \u044f\u043a\u0435 \u0431\u0443\u0434\u0435 \u0437\u0430\u0441\u0442\u043e\u0441\u043e\u0432\u0443\u0432\u0430\u0442\u0438\u0441\u044f \u0432 Identity \u0434\u043b\u044f \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044f \u0434\u0430\u043d\u0438\u0445. \u042f\u043a \u0442\u0438\u043f \u0441\u0445\u043e\u0432\u0438\u0449\u0430 \u0442\u0443\u0442 \u0432\u043a\u0430\u0437\u0443\u0454\u0442\u044c\u0441\u044f \u043a\u043b\u0430\u0441 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0443 \u0434\u0430\u043d\u0438\u0445.<\/p>\n<p>\u041f\u043e\u0442\u0456\u043c, \u0449\u043e\u0431 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 <strong>Identity<\/strong>, \u0443 \u043c\u0435\u0442\u043e\u0434\u0456 <strong>Configure()<\/strong> \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0454\u0442\u044c\u0441\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 middeware &#8211; <strong>UseAuthentication<\/strong>. \u041f\u0440\u0438\u0447\u043e\u043c\u0443 \u0446\u0435 middleware \u0432\u0438\u043a\u043b\u0438\u043a\u0430\u0454\u0442\u044c\u0441\u044f \u043f\u0435\u0440\u0435\u0434 app.UseEndpoints(), \u0443 \u0442\u0430\u043a\u0438\u0439 \u0441\u043f\u043e\u0441\u0456\u0431 \u0433\u0430\u0440\u0430\u043d\u0442\u0443\u044e\u0447\u0438, \u0449\u043e \u043d\u0430 \u0447\u0430\u0441 \u0437\u0432\u0435\u0440\u043d\u0435\u043d\u043d\u044f \u0434\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0456\u0457, \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440\u0456\u0432 \u0442\u0430 \u0457\u0445\u043d\u0456\u0445 \u043c\u0435\u0442\u043e\u0434\u0456\u0432, \u043a\u0443\u043a\u0438 \u043d\u0430\u043b\u0435\u0436\u043d\u043e \u043e\u043f\u0440\u0430\u0446\u044c\u043e\u0432\u0430\u043d\u0456 \u0442\u0430 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0456.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 Identity \u043f\u0456\u0434&#8217;\u0454\u0434\u043d\u0430\u043d\u0430 \u0434\u043e \u043f\u0440\u043e\u0454\u043a\u0442\u0443, \u0456 \u043c\u0438 \u043c\u043e\u0436\u0435\u043c\u043e \u0437 \u043d\u0435\u044e \u043f\u0440\u0430\u0446\u044e\u0432\u0430\u0442\u0438.<\/p>\n<h2 id=\"userauth\" style=\"text-align: center;\"><b>\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u044f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0456\u0432 \u0432 Identity<\/b><\/h2>\n<p>\u041f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u043c\u043e \u0440\u043e\u0431\u043e\u0442\u0443 \u0437 \u043f\u0440\u043e\u0454\u043a\u0442\u043e\u043c \u0456 \u0434\u043e\u0434\u0430\u043c\u043e \u0432 \u043d\u044c\u043e\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0456\u043e\u043d\u0430\u043b \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u0457 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0456\u0432. \u041a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0456 \u0432 \u0434\u043e\u0434\u0430\u0442\u043a\u0443 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0456 \u043a\u043b\u0430\u0441\u043e\u043c <strong>User<\/strong>, \u044f\u043a\u0438\u0439 \u0443\u0441\u043f\u0430\u0434\u043a\u043e\u0432\u0443\u0454 \u0431\u0435\u0437\u043b\u0456\u0447 \u0432\u043b\u0430\u0441\u0442\u0438\u0432\u043e\u0441\u0442\u0435\u0439. \u041e\u0434\u043d\u0430\u043a \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u043e\u0432&#8217;\u044f\u0437\u043a\u043e\u0432\u043e \u0432\u0441\u0456\u0445 \u0457\u0445 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0432\u0430\u0442\u0438. \u0414\u043e\u0441\u0442\u0430\u0442\u043d\u044c\u043e \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 \u043a\u043b\u044e\u0447\u043e\u0432\u0456 \u0432\u043b\u0430\u0441\u0442\u0438\u0432\u043e\u0441\u0442\u0456 \u043d\u0430 \u043a\u0448\u0442\u0430\u043b\u0442 \u043b\u043e\u0433\u0456\u043d\u0430 \u0456 \u043f\u0430\u0440\u043e\u043b\u044f.<\/p>\n<p>\u0414\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u043a\u0440\u0430\u0449\u0435 \u0441\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u0442\u0438\u0441\u044f \u0434\u043e\u043f\u043e\u043c\u0456\u0436\u043d\u043e\u044e \u043c\u043e\u0434\u0435\u043b\u043b\u044e, \u044f\u043a\u0430 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0443\u0441\u0456 \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0456 \u0432\u043b\u0430\u0441\u0442\u0438\u0432\u043e\u0441\u0442\u0456. \u041e\u0442\u0436\u0435, \u0434\u043e\u0434\u0430\u043c\u043e \u0432 \u043f\u0440\u043e\u0454\u043a\u0442 \u043d\u043e\u0432\u0443 \u043f\u0430\u043f\u043a\u0443, \u044f\u043a\u0443 \u043d\u0430\u0437\u0432\u0435\u043c\u043e <strong>ViewModels<\/strong>. \u041f\u043e\u0442\u0456\u043c \u0443 \u0446\u0456\u0439 \u043f\u0430\u043f\u0446\u0456 \u0432\u0438\u0437\u043d\u0430\u0447\u0438\u043c\u043e \u043d\u043e\u0432\u0438\u0439 \u043a\u043b\u0430\u0441 <strong>LoginViewModel<\/strong>, \u044f\u043a\u0438\u0439 \u0431\u0443\u0434\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u0438 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430, \u0449\u043e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0443\u0454:<\/p>\n<pre class=\"lang:default decode:true\">public class LoginViewModel\r\n    {\r\n        [Required]\r\n        [Display(Name = \"Email\")]\r\n        public string? Email { get; set; }\r\n\r\n        [Required]\r\n        [DataType(DataType.Password)]\r\n        [Display(Name = \"\u041f\u0430\u0440\u043e\u043b\u044c\")]\r\n        public string? Password { get; set; }\r\n\r\n        [Display(Name = \"\u0417\u0430\u043f\u043e\u043c\u043d\u0438\u0442\u044c?\")]\r\n        public bool RememberMe { get; set; }\r\n\r\n        public string? ReturnUrl { get; set; }\r\n\r\n        public IList&lt;AuthenticationScheme&gt; ExternalLogins { get; set; }\r\n    }\r\n<\/pre>\n<p>\u0423\u0432\u0456\u043c\u043a\u043d\u0456\u0442\u044c \u0432\u043b\u0430\u0441\u0442\u0438\u0432\u043e\u0441\u0442\u0456 <strong>ReturnUrl<\/strong> \u0456 <strong>ExternalLogins<\/strong>.<\/p>\n<p><strong>ReturnUrl<\/strong> &#8211; \u0446\u0435 URL, \u0434\u043e \u044f\u043a\u043e\u0433\u043e \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u043d\u0430\u043c\u0430\u0433\u0430\u0432\u0441\u044f \u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0446\u0456\u0457. \u041c\u0438 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0454\u043c\u043e \u0456 \u043f\u0435\u0440\u0435\u0434\u0430\u0454\u043c\u043e \u0439\u043e\u0433\u043e \u043c\u0456\u0436 \u0437\u0430\u043f\u0438\u0442\u0430\u043c\u0438 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0432\u043b\u0430\u0441\u0442\u0438\u0432\u043e\u0441\u0442\u0456 ReturnUrl, \u0449\u043e\u0431 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u043c\u0456\u0433 \u0431\u0443\u0442\u0438 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0439 \u043d\u0430 \u0446\u0435\u0439 URL \u043f\u0456\u0441\u043b\u044f \u0443\u0441\u043f\u0456\u0448\u043d\u043e\u0457 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0446\u0456\u0457.<\/p>\n<p>\u0422\u0430\u043a \u0441\u0430\u043c\u043e \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0432\u0441\u0456 \u0437\u043e\u0432\u043d\u0456\u0448\u043d\u0456 \u043b\u043e\u0433\u0456\u043d\u0438 (Facebook, Google \u0442\u043e\u0449\u043e) \u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u0446\u0456 \u0432\u0445\u043e\u0434\u0443. \u0414\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u0434\u043e\u0434\u0430\u0454\u043c\u043e \u0432\u043b\u0430\u0441\u0442\u0438\u0432\u0456\u0441\u0442\u044c <strong>ExternalLogins<\/strong> \u0443 <strong>LoginViewModel<\/strong>.<\/p>\n<p>\u0414\u043b\u044f \u0440\u043e\u0431\u043e\u0442\u0438 \u0437 \u043e\u0431\u043b\u0456\u043a\u043e\u0432\u0438\u043c\u0438 \u0437\u0430\u043f\u0438\u0441\u0430\u043c\u0438 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0456\u0432 \u0434\u043e\u0434\u0430\u043c\u043e \u0432 \u043f\u0430\u043f\u043a\u0443 <strong>Controllers<\/strong> \u043d\u043e\u0432\u0438\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440 <strong>AccountController<\/strong> \u0456 \u0432\u0438\u0437\u043d\u0430\u0447\u0438\u043c\u043e \u0432 \u043d\u044c\u043e\u043c\u0443 \u043c\u0435\u0442\u043e\u0434 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u0457 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0456\u0432 \u0447\u0435\u0440\u0435\u0437 \u0437\u0432\u0438\u0447\u0430\u0439\u043d\u0438\u0439 \u0432\u0445\u0456\u0434:<\/p>\n<pre class=\"lang:default decode:true\">public class AccountController : Controller\r\n    {\r\n        private readonly UserManager&lt;User&gt; _userManager;\r\n        private readonly SignInManager&lt;User&gt; _signInManager;\r\n\r\n        public AccountController(UserManager&lt;User&gt; userManager, SignInManager&lt;User&gt; signInManager)\r\n        {\r\n            _userManager = userManager;\r\n            _signInManager = signInManager;\r\n        }\r\n\r\n        [HttpGet]\r\n        [AllowAnonymous]\r\n        public async Task&lt;IActionResult&gt; Login(string returnUrl)\r\n        {\r\n            LoginViewModel model = new LoginViewModel\r\n            {\r\n                ReturnUrl = returnUrl,\r\n                ExternalLogins = (await _signInManager.GetExternalAuthenticationSchemesAsync()).ToList()\r\n            };\r\n\r\n            return View(model);\r\n        }\r\n        [HttpPost]\r\n        [ValidateAntiForgeryToken]\r\n        public async Task&lt;IActionResult&gt; Login(LoginViewModel model)\r\n        {\r\n            if (ModelState.IsValid)\r\n            {\r\n                var result =\r\n                    await _signInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, false);\r\n                if (result.Succeeded)\r\n                {\r\n                    \/\/ \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u043b\u0438 URL \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e\r\n                    if (!string.IsNullOrEmpty(model.ReturnUrl) &amp;&amp; Url.IsLocalUrl(model.ReturnUrl))\r\n                    {\r\n                        return Redirect(model.ReturnUrl);\r\n                    }\r\n                    else\r\n                    {\r\n                        return RedirectToAction(\"Index\", \"Home\");\r\n                    }\r\n                }\r\n                else\r\n                {\r\n                    ModelState.AddModelError(\"\", \"\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0438 (\u0438\u043b\u0438) \u043f\u0430\u0440\u043e\u043b\u044c\");\r\n                }\r\n            }\r\n            return View(model);\r\n        }\r\n\r\n        [HttpPost]\r\n        [ValidateAntiForgeryToken]\r\n        public async Task&lt;IActionResult&gt; Logout()\r\n        {\r\n            \/\/ \u0443\u0434\u0430\u043b\u044f\u0435\u043c \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u043a\u0443\u043a\u0438\r\n            await _signInManager.SignOutAsync();\r\n            return RedirectToAction(\"Index\", \"Home\");\r\n        }\r\n    }\r\n<\/pre>\n<p>\u0414\u043b\u044f \u043f\u043e\u0434\u0430\u043d\u044c \u0446\u044c\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440\u0430 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0437\u0456 <strong>Views<\/strong> \u0432\u0438\u0437\u043d\u0430\u0447\u0438\u043c\u043e \u043f\u0456\u0434\u043a\u0430\u0442\u0430\u043b\u043e\u0433 <strong>Account<\/strong>, \u0432 \u044f\u043a\u0438\u0439 \u0434\u043e\u0434\u0430\u043c\u043e \u043d\u043e\u0432\u0435 \u043f\u043e\u0434\u0430\u043d\u043d\u044f<strong> Login.cshtml<\/strong>. \u0426\u0435 \u043f\u043e\u0434\u0430\u043d\u043d\u044f \u0441\u043b\u0443\u0433\u0443\u0432\u0430\u0442\u0438\u043c\u0435 \u0434\u043b\u044f \u0440\u0435\u0454\u0441\u0442\u0440\u0430\u0446\u0456\u0457 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430:<\/p>\n<pre class=\"lang:default decode:true\">@model GoogleAuth.ViewModels.LoginViewModel\r\n\r\n&lt;div class=\"row\"&gt;\r\n\r\n    &lt;div class=\"col-md-4\"&gt;\r\n        &lt;h2&gt;\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f&lt;\/h2&gt;\r\n        &lt;form method=\"post\" asp-controller=\"Account\" asp-action=\"Login\"\r\n              asp-route-returnUrl=\"@Model.ReturnUrl\"&gt;\r\n            &lt;div asp-validation-summary=\"ModelOnly\"&gt;&lt;\/div&gt;\r\n            &lt;div class=\"form-group\"&gt;\r\n                &lt;label asp-for=\"Email\" class=\"control-label\"&gt;&lt;\/label&gt;\r\n                &lt;input asp-for=\"Email\" class=\"form-control\" \/&gt;\r\n                &lt;span asp-validation-for=\"Email\" class=\"text-danger\"&gt;&lt;\/span&gt;\r\n            &lt;\/div&gt;\r\n            &lt;div class=\"form-group\"&gt;\r\n                &lt;label asp-for=\"Password\" class=\"control-label\"&gt;&lt;\/label&gt;\r\n                &lt;input asp-for=\"Password\" class=\"form-control\" \/&gt;\r\n                &lt;span asp-validation-for=\"Password\" class=\"text-danger\"&gt;&lt;\/span&gt;\r\n            &lt;\/div&gt;\r\n            &lt;div&gt;\r\n                &lt;label asp-for=\"RememberMe\" class=\"control-label\"&gt;&lt;\/label&gt;&lt;br \/&gt;\r\n                &lt;input asp-for=\"RememberMe\" class=\"form-check\" \/&gt;\r\n            &lt;\/div&gt;\r\n            &lt;div class=\"form-group\"&gt;\r\n                &lt;br \/&gt;\r\n                &lt;input type=\"submit\" value=\"\u0412\u043e\u0439\u0442\u0438\" class=\"btn btn-primary\" \/&gt;\r\n            &lt;\/div&gt;\r\n        &lt;\/form&gt;\r\n    &lt;\/div&gt;\r\n\r\n    &lt;div class=\"col-md-4\"&gt;\r\n        &lt;h2&gt;\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0447\u0435\u0440\u0435\u0437 Google&lt;\/h2&gt;\r\n        &lt;hr \/&gt;\r\n        @{\r\n            if (Model.ExternalLogins.Count == 0)\r\n            {\r\n                &lt;div&gt;No external logins configured&lt;\/div&gt;\r\n            }\r\n            else\r\n            {\r\n                &lt;form method=\"post\" asp-action=\"ExternalLogin\" asp-route-returnUrl=\"@Model.ReturnUrl\"&gt;\r\n                    &lt;div&gt;\r\n                        @foreach (var provider in Model.ExternalLogins)\r\n                        {\r\n                            &lt;button type=\"submit\" class=\"btn btn-primary\" style=\"width:auto\"\r\n                            name=\"provider\" value=\"@provider.Name\"\r\n                            title=\"Login using your @provider.DisplayName account\"&gt;\r\n                                @provider.DisplayName\r\n                            &lt;\/button&gt;\r\n                        }\r\n                    &lt;\/div&gt;\r\n                &lt;\/form&gt;\r\n            }\r\n        }\r\n    &lt;\/div&gt;\r\n\r\n&lt;\/div&gt;\r\n<\/pre>\n<p>\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u043c\u043e \u0434\u043e\u0434\u0430\u0442\u043e\u043a, \u043f\u0456\u0434 \u0447\u0430\u0441 \u0437\u0432\u0435\u0440\u043d\u0435\u043d\u043d\u044f \u0437\u0430 \u0430\u0434\u0440\u0435\u0441\u043e\u044e:<\/p>\n<p><a href=\"https:\/\/localhost:7243\/account\/login\"><span style=\"font-weight: 400;\">https:\/\/localhost:7243\/account\/login<\/span><\/a><\/p>\n<p>\u043c\u0438 \u043f\u043e\u0431\u0430\u0447\u0438\u043c\u043e \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-64 aligncenter\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/2.png\" alt=\"\" width=\"864\" height=\"311\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/2.png 864w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/2-300x108.png 300w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/2-768x276.png 768w\" sizes=\"auto, (max-width: 864px) 100vw, 864px\" \/><\/p>\n<p>\u042f\u043a\u0449\u043e \u0432\u0438 \u043d\u0430\u0442\u0438\u0441\u043d\u0435\u0442\u0435 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 <strong>Google<\/strong>, \u0446\u044f \u043a\u043d\u043e\u043f\u043a\u0430 \u0454 \u043a\u043d\u043e\u043f\u043a\u043e\u044e \u0442\u0438\u043f\u0443 <strong>Submit<\/strong> \u0443 \u043a\u043e\u0434\u0456 \u043f\u043e\u0434\u0430\u043d\u043d\u044f, \u0442\u043e\u0434\u0456 \u0432\u0438 \u0432\u0438\u044f\u0432\u0438\u0442\u0435 \u043f\u043e\u043c\u0438\u043b\u043a\u0443. \u0422\u043e\u043c\u0443 \u0449\u043e \u0432\u0438 \u0449\u0435 \u043d\u0435 \u0441\u0442\u0432\u043e\u0440\u0438\u043b\u0438 \u0434\u0456\u044e <strong>ExternalLogin<\/strong> \u0443 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440\u0456 &#8211; <strong>AccountController<\/strong>. \u0421\u0442\u0432\u043e\u0440\u0438\u043c\u043e \u0457\u0457:<\/p>\n<pre class=\"lang:default decode:true\">ExternalLogin \u0432 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435 - AccountController. \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0435\u0433\u043e:\r\n[AllowAnonymous]\r\n        [HttpPost]\r\n        public IActionResult ExternalLogin(string provider, string returnUrl)\r\n        {\r\n            var redirectUrl = Url.Action(\"ExternalLoginCallback\", \"Account\",\r\n                                    new { ReturnUrl = returnUrl });\r\n\r\n            var properties = _signInManager.ConfigureExternalAuthenticationProperties(provider, redirectUrl);\r\n\r\n            return new ChallengeResult(provider, properties);\r\n        }\r\n<\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c\u043e \u0434\u043e\u0434\u0430\u0442\u043e\u043a \u0437\u043d\u043e\u0432\u0443, \u0456 \u043d\u0430\u0442\u0438\u0441\u043d\u0435\u043c\u043e \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 <strong>Google<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-74 aligncenter\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-9.png\" alt=\"\" width=\"441\" height=\"458\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-9.png 441w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-9-289x300.png 289w\" sizes=\"auto, (max-width: 441px) 100vw, 441px\" \/><\/p>\n<p>\u0412\u0438 \u043f\u043e\u0431\u0430\u0447\u0438\u0442\u0435 \u043d\u0430\u0437\u0432\u0443 \u0432\u0430\u0448\u043e\u0433\u043e \u043f\u0440\u043e\u0454\u043a\u0442\u0443, \u0443 \u043c\u043e\u0454\u043c\u0443 \u0432\u0438\u043f\u0430\u0434\u043a\u0443 &#8211; <strong>Auth<\/strong>, \u0430\u043b\u0435 \u0441\u0430\u043c \u043f\u0440\u043e\u0446\u0435\u0441 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u0457 \u0449\u0435 \u043d\u0435 \u0433\u043e\u0442\u043e\u0432\u0438\u0439. \u0423 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440 <strong>AccountController<\/strong> \u0434\u043e\u0434\u0430\u043c\u043e \u0434\u0456\u044e <strong>ExternalLoginCallback<\/strong>:<\/p>\n<pre class=\"lang:default decode:true \">[AllowAnonymous]\r\n        public async Task&lt;IActionResult&gt;\r\n            ExternalLoginCallback(string returnUrl = null, string remoteError = null)\r\n        {\r\n            returnUrl = returnUrl ?? Url.Content(\"~\/\");\r\n\r\n            LoginViewModel loginViewModel = new LoginViewModel\r\n            {\r\n                ReturnUrl = returnUrl,\r\n                ExternalLogins =\r\n                        (await _signInManager.GetExternalAuthenticationSchemesAsync()).ToList()\r\n            };\r\n\r\n            if (remoteError != null)\r\n            {\r\n                ModelState\r\n                    .AddModelError(string.Empty, $\"Error from external provider: {remoteError}\");\r\n\r\n                return View(\"Login\", loginViewModel);\r\n            }\r\n\r\n            \/\/ Get the login information about the user from the external login provider\r\n            var info = await _signInManager.GetExternalLoginInfoAsync();\r\n            if (info == null)\r\n            {\r\n                ModelState\r\n                    .AddModelError(string.Empty, \"Error loading external login information.\");\r\n\r\n                return View(\"Login\", loginViewModel);\r\n            }\r\n\r\n            \/\/ If the user already has a login (i.e if there is a record in AspNetUserLogins\r\n            \/\/ table) then sign-in the user with this external login provider\r\n            var signInResult = await _signInManager.ExternalLoginSignInAsync(info.LoginProvider,\r\n                info.ProviderKey, isPersistent: false, bypassTwoFactor: true);\r\n\r\n            if (signInResult.Succeeded)\r\n            {\r\n                return LocalRedirect(returnUrl);\r\n            }\r\n            \/\/ If there is no record in AspNetUserLogins table, the user may not have\r\n            \/\/ a local account\r\n            else\r\n            {\r\n                \/\/ Get the email claim value\r\n                var email = info.Principal.FindFirstValue(ClaimTypes.Email);\r\n\r\n                if (email != null)\r\n                {\r\n                    \/\/ Create a new user without password if we do not have a user already\r\n                    var user = await _userManager.FindByEmailAsync(email);\r\n\r\n                    if (user == null)\r\n                    {\r\n                        user = new User\r\n                        {\r\n                            UserName = info.Principal.FindFirstValue(ClaimTypes.Email),\r\n                            Email = info.Principal.FindFirstValue(ClaimTypes.Email)\r\n                        };\r\n\r\n                        await _userManager.CreateAsync(user);\r\n                    }\r\n\r\n                    \/\/ Add a login (i.e insert a row for the user in AspNetUserLogins table)\r\n                    await _userManager.AddLoginAsync(user, info);\r\n                    await _signInManager.SignInAsync(user, isPersistent: false);\r\n\r\n                    return LocalRedirect(returnUrl);\r\n                }\r\n\r\n                ViewBag.ErrorTitle = $\"Email claim not received from: {info.LoginProvider}\";\r\n                ViewBag.ErrorMessage = \"Please contact support on Pragim@PragimTech.com\";\r\n\r\n                return View(\"Error\");\r\n            }\r\n        }\r\n<\/pre>\n<p>\u0414\u043b\u044f \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0438 \u043b\u043e\u0433\u0456\u043d\u0430 \u0456 \u0437\u0440\u0443\u0447\u043d\u043e\u0441\u0442\u0456 \u0440\u043e\u0431\u043e\u0442\u0438 \u0437 \u0434\u043e\u0434\u0430\u0442\u043a\u043e\u043c, \u0432\u0438\u0437\u043d\u0430\u0447\u0438\u043c\u043e \u0432 \u043f\u043e\u0434\u0430\u043d\u043d\u0456 <strong>Layout.cshtml<\/strong> \u0432\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044f \u0456\u043c\u0435\u043d\u0456 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0456 \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f \u043d\u0430 \u0432\u0445\u0456\u0434, \u044f\u043a\u0449\u043e \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u043d\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u0438\u0439 \u0456 \u0432\u0438\u0445\u0456\u0434, \u044f\u043a\u0449\u043e \u0432\u0456\u043d \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u0438\u0439:<\/p>\n<pre class=\"lang:default decode:true \">&lt;ul class=\"navbar-nav\"&gt;\r\n                        @if (User.Identity.IsAuthenticated)\r\n                        {\r\n                            &lt;li class=\"nav-item\"&gt;\r\n                                &lt;a class=\"nav-link text-dark\" asp-area=\"\" asp-controller=\"\" asp-action=\"\"&gt;@User.Identity.Name&lt;\/a&gt;\r\n                            &lt;\/li&gt;\r\n                            &lt;li class=\"nav-item\"&gt;\r\n                                &lt;form method=\"post\" asp-controller=\"Account\" asp-action=\"Logout\"&gt;\r\n                                    @*\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u0442\u0438\u043b\u0438, \u0447\u0442\u043e \u0431\u044b \u043a\u043d\u043e\u043f\u043a\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u0430 \u043a\u0430\u043a \u0441\u0441\u044b\u043b\u043a\u0430*@\r\n                                    &lt;style&gt;\r\n                                        .mybtn {\r\n                                            background: none !important;\r\n                                            border: none;\r\n                                            cursor: pointer;\r\n                                        }\r\n                                    &lt;\/style&gt;\r\n                                    @*\u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c \u043a\u043b\u0430\u0441\u0441 \u0441\u0442\u0438\u043b\u0435\u0439 \u0434\u043b\u044f \u043a\u043d\u043e\u043f\u043a\u0438*@\r\n                                    &lt;input class=\"nav-link text-dark mybtn\" type=\"submit\" value=\"\u0412\u044b\u0445\u043e\u0434\" \/&gt;\r\n                                &lt;\/form&gt;\r\n                            &lt;\/li&gt;\r\n                        }\r\n                        else\r\n                        {\r\n                            &lt;li class=\"nav-item\"&gt;\r\n                                &lt;a class=\"nav-link text-dark\" asp-controller=\"Account\" asp-action=\"Login\"&gt;\u0412\u0445\u043e\u0434&lt;\/a&gt;\r\n                            &lt;\/li&gt;\r\n                        }\r\n                    &lt;\/ul&gt;\r\n<\/pre>\n<p>\u042f\u043a\u0449\u043e \u0432\u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0434\u043e\u0434\u0430\u0442\u043e\u043a \u0456 \u043d\u0430\u0442\u0438\u0441\u043d\u0435\u0442\u0435 \u043a\u043d\u043e\u043f\u043a\u0443 <strong>Google<\/strong>, \u043f\u043e\u0442\u0456\u043c \u0432\u0438\u0431\u0435\u0440\u0456\u0442\u044c \u043e\u0431\u043b\u0456\u043a\u043e\u0432\u0438\u0439 \u0437\u0430\u043f\u0438\u0441 Gmail, \u043f\u043e\u0442\u0456\u043c \u0432\u043a\u0430\u0436\u0456\u0442\u044c \u0441\u0432\u0456\u0439 \u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u0443 \u0432 <strong>Gmail<\/strong>, \u0442\u043e \u0432\u0438 \u043f\u043e\u0431\u0430\u0447\u0438\u0442\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442, \u044f\u043a \u0456 \u043e\u0447\u0456\u043a\u0443\u0432\u0430\u043b\u043e\u0441\u044f:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-75 aligncenter\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-10.png\" alt=\"\" width=\"593\" height=\"249\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-10.png 593w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-10-300x126.png 300w\" sizes=\"auto, (max-width: 593px) 100vw, 593px\" \/><\/p>\n<p>\u0412\u0438 \u0443\u0441\u043f\u0456\u0448\u043d\u043e \u0443\u0432\u0456\u0439\u0448\u043b\u0438 \u0443 \u0441\u0432\u0456\u0439 \u0430\u043a\u0430\u0443\u043d\u0442, \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u044e\u0447\u0438 \u0437\u043e\u0432\u043d\u0456\u0448\u043d\u044c\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0430\u0447\u0430\u043b\u044c\u043d\u0438\u043a\u0430 \u043f\u043e\u0441\u043b\u0443\u0433 \u0432\u0445\u043e\u0434\u0443.<\/p>\n<p>\u042f\u043a\u0449\u043e \u0432\u0438 \u043f\u043e\u0434\u0438\u0432\u0438\u0442\u0435\u0441\u044f \u043d\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u044e <strong>AspNetUsers<\/strong>, \u0442\u043e \u0432\u0438\u044f\u0432\u0438\u0442\u0435 \u0446\u0456\u043a\u0430\u0432\u0443 \u0440\u0456\u0447. \u0423 \u0442\u0430\u0431\u043b\u0438\u0446\u0456 AspNetUsers \u0443 \u043d\u0430\u0441 \u0454 \u043d\u043e\u0432\u0438\u0439 \u0440\u044f\u0434\u043e\u043a, \u043f\u043e\u0434\u0438\u0432\u0456\u0442\u044c\u0441\u044f \u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u043a\u0443 <strong>PasswordHash<\/strong>, \u0432\u043e\u043d\u0430 \u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454 <strong>NULL<\/strong>. \u041d\u0430\u0441\u043f\u0440\u0430\u0432\u0434\u0456, \u043d\u0430\u043c \u043d\u0435 \u043f\u043e\u0442\u0440\u0456\u0431\u0435\u043d \u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430. \u041d\u0430\u043c \u0431\u0456\u043b\u044c\u0448\u0435 \u043d\u0435 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0439\u043e\u0433\u043e \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u0443\u0432\u0430\u0442\u0438, \u0442\u043e\u043c\u0443 \u0449\u043e \u0446\u0435\u0439 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u0434\u043e \u0437\u043e\u0432\u043d\u0456\u0448\u043d\u044c\u043e\u0433\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u0432\u0445\u043e\u0434\u0443 \u0432 \u0430\u043a\u0430\u0443\u043d\u0442 <strong>Google<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-76 aligncenter\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-11.png\" alt=\"\" width=\"617\" height=\"100\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-11.png 617w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/snimok-11-300x49.png 300w\" sizes=\"auto, (max-width: 617px) 100vw, 617px\" \/><\/p>\n<p>\u0421\u043f\u043e\u0434\u0456\u0432\u0430\u044e\u0441\u044f, \u0432\u0430\u043c \u0441\u043f\u043e\u0434\u043e\u0431\u0430\u043b\u0430\u0441\u044f \u0446\u044f \u0441\u0442\u0430\u0442\u0442\u044f. \u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0432\u0438\u0445\u0456\u0434\u043d\u0438\u0439 \u043a\u043e\u0434 \u0443 \u043c\u043e\u0454\u043c\u0443 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u0457 \u2014 <a href=\"https:\/\/github.com\/murzilaka2\/GoogleAuth\">Github<\/a>.<\/p>\n<p>\u041f\u043e\u0434\u0456\u043b\u0456\u0442\u044c\u0441\u044f \u0432\u0430\u0448\u0438\u043c \u0434\u043e\u0441\u0432\u0456\u0434\u043e\u043c \u0443 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u044f\u0445, \u044f\u043a \u0432\u0438 \u0432\u0438\u043a\u043e\u043d\u0443\u0454\u0442\u0435 Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u044e \u0437 Identity, \u0443 \u0432\u0430\u0448\u0438\u0445 \u0434\u043e\u0434\u0430\u0442\u043a\u0430\u0445?<\/p>\n<hr \/>\n<h4><strong>\u0412\u0438 \u0445\u043e\u0447\u0435\u0442\u0435 \u043d\u0430\u0432\u0447\u0438\u0442\u0438\u0441\u044f \u043f\u0438\u0441\u0430\u0442\u0438 \u043a\u043e\u0434 \u043c\u043e\u0432\u043e\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0443\u0432\u0430\u043d\u043d\u044f C#?<\/strong><\/h4>\n<p>\u0421\u0442\u0432\u043e\u0440\u044e\u0432\u0430\u0442\u0438 \u0440\u0456\u0437\u043d\u0456 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u0439\u043d\u0456 \u0441\u0438\u0441\u0442\u0435\u043c\u0438, \u0449\u043e \u0441\u043a\u043b\u0430\u0434\u0430\u044e\u0442\u044c\u0441\u044f \u0437 \u0441\u0430\u0439\u0442\u0456\u0432, \u043c\u043e\u0431\u0456\u043b\u044c\u043d\u0438\u0445 \u043a\u043b\u0456\u0454\u043d\u0442\u0456\u0432, \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u0438\u0445 \u0434\u043e\u0434\u0430\u0442\u043a\u0456\u0432, \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c-\u0431\u043e\u0442\u0456\u0432 \u0442\u043e\u0449\u043e.<\/p>\n<p><a href=\"https:\/\/dijix.com.ua\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-94 size-full\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/logog-brand.png\" alt=\"\" width=\"355\" height=\"77\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/logog-brand.png 355w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/logog-brand-300x65.png 300w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/a><\/p>\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u044c\u0442\u0435 \u0434\u043e \u043d\u0430\u0441 \u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443 Dijix \u0456 \u043e\u0437\u043d\u0430\u0439\u043e\u043c\u0442\u0435\u0441\u044f \u0437 \u0443\u043c\u043e\u0432\u0430\u043c\u0438 \u043d\u0430\u0432\u0447\u0430\u043d\u043d\u044f, \u043c\u0438 \u0441\u043f\u0435\u0446\u0456\u0430\u043b\u0456\u0437\u0443\u0454\u043c\u043e\u0441\u044f \u0442\u0456\u043b\u044c\u043a\u0438 \u043d\u0430 \u0456\u043d\u0434\u0438\u0432\u0456\u0434\u0443\u0430\u043b\u044c\u043d\u0438\u0445 \u0437\u0430\u043d\u044f\u0442\u0442\u044f\u0445, \u044f\u043a \u0434\u043b\u044f \u043f\u043e\u0447\u0430\u0442\u043a\u0456\u0432\u0446\u0456\u0432, \u0442\u0430\u043a \u0456 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0443\u043d\u0443\u0442\u0438\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0456\u0441\u0442\u0456\u0432. \u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0437\u044f\u0442\u0438 \u044f\u043a \u043e\u0434\u043d\u0435 \u0437\u0430\u043d\u044f\u0442\u0442\u044f \u0434\u043b\u044f \u043e\u043f\u0440\u0430\u0446\u044e\u0432\u0430\u043d\u043d\u044f \u043f\u0438\u0442\u0430\u043d\u043d\u044f, \u0449\u043e \u0432\u0430\u0441 \u0446\u0456\u043a\u0430\u0432\u0438\u0442\u044c, \u0442\u0430\u043a \u0456 \u043a\u0456\u043b\u044c\u043a\u0430, \u0434\u043b\u044f \u0431\u0456\u043b\u044c\u0448 \u0449\u0456\u043b\u044c\u043d\u043e\u0457 \u0440\u043e\u0431\u043e\u0442\u0438. \u0417\u0430\u0432\u0434\u044f\u043a\u0438 \u043e\u0441\u043e\u0431\u0438\u0441\u0442\u043e\u043c\u0443 \u043a\u0430\u0431\u0456\u043d\u0435\u0442\u0443, \u043a\u043e\u0436\u0435\u043d \u0441\u0442\u0443\u0434\u0435\u043d\u0442 \u043f\u0456\u0434\u0432\u0438\u0449\u0438\u0442\u044c \u044f\u043a\u0456\u0441\u0442\u044c \u0441\u0432\u043e\u0433\u043e \u043d\u0430\u0432\u0447\u0430\u043d\u043d\u044f, \u0443 \u0432\u0430\u0448\u043e\u043c\u0443 \u0440\u043e\u0437\u043f\u043e\u0440\u044f\u0434\u0436\u0435\u043d\u043d\u0456:<\/p>\n<ul>\n<li>\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u043f\u0440\u043e\u0439\u0434\u0435\u043d\u043e\u0433\u043e \u043c\u0430\u0442\u0435\u0440\u0456\u0430\u043b\u0443<\/li>\n<li>\u0422\u0435\u043c\u0430\u0442\u0438\u0447\u043d\u0456 \u0441\u0442\u0430\u0442\u0442\u0456<\/li>\n<li>\u0411\u0456\u0431\u043b\u0456\u043e\u0442\u0435\u043a\u0430 \u043a\u043d\u0438\u0433<\/li>\n<li>\u041e\u043d\u043b\u0430\u0439\u043d \u0442\u0435\u0441\u0442\u0443\u0432\u0430\u043d\u043d\u044f<\/li>\n<li>\u0421\u043f\u0456\u043b\u043a\u0443\u0432\u0430\u043d\u043d\u044f \u0432 \u0437\u0430\u043a\u0440\u0438\u0442\u0438\u0445 \u0433\u0440\u0443\u043f\u0430\u0445<\/li>\n<\/ul>\n<blockquote>\n<p style=\"text-align: right;\"><a href=\"https:\/\/dijix.com.ua\/uk\/\">https:\/\/dijix.com.ua<\/a><\/p>\n<p style=\"text-align: right;\"><a href=\"https:\/\/ms.dijix.com.ua\/\">\u0416\u0438\u0432\u0438 \u0443 \u0441\u0432\u043e\u0454\u043c\u0443 \u0441\u0432\u0456\u0442\u0456, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0443\u0439 \u0443 \u043d\u0430\u0448\u043e\u043c\u0443<\/a>.<\/p>\n<\/blockquote>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 \u043c\u0438 \u0440\u043e\u0437\u0440\u043e\u0431\u0438\u043c\u043e \u0434\u043e\u0434\u0430\u0442\u043e\u043a \u0442\u0438\u043f\u0443 Asp.Net Core MVC Identity, \u0437 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f\u043c Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u0457. \u0420\u0456\u0447 \u0443 \u0442\u0456\u043c, \u0449\u043e \u0432 \u0434\u0430\u043d\u0438\u0439 \u0447\u0430\u0441 \u0443 \u0431\u0430\u0433\u0430\u0442\u044c\u043e\u0445 \u043b\u044e\u0434\u0435\u0439 \u0432\u0436\u0435 \u0454&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/\">Continue reading<span class=\"screen-reader-text\">Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u044f \u0437 Identity<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":143,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"uk","_original_post":"https:\/\/dijix.com.ua\/blog\/?p=61","footnotes":""},"categories":[8],"tags":[],"class_list":["post-319","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-asp-net-core","uk","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u044f \u0437 Identity<\/title>\r\n<meta name=\"description\" content=\"\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456, \u043c\u0438 \u0440\u043e\u0437\u0440\u043e\u0431\u0438\u043c\u043e \u0434\u043e\u0434\u0430\u0442\u043e\u043a \u0442\u0438\u043f\u0443 Asp.Net Core MVC Identity, \u0437 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f\u043c Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u0457.\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/\" \/>\r\n<meta property=\"og:locale\" content=\"uk_UA\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u044f \u0437 Identity\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/\" \/>\r\n<meta property=\"og:site_name\" content=\"Dijix - \u0411\u043b\u043e\u0433\" \/>\r\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Dijixs\" \/>\r\n<meta property=\"article:published_time\" content=\"2023-02-02T12:29:44+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2023-02-02T16:01:29+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/leonsy_a_man_with_coffee_is_engaged_in_programming_with_a_lapto_a4ace133-39ce-457c-9bc4-f3c8b599757d.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\r\n\t<meta property=\"og:image:height\" content=\"730\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"15 \u0445\u0432\u0438\u043b\u0438\u043d\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/\"},\"author\":{\"name\":\"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/4ce2240cdf3db189e17ca0ff422a0c3d\"},\"headline\":\"Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u044f \u0437 Identity\",\"datePublished\":\"2023-02-02T12:29:44+00:00\",\"dateModified\":\"2023-02-02T16:01:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/\"},\"wordCount\":1396,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/#organization\"},\"articleSection\":[\"Asp.Net Core\"],\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/\",\"url\":\"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/\",\"name\":\"Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u044f \u0437 Identity\",\"isPartOf\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/#website\"},\"datePublished\":\"2023-02-02T12:29:44+00:00\",\"dateModified\":\"2023-02-02T16:01:29+00:00\",\"description\":\"\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456, \u043c\u0438 \u0440\u043e\u0437\u0440\u043e\u0431\u0438\u043c\u043e \u0434\u043e\u0434\u0430\u0442\u043e\u043a \u0442\u0438\u043f\u0443 Asp.Net Core MVC Identity, \u0437 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f\u043c Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u0457.\",\"breadcrumb\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/#breadcrumb\"},\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/dijix.com.ua\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u044f \u0437 Identity\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#website\",\"url\":\"https:\/\/dijix.com.ua\/blog\/\",\"name\":\"Dijix - \u0411\u043b\u043e\u0433\",\"description\":\"\ud83d\udc9c\",\"publisher\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dijix.com.ua\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"uk\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#organization\",\"name\":\"Dijix - \u0411\u043b\u043e\u0433\",\"url\":\"https:\/\/dijix.com.ua\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/\u0421\u043d\u0438\u043c\u043e\u043a.png\",\"contentUrl\":\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/\u0421\u043d\u0438\u043c\u043e\u043a.png\",\"width\":159,\"height\":92,\"caption\":\"Dijix - \u0411\u043b\u043e\u0433\"},\"image\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Dijixs\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/4ce2240cdf3db189e17ca0ff422a0c3d\",\"name\":\"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e3e8fa72f5adf168d30934fb574a97a5e812e7d6e2795075f0e7ea19311e3ba9?s=96&d=monsterid&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e3e8fa72f5adf168d30934fb574a97a5e812e7d6e2795075f0e7ea19311e3ba9?s=96&d=monsterid&r=g\",\"caption\":\"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430\"},\"sameAs\":[\"https:\/\/dijix.com.ua\/blog\"],\"url\":\"https:\/\/dijix.com.ua\/blog\/author\/admin\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u044f \u0437 Identity","description":"\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456, \u043c\u0438 \u0440\u043e\u0437\u0440\u043e\u0431\u0438\u043c\u043e \u0434\u043e\u0434\u0430\u0442\u043e\u043a \u0442\u0438\u043f\u0443 Asp.Net Core MVC Identity, \u0437 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f\u043c Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u0457.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/","og_locale":"uk_UA","og_type":"article","og_title":"Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u044f \u0437 Identity","og_url":"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/","og_site_name":"Dijix - \u0411\u043b\u043e\u0433","article_publisher":"https:\/\/www.facebook.com\/Dijixs","article_published_time":"2023-02-02T12:29:44+00:00","article_modified_time":"2023-02-02T16:01:29+00:00","og_image":[{"width":1024,"height":730,"url":"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/leonsy_a_man_with_coffee_is_engaged_in_programming_with_a_lapto_a4ace133-39ce-457c-9bc4-f3c8b599757d.png","type":"image\/png"}],"author":"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e":"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430","\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f":"15 \u0445\u0432\u0438\u043b\u0438\u043d"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/#article","isPartOf":{"@id":"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/"},"author":{"name":"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430","@id":"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/4ce2240cdf3db189e17ca0ff422a0c3d"},"headline":"Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u044f \u0437 Identity","datePublished":"2023-02-02T12:29:44+00:00","dateModified":"2023-02-02T16:01:29+00:00","mainEntityOfPage":{"@id":"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/"},"wordCount":1396,"commentCount":2,"publisher":{"@id":"https:\/\/dijix.com.ua\/blog\/#organization"},"articleSection":["Asp.Net Core"],"inLanguage":"uk","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/","url":"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/","name":"Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u044f \u0437 Identity","isPartOf":{"@id":"https:\/\/dijix.com.ua\/blog\/#website"},"datePublished":"2023-02-02T12:29:44+00:00","dateModified":"2023-02-02T16:01:29+00:00","description":"\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456, \u043c\u0438 \u0440\u043e\u0437\u0440\u043e\u0431\u0438\u043c\u043e \u0434\u043e\u0434\u0430\u0442\u043e\u043a \u0442\u0438\u043f\u0443 Asp.Net Core MVC Identity, \u0437 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f\u043c Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u0457.","breadcrumb":{"@id":"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/#breadcrumb"},"inLanguage":"uk","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/dijix.com.ua\/blog\/uk\/google-avtorizacziya-s-identity\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/dijix.com.ua\/blog\/"},{"@type":"ListItem","position":2,"name":"Google \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0456\u044f \u0437 Identity"}]},{"@type":"WebSite","@id":"https:\/\/dijix.com.ua\/blog\/#website","url":"https:\/\/dijix.com.ua\/blog\/","name":"Dijix - \u0411\u043b\u043e\u0433","description":"\ud83d\udc9c","publisher":{"@id":"https:\/\/dijix.com.ua\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dijix.com.ua\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"uk"},{"@type":"Organization","@id":"https:\/\/dijix.com.ua\/blog\/#organization","name":"Dijix - \u0411\u043b\u043e\u0433","url":"https:\/\/dijix.com.ua\/blog\/","logo":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/dijix.com.ua\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/\u0421\u043d\u0438\u043c\u043e\u043a.png","contentUrl":"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/\u0421\u043d\u0438\u043c\u043e\u043a.png","width":159,"height":92,"caption":"Dijix - \u0411\u043b\u043e\u0433"},"image":{"@id":"https:\/\/dijix.com.ua\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Dijixs"]},{"@type":"Person","@id":"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/4ce2240cdf3db189e17ca0ff422a0c3d","name":"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430","image":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e3e8fa72f5adf168d30934fb574a97a5e812e7d6e2795075f0e7ea19311e3ba9?s=96&d=monsterid&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e3e8fa72f5adf168d30934fb574a97a5e812e7d6e2795075f0e7ea19311e3ba9?s=96&d=monsterid&r=g","caption":"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430"},"sameAs":["https:\/\/dijix.com.ua\/blog"],"url":"https:\/\/dijix.com.ua\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/posts\/319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/comments?post=319"}],"version-history":[{"count":4,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/posts\/319\/revisions"}],"predecessor-version":[{"id":348,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/posts\/319\/revisions\/348"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/media\/143"}],"wp:attachment":[{"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/media?parent=319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/categories?post=319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/tags?post=319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}