diff --git a/log/login.html b/log/login.html
index 201ce319..5b12a210 100644
--- a/log/login.html
+++ b/log/login.html
@@ -60,6 +60,9 @@
RAPIDOC
Account created successfully
+
+
+
@@ -68,6 +71,7 @@
RAPIDOC
+
@@ -99,6 +103,9 @@ RAPIDOC
Login successful
+
+
+
@@ -107,6 +114,8 @@
RAPIDOC
+
+
@@ -204,6 +213,20 @@ Hello, Friend!
console.error(error);
});
}
+// Initialize OAuth.io
+OAuth.initialize('your_oauth_io_public_key'); // Replace with your OAuth.io public key
+
+// Handle Microsoft Sign In
+function handleMicrosoftSignIn() {
+ OAuth.popup('microsoft').then(microsoft => {
+ console.log('Microsoft token:', microsoft.access_token);
+ microsoft.me().then(data => {
+ console.log('Microsoft user data:', data);
+ });
+ }).catch(error => {
+ console.error(error);
+ });
+}
document.querySelectorAll('.toggle-password').forEach(item => {