en:products:comfortel-d-series:developer:keys:templates:examples:teams_integration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:products:comfortel-d-series:developer:keys:templates:examples:teams_integration [07.04.2022 05:18]
hoehne
en:products:comfortel-d-series:developer:keys:templates:examples:teams_integration [13.08.2022 04:00] (current)
0.0.0.0 ↷ Links angepasst weil Seiten im Wiki verschoben wurden
Line 5: Line 5:
 ====== Create Client-ID ====== ====== Create Client-ID ======
  
-To allow the phones to access the Teams-API your admin must once create a client-id in teams. Please follow the steps in this document: {{..:..:..:..:d-100-200:d-100-200:d-100-200:d-100-200:d-100-200:d-100-200:d-100-200:developer:keys:templates:examples:createclientidinteams.docx|create_client_id_in_teams.docx}}+To allow the phones to access the Teams-API your admin must once create a client-id in teams. Please follow the steps in this document: {{en:wiki.auerswald.de:products:comfortel-d-series:d-100-200:d-100-200:d-100-200:d-100-200:d-100-200:d-100-200:d-100-200:d-100-200:developer:keys:templates:examples:createclientidinteams.docx|create_client_id_in_teams.docx}}
 ====== Refresh-skripts ====== ====== Refresh-skripts ======
  
-We have created these [[.:teams_integration:teams_refresh.xml|scripts]] that login in to the Teams-API. They run in the background on your phone and keep refreshing the API-credentials so that your phone and any teams-keys on it have access. Please take these scripts, insert the Client-ID (replace 2 occurrences of //[Client-ID]// with actual client-id) and provision them onto your phone(s).+We have created these [[en:wiki.auerswald.de:products:comfortel-d-series:developer:keys:templates:examples:teams_integration:teams_refresh.xml|scripts]] that login in to the Teams-API. They run in the background on your phone and keep refreshing the API-credentials so that your phone and any teams-keys on it have access. Please take these scripts, insert the Client-ID (replace 2 occurrences of //[Client-ID]// with actual client-id) and provision them onto your phone(s).
  
 Once a phone gets these scripts you now need to provide them the initial login-credentials for the user that is to be using that phone. I.e. this has to be repeated for every phone: Once a phone gets these scripts you now need to provide them the initial login-credentials for the user that is to be using that phone. I.e. this has to be repeated for every phone:
Line 18: Line 18:
 ===== Create access-tokens ===== ===== Create access-tokens =====
  
-On the same browser open the following page. Please replace **//[Client-ID]//** with the ID created for your company (see [[.:teams_integration#create Client-ID]]):+On the same browser open the following page. Please replace **//[Client-ID]//** with the ID created for your company (see [[en:wiki.auerswald.de:products:comfortel-d-series:developer:keys:templates:examples:teams_integration#create Client-ID]]):
     https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize?client_id=[Client-ID]&response_type=code&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient&scope=offline_access%20presence.read%20user.readBasic.all     https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize?client_id=[Client-ID]&response_type=code&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient&scope=offline_access%20presence.read%20user.readBasic.all
 Once you hit return you might think nothing has happend because the browser opens a blank page. But the address bar of your browser will have changed slightly and now contains the code that the phone needs to gain access to the API. Copy the entire URL (including all that stuff behind the **?**) and send it to the phone by opening the following page on your phone: Once you hit return you might think nothing has happend because the browser opens a blank page. But the address bar of your browser will have changed slightly and now contains the code that the phone needs to gain access to the API. Copy the entire URL (including all that stuff behind the **?**) and send it to the phone by opening the following page on your phone:
  • en/products/comfortel-d-series/developer/keys/templates/examples/teams_integration.txt
  • Last modified: 13.08.2022 04:00
  • by 0.0.0.0