« Fournisseur de service OAuth2 Google(administration) » : différence entre les versions

De Wiki1000
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 9 : Ligne 9 :
Il s'agit de  
Il s'agit de  


  - Créer un projet
  - Créer un nouveau projet
  - Ajouter l'API Google calendar à ce projet
  - Ajouter l'API Google calendar à ce projet
  - Créer l'écran d'autorisation OAuth
  - Créer l'écran d'autorisation OAuth
  - Ajouter à l'écran d'autorisation OAuth le champs d'application Google calendar
  - Ajouter à l'écran d'autorisation OAuth le champs d'application Google calendar
  - Créer un identifiant OAuth2 (afin d'obtenir le clientID et le clientSecret)
  - Créer un identifiant OAuth2 (afin d'obtenir le clientID et le clientSecret)
  - paramétrer l'adresse de rappel adéquate  
  - paramétrer l'adresse de rappel adéquate https://[hôte]/oauth2_success_2.l1000 (ou bien https://[hôte]/[nom du service]/server/oauth2_success_2.l1000 si IIS est utilisé)




==Exemple==
==Exemple==


[[image:auth_srv_oauth2_google_1.png]]


[[image:auth_srv_oauth2_google_2.png]]


[[image:auth_srv_oauth2_google_4.png]]


[[image:auth_srv_oauth2_google_5.png]]


[[image:auth_srv_oauth2_google_6.png]]


[[image:auth_srv_oauth2_google_7.png]]


[[image:auth_srv_oauth2_google_8.png]]
[[image:auth_srv_oauth2_google_9.png]]
[[image:auth_srv_oauth2_google_10.png]]
[[image:auth_srv_oauth2_google_11.png]]





Version du 15 mai 2020 à 13:47

Prérequis

Il est nécessaire de détenir un compte GSuite

Les utilisateurs doivent être créés.

Paramétrage

Il s'agit de

- Créer un nouveau projet
- Ajouter l'API Google calendar à ce projet
- Créer l'écran d'autorisation OAuth
- Ajouter à l'écran d'autorisation OAuth le champs d'application Google calendar
- Créer un identifiant OAuth2 (afin d'obtenir le clientID et le clientSecret)
- paramétrer l'adresse de rappel adéquate https://[hôte]/oauth2_success_2.l1000 (ou bien https://[hôte]/[nom du service]/server/oauth2_success_2.l1000 si IIS est utilisé)


Exemple

Fichier:Auth srv oauth2 google 1.png

Fichier:Auth srv oauth2 google 2.png

Fichier:Auth srv oauth2 google 4.png

Fichier:Auth srv oauth2 google 5.png

Fichier:Auth srv oauth2 google 6.png

Fichier:Auth srv oauth2 google 7.png

Fichier:Auth srv oauth2 google 8.png

Fichier:Auth srv oauth2 google 9.png

Fichier:Auth srv oauth2 google 10.png

Fichier:Auth srv oauth2 google 11.png