Подтвердить что ты не робот

"OpenID2 для аккаунтов Google уходит 20 апреля 2015 года". Нужно ли волноваться?

Я разрабатываю веб-сайт с помощью ASP.NET, и я использую функцию Oauth для регистрации пользователей на моем веб-сайте. Я загрузил DontNetOpenOauth из пакетов nuget для Visual studio 2013. До сих пор я реализовал аутентификацию facebook. Я надеюсь использовать также проверку подлинности Google. Но когда я иду на сайт, он говорит об этом.

"OpenID2 для учетных записей Google уходит 20 апреля 2015 г."

Когда я перехожу на страницу с подробным описанием этого предупреждения, он говорит

"Некоторые приложения и веб-сайты используют OpenID 2.0 для аутентификации при входе в систему и для доступа к данным, которым вы дали им доступ. Начиная с 20 апреля 2015 года OpenID 2.0 больше не будет работать для учетных записей Google. Если вы видели предупреждение, которое привело вас на эту страницу, это означает, что вы используете приложение или веб-сайт с OpenID 2.0 и могут быть затронуты этим изменением. Для получения дополнительной информации мы рекомендуем посетить этот справочный центр приложения или обратиться в службу поддержки.

Вот ссылка.

https://support.google.com/accounts/answer/6135882

Честное слово с вами, ребята, я не знаком с этим процессом аутентификации oauth. Что это за сообщение? Мне нужно беспокоиться об этом? Должны ли какие-либо изменения делать, или какие-либо пакеты, которые мне нужно установить?

4b9b3361

Ответ 1

Нет, вам не нужно беспокоиться, это просто означает, что разработчикам @Stackoverflow придется немного изменить свой код, но он должен работать нормально.

EDIT:

Вы должны изменить свой код с OpenID на OAuth 2, используя http://developers.google.com/accounts/docs/OAuth2WebServer с минимальной областью developers.google.com/+/api/oauth # login-scopes, который является profile, и из этого профиля вы можете определить, какой пользователь это и зарегистрировать в

Вам не нужно сохранять возвращенный токен, потому что вам не понадобится его снова до следующего входа, который вы автоматически передадите новому или же токену Goole

Мой совет заключается в использовании идентификатора, который можно найти, используя этот документ

{
 "kind": "plus#person",
 "etag": "\"RqKWnRU4WW46-6W3rWhLR9iFZQM/hGBwxYeYt07li9hNmxa2J7GE_0c\"",
 "nickname": "GreYFoX",
 "occupation": "Computer Engineer",
 "skills": "iOS Developement, Android Developement",
 "birthday": "0000-09-20",
 "gender": "male",
 "emails": [
  {
   "value": "@#^$%@^#@gmail.com",
   "type": "account"
  }
 ],
 "urls": [
  {
   "value": "http://www.myspace.com/Shereef",
   "type": "otherProfile",
   "label": "Shereef"
  },
  {
   "value": "http://Shereefz.spaces.live.com",
   "type": "otherProfile",
   "label": "shereefz"
  },
  {
   "value": "http://www.plaxo.com/profile/showPublic/Shereef",
   "type": "otherProfile",
   "label": "shereef"
  },
  {
   "value": "http://cid-c74ed9e76d675051.profile.live.com",
   "type": "otherProfile",
   "label": "@&#$%&@#%^[email protected]"
  },
  {
   "value": "http://www.plaxo.com/profile/showPublic/null",
   "type": "otherProfile",
   "label": "null"
  },
  {
   "value": "http://pulse.yahoo.com/_VMZ2QYN3AWG57HS5IUW4T2KHRM",
   "type": "otherProfile",
   "label": "Shereef Marzouk"
  },
  {
   "value": "http://about.me/Shereef",
   "type": "otherProfile",
   "label": "About.me"
  },
  {
   "value": "http://www.youtube.com/user/Shereefz",
   "type": "otherProfile",
   "label": "Shereef Marzouk"
  },
  {
   "value": "http://www.youtube.com/user/Shereefz",
   "type": "otherProfile",
   "label": "Shereef Marzouk"
  },
  {
   "value": "http://www.myspace.com/Shereef",
   "type": "otherProfile",
   "label": "Shereef"
  },
  {
   "value": "http://Shereefz.spaces.live.com",
   "type": "otherProfile",
   "label": "shereefz"
  },
  {
   "value": "http://profiles.google.com/17F648F7-5C7D-42D4-A40F-CAC12280C712",
   "type": "otherProfile",
   "label": "SheefoPad"
  },
  {
   "value": "http://www.youtube.com/user/Shereefz",
   "type": "otherProfile",
   "label": "Shereef Marzouk"
  },
  {
   "value": "http://Shereefz.spaces.live.com",
   "type": "otherProfile",
   "label": "shereefz"
  },
  {
   "value": "http://www.myspace.com/Shereef",
   "type": "otherProfile",
   "label": "Shereef"
  },
  {
   "value": "http://profiles.google.com/17F648F7-5C7D-42D4-A40F-CAC12280C712",
   "type": "otherProfile",
   "label": "SheefoPad"
  },
  {
   "value": "https://profiles.google.com/104183538590490028018/buzz",
   "type": "contributor",
   "label": "Buzz"
  },
  {
   "value": "https://developers.google.com/groups/chapter/103706763079402130148/",
   "type": "contributor",
   "label": "GDG Alexandria (Google Developers Group Alexandria)"
  },
  {
   "value": "http://www.shereef.net",
   "type": "contributor",
   "label": "Shereef"
  },
  {
   "value": "http://shereef.net/resume",
   "type": "other",
   "label": "Resume"
  },
  {
   "value": "http://shereef.net/blog",
   "type": "other",
   "label": "Blogger"
  },
  {
   "value": "http://about.me/shereef",
   "type": "other",
   "label": "About.me"
  },
  {
   "value": "http://pulse.yahoo.com/sheefoz",
   "type": "other",
   "label": "sheefoz"
  },
  {
   "value": "http://facebook.com/Shereefz",
   "type": "other",
   "label": "shereefz"
  },
  {
   "value": "http://www.linkedin.com/in/shereef",
   "type": "other",
   "label": "shereef"
  }
 ],
 "objectType": "person",
 "id": "104183538590490028018",
 "displayName": "Shereef Marzouk",
 "name": {
  "familyName": "Marzouk",
  "givenName": "Shereef"
 },
 "tagline": "Senior Mobile Developer / Team lead at X Digital Group",
 "braggingRights": "XDG Hero",
 "aboutMe": "<span>Shereef Marzouk is an Egyptian mobile applications developer who enjoys his work very much, with many years of experience of development in mobile and general development, Shereef also loves helping people and love sharing, He also develops free-lance applications under his personal company name Tools Era (ToolsEra), Shereef is an Egyptian with his own cultural views and politic, Shereef is not your typical Egyptian nor Developer.</span>",
 "relationshipStatus": "engaged",
 "url": "https://plus.google.com/+ShereefMarzouk",
 "image": {
  "url": "https://lh3.googleusercontent.com/-P9UMptk6e5U/AAAAAAAAAAI/AAAAAAAFzp0/v3ArGL-l8Tg/photo.jpg?sz=50",
  "isDefault": false
 },
 "organizations": [
  {
   "name": "Alexandria Higher Institute of Engineering and Technology",
   "title": "Computer Engineering",
   "type": "school",
   "startDate": "2005",
   "endDate": "2011",
   "primary": false
  },
  {
   "name": "English Lycee Liberity",
   "title": "School",
   "type": "school",
   "startDate": "1994",
   "endDate": "2004",
   "primary": false
  },
  {
   "name": "Sidi Gaber Language School",
   "title": "K.G.",
   "type": "school",
   "startDate": "1992",
   "endDate": "1994",
   "primary": false
  },
  {
   "name": "X Digital Group",
   "title": "Senior Mobile Developer / Team Lead",
   "type": "work",
   "startDate": "2012",
   "primary": true
  },
  {
   "name": "X Digital Group",
   "title": "Interactive Touch Screen and Mobile Core Developer",
   "type": "work",
   "startDate": "2012",
   "endDate": "2013",
   "primary": false
  },
  {
   "name": "Health-Insights",
   "title": "Android / iOS / C#.NET Developer",
   "type": "work",
   "startDate": "2011",
   "endDate": "2012",
   "primary": false
  }
 ],
 "placesLived": [
  {
   "value": "Alexandria, Egypt",
   "primary": true
  },
  {
   "value": "KSA"
  },
  {
   "value": "Lybia"
  },
  {
   "value": "Egypt"
  },
  {
   "value": "Qatar"
  }
 ],
 "isPlusUser": true,
 "language": "en",
 "ageRange": {
  "min": 21
 },
 "circledByCount": 707,
 "verified": false,
 "cover": {
  "layout": "banner",
  "coverPhoto": {
   "url": "https://lh3.googleusercontent.com/-kp8ALVVOa1o/U-Bo2sjE9GI/AAAAAAAFkaA/PWKY2q2e9lY/s630-fcrop64=1,0000208effb2f94e/_MG_0344-SMILE.jpg",
   "height": 626,
   "width": 940
  },
  "coverInfo": {
   "topImageOffset": -294,
   "leftImageOffset": 0
  }
 }
}

найдите "id": "104183538590490028018" в json i, вставленном здесь

P.S. Откройте все ссылки в этом ответе, потому что они вам помогут.

Также помните, когда вы запрашиваете профиль для использования id как меня, потому что у вас не будет входа в профиль пользователя