Project

General

Profile

« Previous | Next » 

Revision 50901

use new api reports path for csv reports | don't remove cookie after login to can use it from other portals for common login

View differences:

modules/uoa-services-portal/trunk/portal-4cli/src/app/utils/properties/openaireProperties.ts
46 46
    private static metricsAPIURL = "https://beta.services.openaire.eu/usagestats/";
47 47
    private static framesAPIURL = "https://beta.openaire.eu/stats3/";
48 48

  
49
    private static loginAPIURL = "http://rudie.di.uoa.gr:8080/dnet%2Dopenaire%2Dusers%2D1.0.0%2DSNAPSHOT/api/users/authenticates"
49
    private static loginAPIURL = "http://scoobydoo.di.uoa.gr:8080/uoa-user-management-1.0.0-SNAPSHOT/api/users/authenticates";
50
    //"http://rudie.di.uoa.gr:8080/dnet%2Dopenaire%2Dusers%2D1.0.0%2DSNAPSHOT/api/users/authenticates"
50 51
    //"http://scoobydoo.di.uoa.gr:8080/uoa-user-management-1.0.0-SNAPSHOT/api/users/authenticates";
51 52
    private static loginAPIURL_pm = "https://beta.services.openaire.eu/uoa-user-management/api/users/authenticates";
52 53

  
......
106 107

  
107 108
    private static loginUrl ="http://rudie.di.uoa.gr:8080/dnet-openaire-users-1.0.0-SNAPSHOT/openid_connect_login";
108 109
    //"http://mpagasas.di.uoa.gr:8080/dnet-openaire-users-1.0.0-SNAPSHOT/openid_connect_login";
110
    //"http://rudie.di.uoa.gr:8080/dnet-openaire-users-1.0.0-SNAPSHOT/openid_connect_login";
111
    //
109 112
    private static loginUrl_pm ="https://beta.services.openaire.eu/uoa-user-management/openid_connect_login";
110 113

  
111 114
    private static logoutUrl ="https://aai.openminted.eu/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=";
modules/uoa-services-portal/trunk/portal-4cli/src/app/login/utils/helper.class.ts
40 40
      var user:User = null;
41 41
      var cookie= COOKIE.getCookie(COOKIE.cookieName_u);
42 42
    if( typeof localStorage !== 'undefined') {
43
        if(localStorage.getItem("user")) {
43
        if(localStorage.getItem("user") || (cookie != null && cookie != "")) {
44 44
          user = JSON.parse(localStorage.getItem("user"));
45 45
            if(user && (user.fullname != null || user.lastname !=null || user.firstname !=null)){
46 46

  

Also available in: Unified diff