feat: hide password input for sso and restict sso

This commit is contained in:
prafull-opensignlabs
2024-05-31 19:00:29 +05:30
parent afb4de9d0c
commit d071986aac
4 changed files with 64 additions and 44 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import axios from 'axios';
import dotenv from 'dotenv';
dotenv.config();
const ssoApiUrl = process.env.SSO_API_URL || 'https://osl-jacksonv2.vercel.app/api';
const ssoApiUrl = process.env.SSO_API_URL || 'https://sso.opensignlabs.com/api'; //'https://osl-jacksonv2.vercel.app/api';
export const SSOAuth = {
// Returns a promise that fulfills if this user mail is valid.
validateAuthData: async authData => {