openid-client-config.js 854 B

1234567891011121314151617181920
  1. /*
  2. Defines the base of where the OpenID Provider redirects its response to.
  3. */
  4. var server_root = "https://openid-selector.googlecode.com/svn/trunk/"
  5. /*
  6. On the server-side you'd accept an OpenID URL and perform discovery
  7. on it to find out the actual OpenID endpoint to send the authentication
  8. request to. On the client side it isn't possible to lookup the endpoint
  9. from the target server due to XSS restrictions. The endpoint for each
  10. provider is therefore cached in this static file. If an endpoint isn't
  11. specified for a provider then authentication on the client side cannot
  12. proceed.
  13. */
  14. var providers_endpoint = {
  15. google: 'https://www.google.com/accounts/o8/ud',
  16. yahoo: 'https://open.login.yahooapis.com/openid/op/auth',
  17. aol: 'https://api.screenname.aol.com/auth/openidServer',
  18. verisign: 'https://pip.verisignlabs.com/server'
  19. }