Revision 61442
Added by Konstantinos Spyrou over 2 years ago
modules/uoa-repository-dashboard-gui/trunk/src/app/services/authentication.service.ts | ||
---|---|---|
47 | 47 |
console.log(`${this.apiUrl}/openid_logout`); |
48 | 48 |
|
49 | 49 |
/*window.location.href = `${this.apiUrl}/openid_logout`;*/ |
50 |
window.location.href = `https://aai.openaire.eu/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=${this.apiUrl}/openid_logout`;
|
|
50 |
window.location.href = `${environment.AAI_LOGOUT + window.location.origin + this.apiUrl}/openid_logout`;
|
|
51 | 51 |
} |
52 | 52 |
|
53 | 53 |
public tryLogin() { |
modules/uoa-repository-dashboard-gui/trunk/src/environments/environment.beta.ts | ||
---|---|---|
1 | 1 |
export const environment = { |
2 | 2 |
production: true, |
3 |
AAI_LOGOUT: 'https://aai.openaire.eu/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=', |
|
3 | 4 |
MATOMO_URL: 'https://analytics.openaire.eu/', |
4 | 5 |
MATOMO_SITE: 92, |
5 | 6 |
API_ENDPOINT: '/api', |
modules/uoa-repository-dashboard-gui/trunk/src/environments/environment.ts | ||
---|---|---|
4 | 4 |
|
5 | 5 |
export const environment = { |
6 | 6 |
production: false, |
7 |
AAI_LOGOUT: 'https://openaire-dev.aai-dev.grnet.gr/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=', |
|
7 | 8 |
API_ENDPOINT: '/uoa-repository-manager-service', |
8 | 9 |
MATOMO_URL: 'https://analytics.openaire.eu/', |
9 | 10 |
MATOMO_SITE: 9222222, |
modules/uoa-repository-dashboard-gui/trunk/src/environments/environment.prod.ts | ||
---|---|---|
1 | 1 |
export const environment = { |
2 | 2 |
production: true, |
3 |
AAI_LOGOUT: 'https://aai.openaire.eu/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=', |
|
3 | 4 |
MATOMO_URL: 'https://analytics.openaire.eu/', |
4 | 5 |
MATOMO_SITE: 111, |
5 | 6 |
API_ENDPOINT: '/api', |
Also available in: Unified diff
fixed logout