mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 16:57:51 +08:00
fix: update documentation links to new docs (#3156)
This commit is contained in:
@@ -56,7 +56,7 @@ var userGroupCreateCmd = &cobra.Command{
|
|||||||
Short: "create user group",
|
Short: "create user group",
|
||||||
Long: `create user group`,
|
Long: `create user group`,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
fmt.Println("CLI doesn't support creation of groups currently. Visit the dashboard to create one or refer to our api documentation https://docs.v2.netmaker.io/reference")
|
fmt.Println("CLI doesn't support creation of groups currently. Visit the dashboard to create one or refer to our api documentation https://docs.netmaker.io/api")
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -58,7 +58,7 @@ var userRoleCreateCmd = &cobra.Command{
|
|||||||
Short: "create user role",
|
Short: "create user role",
|
||||||
Long: `create user role`,
|
Long: `create user role`,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
fmt.Println("CLI doesn't support creation of roles currently. Visit the dashboard to create one or refer to our api documentation https://docs.v2.netmaker.io/reference")
|
fmt.Println("CLI doesn't support creation of roles currently. Visit the dashboard to create one or refer to our api documentation https://docs.netmaker.io/api")
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -7,4 +7,4 @@ Call the api/users/adm/authenticate endpoint (see documentation below for detail
|
|||||||
|
|
||||||
Note: While a MasterKey exists (configurable via env var or config file), it should be considered a backup option, used only when server access is lost. By default, this key is "secret key," but it's crucial to change this and keep it secure in your instance.
|
Note: While a MasterKey exists (configurable via env var or config file), it should be considered a backup option, used only when server access is lost. By default, this key is "secret key," but it's crucial to change this and keep it secure in your instance.
|
||||||
|
|
||||||
For more information on configuration and security best practices, refer to the [Netmaker documentation](https://docs.netmaker.org/index.html).
|
For more information on configuration and security best practices, refer to the [Netmaker documentation](https://docs.netmaker.io/).
|
||||||
|
@@ -93,12 +93,12 @@ var htmlBaseTemplate = `<!DOCTYPE html>
|
|||||||
</html>`
|
</html>`
|
||||||
|
|
||||||
var oauthNotConfigured = fmt.Sprintf(htmlBaseTemplate, `<h2>Your Netmaker server does not have OAuth configured.</h2>
|
var oauthNotConfigured = fmt.Sprintf(htmlBaseTemplate, `<h2>Your Netmaker server does not have OAuth configured.</h2>
|
||||||
<p>Please visit the docs <a href="https://docs.netmaker.org/oauth.html" target="_blank" rel="noopener">here</a> to learn how to.</p>`)
|
<p>Please visit the docs <a href="https://docs.netmaker.io/docs/server-installation/integrating-oauth" target="_blank" rel="noopener">here</a> to learn how to.</p>`)
|
||||||
|
|
||||||
var oauthStateInvalid = fmt.Sprintf(htmlBaseTemplate, `<h2>Invalid OAuth Session. Please re-try again.</h2>`)
|
var oauthStateInvalid = fmt.Sprintf(htmlBaseTemplate, `<h2>Invalid OAuth Session. Please re-try again.</h2>`)
|
||||||
|
|
||||||
var userNotAllowed = fmt.Sprintf(htmlBaseTemplate, `<h2>Your account does not have access to the dashboard. Please contact your administrator for more information about your account.</h2>
|
var userNotAllowed = fmt.Sprintf(htmlBaseTemplate, `<h2>Your account does not have access to the dashboard. Please contact your administrator for more information about your account.</h2>
|
||||||
<p>Non-Admins can access the netmaker networks using <a href="https://docs.netmaker.io/pro/rac.html" target="_blank" rel="noopener">RemoteAccessClient.</a></p>`)
|
<p>Non-Admins can access the netmaker networks using <a href="https://docs.netmaker.io/docs/remote-access-client-rac#downloadinstallation" target="_blank" rel="noopener">our Remote Access Client.</a></p>`)
|
||||||
|
|
||||||
var userFirstTimeSignUp = fmt.Sprintf(htmlBaseTemplate, `<h2>Thank you for signing up. Please contact your administrator for access.</h2>`)
|
var userFirstTimeSignUp = fmt.Sprintf(htmlBaseTemplate, `<h2>Thank you for signing up. Please contact your administrator for access.</h2>`)
|
||||||
|
|
||||||
|
@@ -118,7 +118,7 @@ var ssoErrCallbackTemplate = template.Must(
|
|||||||
<h4>Error reason: {.Verb}</h4>
|
<h4>Error reason: {.Verb}</h4>
|
||||||
<em>Your Netmaker server may not have SSO configured properly.</em>
|
<em>Your Netmaker server may not have SSO configured properly.</em>
|
||||||
<em>
|
<em>
|
||||||
Please visit the <a href="https://docs.netmaker.org/oauth.html" target="_blank" rel="noopener">docs</a> for more information.
|
Please visit the <a href="https://docs.netmaker.io/docs/server-installation/integrating-oauth" target="_blank" rel="noopener">docs</a> for more information.
|
||||||
</em>
|
</em>
|
||||||
<p>
|
<p>
|
||||||
If you feel this is a mistake, please contact your network administrator.
|
If you feel this is a mistake, please contact your network administrator.
|
||||||
|
@@ -3098,7 +3098,7 @@ tags:
|
|||||||
|
|
||||||
Note: While a MasterKey exists (configurable via env var or config file), it should be considered a backup option, used only when server access is lost. By default, this key is "secret key," but it's crucial to change this and keep it secure in your instance.
|
Note: While a MasterKey exists (configurable via env var or config file), it should be considered a backup option, used only when server access is lost. By default, this key is "secret key," but it's crucial to change this and keep it secure in your instance.
|
||||||
|
|
||||||
For more information on configuration and security best practices, refer to the [Netmaker documentation](https://docs.netmaker.org/index.html).
|
For more information on configuration and security best practices, refer to the [Netmaker documentation](https://docs.netmaker.io/).
|
||||||
name: Authentication
|
name: Authentication
|
||||||
- description: |
|
- description: |
|
||||||
Check out our [Pricing](https://www.netmaker.io/pricing). And Feel Free to [Contact Us](https://www.netmaker.io/contact) if you have any questions or need some clarifications.
|
Check out our [Pricing](https://www.netmaker.io/pricing). And Feel Free to [Contact Us](https://www.netmaker.io/contact) if you have any questions or need some clarifications.
|
||||||
|
Reference in New Issue
Block a user