Skip to content
Snippets Groups Projects
Commit a5c8e13f authored by Baptiste Toulemonde's avatar Baptiste Toulemonde
Browse files

Merge branch 'feature/indigo_auth' into 'master'

fix conf ingress

See merge request !37
parents de0c4edd 5b15a685
No related branches found
No related tags found
1 merge request!37fix conf ingress
...@@ -23,7 +23,7 @@ const httpOptions = { ...@@ -23,7 +23,7 @@ const httpOptions = {
export class AuthService { export class AuthService {
private authorizationEndpoint = '/harvester/oauth2/authorization/oidc'; private authorizationEndpoint = '/harvester/oauth2/authorization/oidc';
private tokenEndpoint = '/login/oauth2/code/oidc'; private tokenEndpoint = '/harvester/login';
private baseUrl = environment.smartharvesterUrl; private baseUrl = environment.smartharvesterUrl;
private FdpBaseUrl = environment.fdpUrl; private FdpBaseUrl = environment.fdpUrl;
private tokenKey = 'auth-token;' private tokenKey = 'auth-token;'
...@@ -93,6 +93,6 @@ export class AuthService { ...@@ -93,6 +93,6 @@ export class AuthService {
logout() { logout() {
return this.http.post(this.baseUrl + '/logout', this.getToken(), this.httpOptions); return this.http.post(this.baseUrl + '/harvester/logout', this.getToken(), this.httpOptions);
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment