How do I turn on basic auth in Mingle 2.0?#612
|
|
I must be missing something, but I can’t seem to find a file called, ‘auth_config.ymlfile’ in the config directory. Am I suppose to add this file? |
|
|
auth_config.yml should be created in the <mingle_data>/config directory after Mingle installled and first user login Mingle. If there is no one, you can create one for it. |
|
|
I see a test_auth_config.yml and it has the following contents: password_format: strict If we rename this file to auth_config.yml will basic authentication be turned on? Do we need to put values for basic_authentication and authentication? And I’m supposing that basic_authentication_enabled is the property to set and not basic_auth_enabled (the latter is the one mentioned in Help)? Also after making the changes, do we need to restart the Mingle server? |
|
|
Aman – we support both forms of the key. So both basic_auth_enabled and basic_authentication_enabled should work. Also the auth_config.yml file is a file that should be in the config subdirectory of your data directory. If you are on windows, this is a directory you configure when you install Mingle for the first time. On a Mac, it is the directory you enter in the application launcher. On a unix installer, this folder should be configured in your mingle.properties file. The test_auth_config.yml which is present under the config directory of the application does not impact how mingle works. The following help topic provides more info on how to get started with the API -> http://studios.thoughtworks.com/mingle/2.0.1/help/mingle_api.html Changes to auth_config.yml will need a server restart. |
