Skip to content
ryscheng edited this page Oct 29, 2014 · 4 revisions

OAuth support

'core.oauth' is a core permission first proposed in freedom v0.6. freedom.js modules with this permission have the ability to perform a full client-side OAuth2.0 flow.

Goals

  • Should support any OAuth2.0 client-side authorization flow.
  • By default, any freedom.js module using this interface does not have to worry about how to display the proper screens to the user, which will be different depending on the platform (e.g. freedom/freedom-for-chrome/freedom-for-node/freedom-for-firefox).
  • For special cases, an application developer should be able to specify a core.oauth provider to customize the user experience of the oAuth flow.

Usage

Custom core.oauth providers

Clone this wiki locally