> For the complete documentation index, see [llms.txt](https://docs.skyone.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.skyone.cloud/english/api-skyone-autosky/platform-logon.md).

# Platform Logon

The user logon process on the platform is **not** performed directly through an API call.

This procedure is carried out through a direct call via **HTTPS** (secure connection) to the specified domain using the logon parameters.

This model allows all controls and interactions with the user during their connection to be handled directly by the Autosky platform. Procedures such as plugin installation and other controls can be suggested and managed by the platform.

## **Logon URL Structure**

The URL is composed of the logon URL (provided along with the authentication token) and the user and password information.

### Parâmetros

| Parameter  | Required | Encoding    | Description                            |
| ---------- | -------- | ----------- | -------------------------------------- |
| `auth`     | Yes      | Base64      | Credentials in `EMAIL:PASSWORD` format |
| `param`    | No       | Base64      | Application parameters                 |
| `back_url` | No       | Normal text | Return URL                             |

### Format

```
https://meudominio.skyinone.net/usuario/autentica/?auth={BASE64}&param={BASE64}&back_url={URL}
```

## Examples

### Before Base64 conversion

```
https://meudominio.skyinone.net/usuario/autentica/?auth=meuemail@dominio.com:MinhaSenha&param=123456789&back_url=https://www.meu-portal-acesso.com.br
```

### After Base64 conversion

```
https://meudominio.skyinone.net/usuario/autentica/?auth=bWV1ZW1haWxAZG9taW5pby5jb206TWluaGFTZW5oYQ==&param=MTIzNDU2Nzg5&back_url=https://www.meu-portal-acesso.com.br
```

## How to generate Base64

### JavaScript

```javascript
const auth = btoa("meuemail@dominio.com:MinhaSenha");
// Resultado: "bWV1ZW1haWxAZG9taW5pby5jb206TWluaGFTZW5oYQ=="
```

### Python

```python
import base64
auth = base64.b64encode("meuemail@dominio.com:MinhaSenha".encode()).decode()
# Resultado: "bWV1ZW1haWxAZG9taW5pby5jb206TWluaGFTZW5oYQ=="
```

### Bash

```bash
echo -n "meuemail@dominio.com:MinhaSenha" | base64
# Resultado: bWV1ZW1haWxAZG9taW5pby5jb206TWluaGFTZW5oYQ==
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.skyone.cloud/english/api-skyone-autosky/platform-logon.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
