Thomas Hussain ← Mattermost Feature Proposal Forum My feedback 1 result found Add Gitea OAuth2 Support 121 votes Vote Vote Vote Vote We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close 1 vote 2 votes 3 votes Remove votes You have left! (?) (thinking…) 6 comments · General » Mattermost Team Edition · Delete… · Admin → How important is this to you? Not at all You must login first! Important You must login first! Critical You must login first! We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close An error occurred while saving the comment Thomas Hussain commented · Oct 20, 2021 · Delete… For me it worked with updating my nginx configuration with those settings: server { ... location / { ... proxy_redirect off; ... } location /oauth/authorize { proxy_pass http://127.0.0.1:3000/login/oauth/authorize; } location /oauth/token { proxy_pass http://127.0.0.1:3000/login/oauth/access_token; } location /api/v4 { proxy_pass http://127.0.0.1:3000/api/v1; } ... } Save Submitting...
For me it worked with updating my nginx configuration with those settings:
server {
...
location / {
...
proxy_redirect off;
...
}
location /oauth/authorize {
proxy_pass http://127.0.0.1:3000/login/oauth/authorize;
}
location /oauth/token {
proxy_pass http://127.0.0.1:3000/login/oauth/access_token;
}
location /api/v4 {
proxy_pass http://127.0.0.1:3000/api/v1;
}
...
}