config.js 496 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * @file
  3. * Server-side configuration for the application.
  4. *
  5. * User: marand
  6. * Date: 09/09/15
  7. * Time: 14:16
  8. */
  9. SSO = {
  10. settings: {
  11. "authBaseUrl": "http://drop8"
  12. },
  13. configuration: {
  14. },
  15. state: {
  16. }
  17. };
  18. Meteor.methods({
  19. 'userInfo': function () {
  20. return HTTP.call('GET', SSO.settings.authBaseUrl + '/', {
  21. params: {},
  22. headers: {
  23. 'cookie': 'SESS2767e46e15422527777376ba0aeecd4b=' + 'LaMN_H0qgYhkBoLY7RQMFHDr9QWUVBJWez-OcnaOGGo'
  24. }
  25. });
  26. }
  27. });