Skip to content

Commit

Permalink
Merge branch 'master' into rollback-enable-api-deletion-configs
Browse files Browse the repository at this point in the history
  • Loading branch information
svelle authored Oct 2, 2024
2 parents d1fa65a + 21439d6 commit f24fcc2
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 77 deletions.
20 changes: 0 additions & 20 deletions source/configure/experimental-configuration-settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1580,26 +1580,6 @@ To include every blocking event in the profile, set the rate to ``1``. To turn o
| This feature's ``config.json`` setting is ``"BlockProfileRate": 0`` with options ``0`` and ``1``. |
+---------------------------------------------------------------------------------------------------+

.. config:setting:: exp-appcustomurlschemes
:displayname: App custom URL schemes (Experimental)
:systemconsole: N/A
:configjson: .NativeAppSettings.AppCustomURLSchemes
:environment: N/A
:description: Define valid custom URL schemes for redirect links provided by custom-built mobile Mattermost apps.

App custom URL schemes
~~~~~~~~~~~~~~~~~~~~~~

This setting isn't available in the System Console and can only be set in ``config.json``.

Define valid custom URL schemes for redirect links provided by custom-built mobile Mattermost apps. This ensures users are redirected to the custom-built mobile app and not Mattermost's mobile client.

When configured, after OAuth or SAML user authentication is complete, custom URL schemes sent by mobile clients are validated to ensure they don't include default schemes such as ``http`` or ``https``. Mobile users are then redirected back to the mobile app using the custom scheme URL provided by the mobile client. We recommend that you update your mobile client values as well with valid custom URL schemes.

+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| This feature's ``config.json`` setting is ``"NativeAppSettings.AppCustomURLSchemes"`` with an array of strings as input. For example: ``[custom-app://, some-app://]``. |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

.. config:setting:: exp-o365scope
:displayname: Entra ID scope (Experimental)
:systemconsole: N/A
Expand Down
25 changes: 25 additions & 0 deletions source/configure/site-configuration-settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,31 @@ iOS app download link
| String input. Default is ``https://about.mattermost.com/mattermost-ios-app/``. | |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+

.. config:setting:: exp-appcustomurlschemes
:displayname: App custom URL schemes (Customization)
:systemconsole: N/A
:configjson: .NativeAppSettings.AppCustomURLSchemes
:environment: MM_NativeAppSettings_AppCustomURLSchemes = mmauth:// mmauthbeta://
:description: Define valid custom URL schemes for redirect links provided by custom-built mobile Mattermost apps.

App custom URL schemes
~~~~~~~~~~~~~~~~~~~~~~

This setting isn't available in the System Console and can only be set in ``config.json``.

Define valid custom URL schemes for redirect links provided by custom-built mobile Mattermost apps. This ensures users are redirected to the custom-built mobile app and not Mattermost's mobile client.

When configured, after OAuth or SAML user authentication is complete, custom URL schemes sent by mobile clients are validated to ensure they don't include default schemes such as ``http`` or ``https``. Mobile users are then redirected back to the mobile app using the custom scheme URL provided by the mobile client. We recommend that you update your mobile client values as well with valid custom URL schemes.

+------------------------------------------------------------------------------------------------------------------------------------------------+
| This feature's ``config.json`` setting is ``"NativeAppSettings.AppCustomURLSchemes"`` with an array of strings as input separated by spaces. |
+------------------------------------------------------------------------------------------------------------------------------------------------+
| For example: |
| |
| - ``MM_NativeAppSettings_AppCustomURLSchemes = mmauth:// mmauthbeta://`` |
| - Via mmctl: ``mmctl config set NativeAppSettings.AppCustomURLSchemes "mmauth://" "mmauthbeta://"`` |
+------------------------------------------------------------------------------------------------------------------------------------------------+

----

Localization
Expand Down
Loading

0 comments on commit f24fcc2

Please sign in to comment.