@xuda.io/account_module 1.2.2190 → 1.2.2191
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1692,7 +1692,7 @@ const get_prices = function (uid, item) {
|
|
|
1692
1692
|
};
|
|
1693
1693
|
|
|
1694
1694
|
export const create_account_oauth_link = async function (req, job_id) {
|
|
1695
|
-
const link = `https://accounts.google.com/o/oauth2/v2/auth?scope=https://mail.google.com/&access_type=offline&include_granted_scopes=true&response_type=code&state=${req.uid}&redirect_uri=https://${_conf.is_debug ? 'dev.' : ''}xuda.
|
|
1695
|
+
const link = `https://accounts.google.com/o/oauth2/v2/auth?scope=https://mail.google.com/&access_type=offline&include_granted_scopes=true&response_type=code&state=${req.uid}&redirect_uri=https://${_conf.is_debug ? 'dev.' : ''}xuda.ai/oauth&client_id=${
|
|
1696
1696
|
_conf.gmail.clientId
|
|
1697
1697
|
}&prompt=select_account consent`;
|
|
1698
1698
|
// await jobs_module.update_job(
|