fixed logout

This commit is contained in:
Konstantinos Spyrou 2021-07-22 08:36:29 +00:00
parent cbff7a55ee
commit 17a888cff2
4 changed files with 4 additions and 1 deletions

View File

@ -47,7 +47,7 @@ export class AuthenticationService {
console.log(`${this.apiUrl}/openid_logout`); console.log(`${this.apiUrl}/openid_logout`);
/*window.location.href = `${this.apiUrl}/openid_logout`;*/ /*window.location.href = `${this.apiUrl}/openid_logout`;*/
window.location.href = `https://aai.openaire.eu/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=${this.apiUrl}/openid_logout`; window.location.href = `${environment.AAI_LOGOUT + window.location.origin + this.apiUrl}/openid_logout`;
} }
public tryLogin() { public tryLogin() {

View File

@ -1,5 +1,6 @@
export const environment = { export const environment = {
production: true, production: true,
AAI_LOGOUT: 'https://aai.openaire.eu/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=',
MATOMO_URL: 'https://analytics.openaire.eu/', MATOMO_URL: 'https://analytics.openaire.eu/',
MATOMO_SITE: 92, MATOMO_SITE: 92,
API_ENDPOINT: '/api', API_ENDPOINT: '/api',

View File

@ -1,5 +1,6 @@
export const environment = { export const environment = {
production: true, production: true,
AAI_LOGOUT: 'https://aai.openaire.eu/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=',
MATOMO_URL: 'https://analytics.openaire.eu/', MATOMO_URL: 'https://analytics.openaire.eu/',
MATOMO_SITE: 111, MATOMO_SITE: 111,
API_ENDPOINT: '/api', API_ENDPOINT: '/api',

View File

@ -4,6 +4,7 @@
export const environment = { export const environment = {
production: false, production: false,
AAI_LOGOUT: 'https://openaire-dev.aai-dev.grnet.gr/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=',
API_ENDPOINT: '/uoa-repository-manager-service', API_ENDPOINT: '/uoa-repository-manager-service',
MATOMO_URL: 'https://analytics.openaire.eu/', MATOMO_URL: 'https://analytics.openaire.eu/',
MATOMO_SITE: 9222222, MATOMO_SITE: 9222222,