Skip to content

Commit

Permalink
docs: Fix malformed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien2p committed Feb 17, 2023
1 parent 0b28b40 commit d5245b5
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 16 deletions.
10 changes: 6 additions & 4 deletions docs/pages/authentication/auth0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down
10 changes: 6 additions & 4 deletions docs/pages/authentication/facebook.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down
10 changes: 6 additions & 4 deletions docs/pages/authentication/google.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down
10 changes: 6 additions & 4 deletions docs/pages/authentication/linkedin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit d5245b5

Please sign in to comment.