From 1b8f92c0808348344ce7e8776d7630f955f884a7 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 27 Aug 2018 18:14:55 +0300 Subject: [PATCH] Updated OAuth2 (markdown) --- OAuth2.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/OAuth2.md b/OAuth2.md index d2789f2..0a8dc4e 100644 --- a/OAuth2.md +++ b/OAuth2.md @@ -13,14 +13,14 @@ If there is existing username/password account in Wekan, OAuth2 merges both logi Source: [OAuth2 Pull Request](https://github.com/wekan/wekan/pull/1578) -## 1) Install Rocket.Chat +### 1) Install Rocket.Chat [Rocket.Chat Snap](https://rocket.chat/docs/installation/manual-installation/ubuntu/snaps/) has Node at port 3000 and mongodb at port 27017. ``` sudo snap install rocketchat-server ``` -## 2) Install Wekan +### 2) Install Wekan [Wekan Snap](https://github.com/wekan/wekan-snap/wiki/Install) has Node at port 3001 and MongoDB at port 27019. ``` @@ -60,7 +60,7 @@ Enable Wekan's Caddy: sudo snap set caddy-enabled='true' ``` -## 3) Add Rocket.Chat settings +### 3) Add Rocket.Chat settings Login to Rocket.Chat at https://chat.example.com . @@ -81,7 +81,7 @@ Access Token URL: https://chat.example.com/oauth/token ``` Save Changes. -## 4) Add Wekan settings +### 4) Add Wekan settings ``` sudo snap set wekan oauth2-client-id='abcde12345' @@ -92,7 +92,7 @@ sudo snap set wekan oauth2-userinfo-endpoint='/oauth/userinfo' sudo snap set wekan oauth2-token-endpoint='/oauth/token' ``` -## 5) Login to Wekan +### 5) Login to Wekan 1) Go to https://wekan.example.com @@ -102,7 +102,7 @@ sudo snap set wekan oauth2-token-endpoint='/oauth/token' Wekan login to Rocket.Chat -## 6) Set your Full Name +### 6) Set your Full Name Currently Full Name is not preserved, so you need to change it. @@ -112,7 +112,7 @@ Currently Full Name is not preserved, so you need to change it. Wekan login to Rocket.Chat -## 7) Add more login options to Rocket.Chat +### 7) Add more login options to Rocket.Chat 1) At Rocket.Chat, Click: (3 dots) Options / Administration