From d5245b5ea4b9314df8900664d5503dd9812a8013 Mon Sep 17 00:00:00 2001 From: adrien2p Date: Fri, 17 Feb 2023 16:10:00 +0100 Subject: [PATCH] docs: Fix malformed comment --- docs/pages/authentication/auth0.mdx | 10 ++++++---- docs/pages/authentication/facebook.mdx | 10 ++++++---- docs/pages/authentication/google.mdx | 10 ++++++---- docs/pages/authentication/linkedin.mdx | 10 ++++++---- 4 files changed, 24 insertions(+), 16 deletions(-) diff --git a/docs/pages/authentication/auth0.mdx b/docs/pages/authentication/auth0.mdx index 3c60607..4e3d5a1 100644 --- a/docs/pages/authentication/auth0.mdx +++ b/docs/pages/authentication/auth0.mdx @@ -44,9 +44,10 @@ newly added plugins. To do so here are the steps callbackUrl:`${BACKEND_URL}/admin/auth/auth0/cb`, failureRedirect: `${ADMIN_URL}/login`, - // The success redirect can be overriden from the client by adding a query param `?redirectTo=your_url` - // This query param will have the priority over this configuration + // The success redirect can be overriden from the client by adding a query param `?redirectTo=your_url` to the auth url + // This query param will have the priority over this configuration successRedirect: `${ADMIN_URL}/`, + // authPath: '/admin/auth/auth0', // authCallbackPath: '/admin/auth/auth0/cb', // expiresIn: 24 * 60 * 60 * 1000, @@ -59,9 +60,10 @@ newly added plugins. To do so here are the steps callbackUrl:`${BACKEND_URL}/store/auth/auth0/cb`, failureRedirect: `${STORE_URL}/login`, - // The success redirect can be overriden from the client by adding a query param `?redirectTo=your_url` - // This query param will have the priority over this configuration + // The success redirect can be overriden from the client by adding a query param `?redirectTo=your_url` to the auth url + // This query param will have the priority over this configuration successRedirect: `${STORE_URL}/`, + // authPath: '/store/auth/auth0', // authCallbackPath: '/store/auth/auth0/cb', // expiresIn: 24 * 60 * 60 * 1000, diff --git a/docs/pages/authentication/facebook.mdx b/docs/pages/authentication/facebook.mdx index 1b6c246..6848422 100644 --- a/docs/pages/authentication/facebook.mdx +++ b/docs/pages/authentication/facebook.mdx @@ -42,9 +42,10 @@ newly added plugins. To do so here are the steps callbackUrl:`${BACKEND_URL}/admin/auth/facebook/cb`, failureRedirect: `${ADMIN_URL}/login`, - // The success redirect can be overriden from the client by adding a query param `?redirectTo=your_url` - // This query param will have the priority over this configuration + // The success redirect can be overriden from the client by adding a query param `?redirectTo=your_url` to the auth url + // This query param will have the priority over this configuration successRedirect: `${ADMIN_URL}/`, + // authPath: '/admin/auth/facebook', // authCallbackPath: '/admin/auth/facebook/cb', // expiresIn: 24 * 60 * 60 * 1000, @@ -57,9 +58,10 @@ newly added plugins. To do so here are the steps callbackUrl:`${BACKEND_URL}/store/auth/facebook/cb`, failureRedirect: `${STORE_URL}/login`, - // The success redirect can be overriden from the client by adding a query param `?redirectTo=your_url` - // This query param will have the priority over this configuration + // The success redirect can be overriden from the client by adding a query param `?redirectTo=your_url` to the auth url + // This query param will have the priority over this configuration successRedirect: `${STORE_URL}/`, + // authPath: '/store/auth/facebook', // authCallbackPath: '/store/auth/facebook/cb', // expiresIn: 24 * 60 * 60 * 1000, diff --git a/docs/pages/authentication/google.mdx b/docs/pages/authentication/google.mdx index f6407f3..42b993f 100644 --- a/docs/pages/authentication/google.mdx +++ b/docs/pages/authentication/google.mdx @@ -42,9 +42,10 @@ newly added plugins. To do so here are the steps callbackUrl:`${BACKEND_URL}/admin/auth/google/cb`, failureRedirect: `${ADMIN_URL}/login`, - // The success redirect can be overriden from the client by adding a query param `?redirectTo=your_url` - // This query param will have the priority over this configuration + // The success redirect can be overriden from the client by adding a query param `?redirectTo=your_url` to the auth url + // This query param will have the priority over this configuration successRedirect: `${ADMIN_URL}/`, + // authPath: '/admin/auth/google', // authCallbackPath: '/admin/auth/google/cb', // expiresIn: 24 * 60 * 60 * 1000, @@ -57,9 +58,10 @@ newly added plugins. To do so here are the steps callbackUrl:`${BACKEND_URL}/store/auth/google/cb`, failureRedirect: `${STORE_URL}/login`, - // The success redirect can be overriden from the client by adding a query param `?redirectTo=your_url` - // This query param will have the priority over this configuration + // The success redirect can be overriden from the client by adding a query param `?redirectTo=your_url` to the auth url + // This query param will have the priority over this configuration successRedirect: `${STORE_URL}/`, + // authPath: '/store/auth/google', // authCallbackPath: '/store/auth/google/cb', // expiresIn: 24 * 60 * 60 * 1000, diff --git a/docs/pages/authentication/linkedin.mdx b/docs/pages/authentication/linkedin.mdx index 9ae5edb..73c36d2 100644 --- a/docs/pages/authentication/linkedin.mdx +++ b/docs/pages/authentication/linkedin.mdx @@ -42,9 +42,10 @@ newly added plugins. To do so here are the steps callbackUrl:`${BACKEND_URL}/admin/auth/linkedin/cb`, failureRedirect: `${ADMIN_URL}/login`, - // The success redirect can be overriden from the client by adding a query param `?redirectTo=your_url` - // This query param will have the priority over this configuration + // The success redirect can be overriden from the client by adding a query param `?redirectTo=your_url` to the auth url + // This query param will have the priority over this configuration successRedirect: `${ADMIN_URL}/`, + // authPath: '/admin/auth/linkedin', // authCallbackPath: '/admin/auth/linkedin/cb', // expiresIn: 24 * 60 * 60 * 1000, @@ -57,9 +58,10 @@ newly added plugins. To do so here are the steps callbackUrl:`${BACKEND_URL}/store/auth/linkedin/cb`, failureRedirect: `${STORE_URL}/login`, - // The success redirect can be overriden from the client by adding a query param `?redirectTo=your_url` - // This query param will have the priority over this configuration + // The success redirect can be overriden from the client by adding a query param `?redirectTo=your_url` to the auth url + // This query param will have the priority over this configuration successRedirect: `${STORE_URL}/`, + // authPath: '/store/auth/linkedin', // authCallbackPath: '/store/auth/linkedin/cb', // expiresIn: 24 * 60 * 60 * 1000,