Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25517

Bad response from token request after team creation auth

$
0
0

Thanks again for the help,

I double checked the URLs in config and all is good, but if i go to http://gitlab.XXXXXXXXXXX.com/oauth/token in my browser there is indeed a 404 not found response from gitlab, whereas the other 2 urls (/authorize and /api/V3/user) works (401 or gitlab error message)

"GitLabSettings": {
        "Enable": true,
        "Secret": "mysecret",
        "Id": "myid",
        "Scope": "",
        "AuthEndpoint": "http://gitlab.XXXXXXXXXXX.com/oauth/authorize",
        "TokenEndpoint": "http://gitlab.XXXXXXXXXXX.com/oauth/token",
        "UserApiEndpoint": "http://gitlab.XXXXXXXXXXX.com/api/v3/user"
    }

I didn't find an "EnableInsecureOutgoingConnections" entry in my mattermost config.json file, here is the "ServiceSettings" section :

"ServiceSettings": {
        "ListenAddress": "127.0.0.1:8065",
        "MaximumLoginAttempts": 10,
        "SegmentDeveloperKey": "",
        "GoogleDeveloperKey": "",
        "EnableOAuthServiceProvider": false,
        "EnableIncomingWebhooks": false,
        "EnableOutgoingWebhooks": false,
        "EnablePostUsernameOverride": false,
        "EnablePostIconOverride": false,
        "EnableTesting": false,
        "EnableSecurityFixAlert": true,
        "EnableDeveloper": false,
        "SessionLengthWebInDays" : 30,
        "SessionLengthMobileInDays" : 30,
        "SessionLengthSSOInDays" : 30,
        "SessionCacheInMinutes" : 10
    },

I added "EnableInsecureOutgoingConnections" : true but it doesn't seems to change anything


Viewing all articles
Browse latest Browse all 25517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>