fixed logout
This commit is contained in:
parent
cbff7a55ee
commit
17a888cff2
|
@ -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() {
|
||||||
|
|
|
@ -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',
|
||||||
|
|
|
@ -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',
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue