mirror of
https://github.com/documize/community.git
synced 2025-07-30 02:29:43 +02:00
auth with cas
This commit is contained in:
parent
8c99977fc9
commit
8c2df6178d
150 changed files with 43682 additions and 24175 deletions
|
@ -41,6 +41,13 @@ export default Route.extend({
|
|||
});
|
||||
|
||||
break;
|
||||
case constants.AuthProvider.CAS: {
|
||||
let config = JSON.parse(this.get('appMeta.authConfig'));
|
||||
let url = config.url + '/login?service=' + encodeURIComponent(config.redirectUrl);
|
||||
window.location.replace(url);
|
||||
resolve();
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
this.set('showLogin', true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue