use openid-client with passport

This commit is contained in:
Mészáros Mihály
2019-05-13 11:41:34 +02:00
parent 26389993a3
commit 28f9e72612
4 changed files with 282 additions and 122 deletions
+2 -2
View File
@@ -253,14 +253,14 @@ export default class RoomClient
login()
{
const url = `/login?roomId=${this._room.roomId}&peerName=${this._peerName}`;
const url = `/auth/login?roomId=${this._room.roomId}&peerName=${this._peerName}`;
this._loginWindow = window.open(url, 'loginWindow');
}
logout()
{
window.location = '/logout';
window.location = '/auth/logout';
}
closeLoginWindow()