Created
October 14, 2020 15:30
-
-
Save bjoerntx/c3631a859f99cce25427767a55dfeef0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@using TXTextControl.DocumentServices.DocumentEditor | |
@Html.TXTextControl().DocumentEditor(settings => | |
{ | |
settings.ServiceUrl = "http://testserver2019/DocumentServices"; | |
settings.OAuthSettings.ClientId = | |
"txtextcontrol.B540D103D34FE893074148D39EAFCACD30D89F4A72D722509B757E5203DF599C"; | |
settings.OAuthSettings.ClientSecret = | |
"76B63ACC8446A017053985A3245644221F7D8F635175AE6261AA4B66728E5F7B"; | |
settings.OAuthSettings.RedirectUri = string.Format("{0}://{1}{2}/{3}", | |
Context.Request.Scheme, | |
Context.Request.Host, | |
Context.Request.PathBase, | |
"textcontrol/documenteditor/auth/callback"); | |
}).Render() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment