File tree 1 file changed +21
-1
lines changed
1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -74,4 +74,24 @@ We can now create the App Service where our wiki will run.
74
74
1. Browse to your app public URL. *(Can be found in the **Overview** tab of your web app resource)*
75
75
1. Follow the instructions to create the admin account and start using your wiki.
76
76
77
- {.align-abstopright}
77
+ # 4. Troubleshooting
78
+
79
+ ## 4.1 431 Request Header Fields Too Large Issues
80
+
81
+ Enabling **App Service Authentication** in **Azure** might cause `Request Header Fields Too Large` errors.
82
+ To fix this:
83
+ 1. In your Azure Web App, navigate to **Configuration**.
84
+ 1. Add the following **Application Settings**:
85
+ ```
86
+ WEBSITE_AUTH_DISABLE_IDENTITY_FLOW: true
87
+ ```
88
+
89
+ The issue can re-appear for graphql queries when enabling SAML 2.0 authentication in Wiki.js, even with above fix.
90
+ To solve that we need to increase the max header size for NodeJS.
91
+ 1. In your Azure Web App, navigate to **Configuration**.
92
+ 1. Add the following **Application Settings**:
93
+ ```
94
+ NODE_OPTIONS: --max-http-header-size=81920
95
+ ```
96
+
97
+ {.align-abstopright}
You can’t perform that action at this time.
0 commit comments