gnome-online-accounts:基于 GNOME 的单点登录框架项目

用户可借助此项目在 GNOME 环境中实现多种在线账户的统一登录管理,它支持 Facebook、Flickr、Google 等主流平台的 OAuth 认证协议,提供便捷安全的单点登录功能。【此简介由AI生成】

Branch6Tags6
FilesLast commitLast update
4 years ago
2 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago

GNOME Online Accounts - Single sign-on framework for GNOME

Facebook

OAuth 2.0: https://developers.facebook.com/docs/authentication/ https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow https://developers.facebook.com/docs/reference/dialogs/oauth/ https://developers.facebook.com/tools/explorer/

Scopes: https://developers.facebook.com/docs/authentication/permissions/

Notes: The client-side flow returns the access_token and expires_in in the URI's fragment, and does not provide a refresh_token. However, if the user denied access then the error is returned in the URI's query. The URIs look like this:

  • <get_redirect_uri>?#access_token=...
  • <get_redirect_uri>?error=access_denied...#=

Flickr

OAuth 1.0: http://www.flickr.com/services/api/auth.oauth.html

Foursquare

OAuth 2.0: https://developer.foursquare.com/overview/auth

Google

OAuth 2.0: https://developers.google.com/accounts/docs/OAuth2InstalledApp https://developers.google.com/apis-explorer/ https://developers.google.com/oauthplayground/

Scopes: https://developers.google.com/accounts/docs/OAuth2Login https://developers.google.com/google-apps/calendar/auth https://developers.google.com/google-apps/contacts/v3/ https://developers.google.com/drive/web/scopes https://developers.google.com/google-apps/gmail/oauth_protocol https://developers.google.com/picasa-web/docs/2.0/developers_guide_protocol https://developers.google.com/talk/jep_extensions/oauth https://developers.google.com/cloud-print/docs/devguide

Sometimes the documentation is lacking. In such cases, the following can be useful: https://developers.google.com/apis-explorer/ https://developers.google.com/oauthplayground/ https://discovery-check.appspot.com/

Notes: We are allowed to embed the client_secret in the source code. See https://developers.google.com/accounts/docs/OAuth2InstalledApp#overview

Windows Live

OAuth 2.0: http://msdn.microsoft.com/en-us/library/live/hh243647.aspx

Scopes: http://msdn.microsoft.com/en-us/library/live/hh243646.aspx http://blogs.office.com/b/microsoft-outlook/archive/2013/09/12/outlook-com-now-with-imap.aspx

Notes: We do not need the client_secret because we are marked as a desktop or mobile application, and we use https://login.live.com/oauth20_desktop.srf as the redirect_uri.

Introduction

用户可借助此项目在 GNOME 环境中实现多种在线账户的统一登录管理,它支持 Facebook、Flickr、Google 等主流平台的 OAuth 认证协议,提供便捷安全的单点登录功能。【此简介由AI生成】

Customize your domain