Skip to content

Commit

Permalink
[mirotalkbro] - update .env.template and dep
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed May 6, 2024
1 parent 4c3326d commit cc8b09b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ OIDC_ISSUER_BASE_URL='https://server.example.com'
OIDC_BASE_URL='http://localhost:3016' # https://bro.mirotalk.com
OIDC_CLIENT_ID='ClientID'
OIDC_CLIENT_SECRET='ClientSecret'
OIDC_AUTH_REUIRED=false # set to true if authentication is required for all routes
SESSION_SECRET='mirotalk-bro-oidc-secret'

# Stun: https://bloggeek.me/webrtcglossary/stun/
Expand Down
4 changes: 2 additions & 2 deletions app/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @license For open source under AGPL-3.0
* @license For private project or commercial purposes contact us at: [email protected]
* @author Miroslav Pejic - [email protected]
* @version 1.0.48
* @version 1.0.49
*/

require('dotenv').config();
Expand Down Expand Up @@ -154,7 +154,7 @@ const OIDC = {
response_type: 'code',
scope: 'openid profile email',
},
authRequired: false,
authRequired: process.env.OIDC_AUTH_REQUIRED ? getEnvBoolean(process.env.OIDC_AUTH_REQUIRED) : false,
auth0Logout: true,
routes: {
callback: '/auth/callback',
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mirotalkbro",
"version": "1.0.48",
"version": "1.0.49",
"description": "P2P WebRTC audio, video and screen live broadcast",
"main": "app/server.js",
"scripts": {
Expand All @@ -23,8 +23,8 @@
"author": "Miroslav Pejic",
"license": "AGPLv3",
"dependencies": {
"@sentry/integrations": "^7.112.2",
"@sentry/node": "^7.112.2",
"@sentry/integrations": "^7.113.0",
"@sentry/node": "^7.113.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
Expand Down

0 comments on commit cc8b09b

Please sign in to comment.