<commit_before># xIT Access Account Manager

## Instalačný postup

### Nastavenie opravnení pre GSuite


#### Vytvorenie projektu

1. Otvor [Developer console](https://console.developers.google.com/cloud-resource-manager)
1. Klikni na **Create Project**, do **Project Name** daj *xIT Account Manager* a klinkni **Create**
1. Počkaj na vytvorenie projektu

#### Povolenie API

1. Otvor API Manager -> [Library](https://console.cloud.google.com/apis/library)
1. Skontroluj, ze ci mas vybraty projekt, ktory si vytvoril
1. Vyhladaj a vyber *Google People API* a potom klikni na **Enable**
1. Zopakuj predchadzajuci krok pre *Google+ API* a *Admin SDK* 

#### Vytvorenie OAuth Consent Screen

1. Otvor Api Manager -> [Credentials](https://console.developers.google.com/apis/credentials/consent)
1. Nastav email
1. Nazov projektu: *"xIT Account Manager"*
1. Homepage URL `https://account.xit.camp/`
1. Popripade pridat logo

#### Vytvorenie authorization credentials pre Web Application

1. Podla navodu [1](https://developers.google.com/identity/protocols/OAuth2WebServer#creatingcred) alebo [2](https://developers.google.com/identity/sign-in/web/server-side-flow#step_1_create_a_client_id_and_client_secret) vytvor Web Application credentials
1. Do pola *Name* zadaj napr. *"User services client"*
1. Cast *Authorized JavaScript origins* nechaj prazdnu
1. Do pola *Authorized redirect URIs* zadaj 2 hodnoty
    - `https://localhost:8443/cxf/oidc/rp/complete`<commit_msg>fix console URL<commit_after># xIT Access Account Manager

## Instalačný postup

### Nastavenie opravnení pre GSuite


#### Vytvorenie projektu

1. Otvor [Developer console](https://console.cloud.google.com/cloud-resource-manager)
1. Klikni na **Create Project**, do **Project Name** daj *xIT Account Manager* a klinkni **Create**
1. Počkaj na vytvorenie projektu

#### Povolenie API

1. Otvor API Manager -> [Library](https://console.cloud.google.com/apis/library)
1. Skontroluj, ze ci mas vybraty projekt, ktory si vytvoril
1. Vyhladaj a vyber *Google People API* a potom klikni na **Enable**
1. Zopakuj predchadzajuci krok pre *Google+ API* a *Admin SDK* 

#### Vytvorenie OAuth Consent Screen

1. Otvor Api Manager -> [Credentials](https://console.cloud.google.com/apis/credentials/consent)
1. Nastav email
1. Nazov projektu: *"xIT Account Manager"*
1. Homepage URL `https://account.xit.camp/`
1. Popripade pridat logo

#### Vytvorenie authorization credentials pre Web Application

1. Podla navodu [1](https://developers.google.com/identity/protocols/OAuth2WebServer#creatingcred) alebo [2](https://developers.google.com/identity/sign-in/web/server-side-flow#step_1_create_a_client_id_and_client_secret) vytvor Web Application credentials
1. Do pola *Name* zadaj napr. *"User services client"*
1. Cast *Authorized JavaScript origins* nechaj prazdnu
1. Do pola *Authorized redirect URIs* zadaj 2 hodnoty
    - `https://localhost:8443/cxf/oidc/rp/complete`
{'fraction_non_alphanumeric': 0.12030075187969924, 'fraction_numerical': 0.017088174982911826, 'mean_word_length': 5.0600414078674945, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '546088', 'n_tokens_mistral': 1041, 'n_tokens_neox': 1026, 'n_words': 289}