miroslavpejic85 / mirotalkwebrtc Goto Github PK
View Code? Open in Web Editor NEW๐ MiroTalk's WebRTC rooms scheduler.
Home Page: https://webrtc.mirotalk.com
License: GNU Affero General Public License v3.0
๐ MiroTalk's WebRTC rooms scheduler.
Home Page: https://webrtc.mirotalk.com
License: GNU Affero General Public License v3.0
Currently you've got the following in mongodb:
volumes:
- './.mongodb_data:/data/db'
however as you're creating a named volume later in the compose file it should be as follows:
volumes:
- mongodb_data:/data/db
Hey
I try to run mirotalk on a kubernetes cluster. My problem is I don't have a mail server to rely on for the verification mails.
An ENV var to switch this feature off would be very helpful.
Can I enhance the UI of the Login and Register Page of the website under hacktoberfest?
When freshly visiting the page client.html both the icons( Slide up and slide down ) were showing up simultaneously which i think is a bug. however it sorts out when any of them is clicked but on refreshing the page same issue arises again n again.
I think i can fix it...so please assign me this issue.
Implementing social login features using Node.js typically involves leveraging OAuth and various OAuth providers like Facebook, Google, Twitter, GitHub, etc.
, to authenticate users. There are popular libraries like Passport.js that make this process relatively straightforward. Here's a general overview of how you might implement social login using Node.js:
Set Up OAuth Providers:
Initialize Node.js Project:
npm init
.Install Required Packages:
Configure Passport.js:
Set Up Routes:
Implement Authentication Middleware:
Frontend Integration:
const express = require('express');
const passport = require('passport');
const GoogleStrategy = require('passport-google-oauth20').Strategy;
const app = express();
passport.use(new GoogleStrategy({
clientID: GOOGLE_CLIENT_ID,
clientSecret: GOOGLE_CLIENT_SECRET,
callbackURL: '/auth/google/callback'
},
function(accessToken, refreshToken, profile, done) {
// You can handle the retrieved user profile or create a new user here
// This function is where you'd typically save the user to a database
return done(null, profile);
}
));
app.get('/auth/google',
passport.authenticate('google', { scope: ['profile', 'email'] })
);
app.get('/auth/google/callback',
passport.authenticate('google', { failureRedirect: '/login' }),
function(req, res) {
// Successful authentication, redirect to success page or perform other actions
res.redirect('/success');
}
);
app.listen(9000, () => {
console.log('Server is running on port 9000');
});
This is a basic setup using Passport.js with the Google OAuth strategy.
You'd need to adapt this code to your specific needs and integrate it with your backend and frontend accordingly.
Remember to secure sensitive information such as client secrets and keys. Storing them in environment variables is recommended.
The process might vary slightly based on the OAuth provider and the strategy you're implementing, but the fundamentals usually remain the same.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.