{"id":38651,"date":"2019-10-31T22:25:04","date_gmt":"2019-10-31T19:25:04","guid":{"rendered":"https:\/\/prohoster.info\/blog\/kak-my-v-parallels-pokoryali-sign-in-with-apple\/"},"modified":"2019-10-31T22:25:04","modified_gmt":"2019-10-31T19:25:04","slug":"kak-my-v-parallels-pokoryali-sign-in-with-apple","status":"publish","type":"post","link":"https:\/\/prohoster.info\/et\/blog\/news\/kak-my-v-parallels-pokoryali-sign-in-with-apple","title":{"rendered":"Kuidas me Parallelsis Apple'i sisselogimise vallutasime","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"Kuidas me Parallelsis Apple&#039;i sisselogimise vallutasime\" src=\"\/wp-content\/uploads\/2019\/10\/3cb54b15c81d639f145c104431c583e5.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nUsun, et paljusid huvitab p\u00e4rast WWDC 2019 Sign In with Apple (l\u00fchidalt SIWA). Selles artiklis r\u00e4\u00e4gin, millised konkreetsed takistused pidid meid meie litsentsiportaalis selle funktsiooni integreerimisel ootama. See artikkel pole m\u00f5eldud neile, kes just alles SIWA-ga tutvuma hakkavad (neile olen l\u00f5pus jaganud mitmeid tutvustavaid linke). Sellest materjalist leiavad t\u00f5en\u00e4oliselt paljud vastuseid k\u00fcsimustele, mis v\u00f5ivad tekkida Apple'i uue teenuse integreerimisel.<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h3>Apple ei luba kohandatud suunamisi<\/h3>\n<p>\nTegelikult ei n\u00e4e ma siiani sellele k\u00fcsimusele vastust arendajate foorumites. \u00dcksikasjad on sellised: kui soovite kasutada SIWA JS API-d, st mitte t\u00f6\u00f6tada l\u00e4bi natiivse SDK, kuna see pole mingil p\u00f5hjusel saadaval (ei macOS\/iOS v\u00f5i vanad versioonid), siis on teil vaja oma avalikku portaali, muidu ei saa. Sest WWDR-portaalis peate registreerima ja kinnitama, et olete oma domeeni omanik, ja ainult sellele domeenile saab panna Apple'i vaatepunktist lubatud suunamisi:<\/p>\n<p><img decoding=\"async\" alt=\"Kuidas me Parallelsis Apple&#039;i sisselogimise vallutasime\" src=\"\/wp-content\/uploads\/2019\/10\/31060bbdfe0b2cf55505a42cdf8aa6fc.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nMis siis, kui on soov suunamist rakenduses kinni p\u00fc\u00fcda? Me lahendasime selle probleemi \u00e4\u00e4rmiselt lihtsalt: l\u00f5ime oma portaali loendi lubatud suunamistest oma rakenduste jaoks, mille me tellime enne SIWA autentimisse lehe kuvamist. Ja lihtsalt suuname andmed, mis on saadud Apple'ilt, portaalist rakendusse. Lihtne ja t\u00f5hus.<\/p>\n<h3>Probleemid e-kirjadega<\/h3>\n<p>\nVaatame, kuidas me lahendasime kasutaja e-kirja probleemid. Esiteks, pole olemas REST API-d, mis v\u00f5imaldaks saada seda teavet tagaplaanilt - ainult klient saab neid andmeid k\u00e4tte ja v\u00f5ib need koos autentimiskoodiga edastada. <\/p>\n<p>Teiseks, kasutaja nime ja e-kirja teave edastatakse vaid \u00fche korra, esimesel sisselogimisel rakendusse l\u00e4bi Apple'i, kus kasutaja valib oma isiklike andmete jagamise valikud. <\/p>\n<p>Needless to say, these issues are not critical if a connection with the social profile has been successfully established on the portal \u2014 the user ID remains the same and is linked to the Team ID \u2014 meaning it is consistent across all applications integrated with SIWA. However, if the login was completed via Apple, and then an error occurred leading to the connection not being made on the portal, the only option is to direct the user to appleid.apple.com, sever the link with the application, and try again. Essentially, the issue is addressed by writing the relevant KB article and providing a link to it.<\/p>\n<p>The next, more unpleasant issue is that Apple has introduced a new concept with proxy email. In our case, if a user has already logged into the licensing portal with their real email and chooses the option to hide their email upon their first login through Apple, a new account is created with this proxy email, which obviously doesn\u2019t contain any licenses, leaving the end user in a difficult situation. <\/p>\n<p>The solution to this problem is quite simple: since the user ID remains the same in SIWA and does not depend on the selected options\/application during sign in, we allow via a special script to switch this link from Apple to another account with the real email of the user, thereby 'restoring their purchases.' After this procedure, the user starts to access the different account on the portal through SIWA and everything works correctly for them.<\/p>\n<h3>There is no application icon during Sign In via the web portal.<\/h3>\n<p>\nTo resolve another issue, we reached out for clarification from Apple representatives, and we are sharing the knowledge we gained:<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/forums.developer.apple.com\/thread\/123054\">https:\/\/forums.developer.apple.com\/thread\/123054<\/a><\/noindex><br \/>\n<img decoding=\"async\" alt=\"Kuidas me Parallelsis Apple&#039;i sisselogimise vallutasime\" src=\"\/wp-content\/uploads\/2019\/10\/125b992274c00bba938e06f4c0f2860c.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nIn other words, the essence is as follows: at the head of the SIWA group, only a macOS\/iOS application can be placed, into which the required service IDs of the portals are added. Consequently, for the icon to appear for the main application, there must be published versions in the App Store with media that have passed Apple's review. The icon will be taken from there. <\/p>\n<p>Therefore, if you only have a portal and no App Store application, there won't be a nice icon, but you can make do with the application name \u2014 in the absence of media for the main application, this information is taken from the Description of the service ID:<br \/>\n<img decoding=\"async\" alt=\"Kuidas me Parallelsis Apple&#039;i sisselogimise vallutasime\" src=\"\/wp-content\/uploads\/2019\/10\/e762820861b0f6611cde7b64ad02e316.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<img decoding=\"async\" alt=\"Kuidas me Parallelsis Apple&#039;i sisselogimise vallutasime\" src=\"\/wp-content\/uploads\/2019\/10\/aa2f68e7898013c33f7cc3d42b7d3788.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<h3>The number of elements in the SIWA group is limited to 5.<\/h3>\n<p>\nSelle probleemi jaoks ei ole hetkel muud lahendust kui kasutada mitmeid gruppe; kui sul on puudu 6 identifikaatorist: 1 peamine rakendus ja 5 s\u00f5ltuvat, siis j\u00e4rgmise registreerimise katsel n\u00e4ed sellist teadet:<\/p>\n<p><img decoding=\"async\" alt=\"Kuidas me Parallelsis Apple&#039;i sisselogimise vallutasime\" src=\"\/wp-content\/uploads\/2019\/10\/852962ce93d4fafb85827af1128aea38.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nOleme loonud grupid meie litsentsimisportaalile ja igale rakendusele, mis selle portaaliga opereerib. Teema slotide piirangutest oleme juba teavitanud Apple'it ja ootame nende vastust.<\/p>\n<h3>Kasulikud lingid<\/h3>\n<p>\nK\u00f5ige kasulikum <noindex><a rel=\"nofollow\" href=\"https:\/\/developer.okta.com\/blog\/2019\/06\/04\/what-the-heck-is-sign-in-with-apple\">link<\/a><\/noindex>, minu arvates, mille abil ma kogu asja tegin. Apple'i poolikult kasulik dokumentatsioon <noindex><a rel=\"nofollow\" href=\"https:\/\/developer.apple.com\/sign-in-with-apple\/get-started\">siin<\/a><\/noindex>.<\/p>\n<p>Naudi! K\u00fcsimused, m\u00f5tted, ideed ja ettepanekud on kommentaarides oodatud.<br \/>\n<br \/>Allikas: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/parallels\/blog\/469499\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u0443\u043c\u0430\u044e \u0443 \u043c\u043d\u043e\u0433\u0438\u0445 \u0443\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 WWDC 2019 \u043d\u0430 \u0441\u043b\u0443\u0445\u0443 Sign In with Apple (\u043a\u0440\u0430\u0442\u043a\u043e SIWA). \u0412 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0435 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u0441 \u043a\u0430\u043a\u0438\u043c\u0438 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e \u043f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u043c\u0438 \u043a\u0430\u043c\u043d\u044f\u043c\u0438 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u043f\u0440\u0438 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u044d\u0442\u043e\u0439 \u0448\u0442\u0443\u043a\u0435\u043d\u0446\u0438\u0438 \u0432 \u043d\u0430\u0448 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\u0430\u043b. \u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0435\u0448\u0438\u043b \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0441 SIWA (\u0434\u043b\u044f \u043d\u0438\u0445 \u044f \u0434\u0430\u043b \u0440\u044f\u0434 \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0441\u044b\u043b\u043e\u0447\u0435\u043a \u0432 \u043a\u043e\u043d\u0446\u0435 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":28993,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-38651","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0414\u0443\u043c\u0430\u044e \u0443 \u043c\u043d\u043e\u0433\u0438\u0445 \u0443\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 WWDC 2019 \u043d\u0430 \u0441\u043b\u0443\u0445\u0443.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/et\/blog\/news\/kak-my-v-parallels-pokoryali-sign-in-with-apple\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"et_EE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041a\u0430\u043a \u043c\u044b \u0432 Parallels \u043f\u043e\u043a\u043e\u0440\u044f\u043b\u0438 Sign In with Apple | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u0443\u043c\u0430\u044e \u0443 \u043c\u043d\u043e\u0433\u0438\u0445 \u0443\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 WWDC 2019 \u043d\u0430 \u0441\u043b\u0443\u0445\u0443.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/et\/blog\/news\/kak-my-v-parallels-pokoryali-sign-in-with-apple\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T19:25:04+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T19:25:04+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Kuidas me Parallels'is vallutasime Sign In with Apple | ProHoster","description":"Arvan, et paljusid on p\u00e4rast WWDC 2019 juba kuulda olnud.","canonical_url":"https:\/\/prohoster.info\/et\/blog\/news\/kak-my-v-parallels-pokoryali-sign-in-with-apple","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"et_EE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041a\u0430\u043a \u043c\u044b \u0432 Parallels \u043f\u043e\u043a\u043e\u0440\u044f\u043b\u0438 Sign In with Apple | ProHoster","og:description":"\u0414\u0443\u043c\u0430\u044e \u0443 \u043c\u043d\u043e\u0433\u0438\u0445 \u0443\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 WWDC 2019 \u043d\u0430 \u0441\u043b\u0443\u0445\u0443.","og:url":"https:\/\/prohoster.info\/et\/blog\/news\/kak-my-v-parallels-pokoryali-sign-in-with-apple","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T19:25:04+00:00","article:modified_time":"2019-10-31T19:25:04+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"38651","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-23 22:55:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 01:05:22","updated":"2026-01-23 22:55:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts\/38651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/comments?post=38651"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts\/38651\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/media\/28993"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/media?parent=38651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/categories?post=38651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/tags?post=38651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}