<commit_before>## How to install from Github

```
npm install <GitHub URL>
cd node_modules/iobroker.admin
npm install
gulp
iobroker upload admin
```

## How to Implement OAuth Authentication flow

Since Admin 6.2.14 there is a convenience support for OAuth authentication flows that send the user to the authorization server and then redirect the user back to complete the process.

### Sending user to the Authorization server
In JSON-Config you can use the sendTo component to send a message to your adapter which then as response return an URL. The component can then open this URL automatically in a new tab/window.

**This only works if the URL for redirecting back after the authentication do not need to be specified hardcoded in the configurationnof the client!** 

```json
"_authenticate": {
    "newLine": true,<commit_msg>gulp is not working, instead use npm run build<commit_after>## How to install from Github

```
npm install <GitHub URL>
cd node_modules/iobroker.admin
npm install
npm run build
iobroker upload admin
```

## How to Implement OAuth Authentication flow

Since Admin 6.2.14 there is a convenience support for OAuth authentication flows that send the user to the authorization server and then redirect the user back to complete the process.

### Sending user to the Authorization server
In JSON-Config you can use the sendTo component to send a message to your adapter which then as response return an URL. The component can then open this URL automatically in a new tab/window.

**This only works if the URL for redirecting back after the authentication do not need to be specified hardcoded in the configurationnof the client!** 

```json
"_authenticate": {
    "newLine": true,
{'fraction_non_alphanumeric': 0.050936768149882905, 'fraction_numerical': 0.00468384074941452, 'mean_word_length': 4.64026402640264, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6736558', 'n_tokens_mistral': 452, 'n_tokens_neox': 425, 'n_words': 253}