Support local development dashboard login
This commit is contained in:
@@ -2714,8 +2714,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
this.setToken(null);
|
||||
|
||||
// start oidc flow
|
||||
window.location.href = '/openid/auth?client_id=dashboard&scope=openid email profile&response_type=code token&redirect_uri=' + window.location.origin + '/authcallback.html';
|
||||
// window.location.href = '/login.html?returnTo=/' + encodeURIComponent(window.location.hash);
|
||||
window.location.href = this.apiOrigin + '/openid/auth?client_id=' + (this.apiOrigin ? 'development' : 'dashboard') + '&scope=openid email profile&response_type=code token&redirect_uri=' + window.location.origin + '/authcallback.html';
|
||||
};
|
||||
|
||||
Client.prototype.logout = function () {
|
||||
|
||||
Reference in New Issue
Block a user