> For the complete documentation index, see [llms.txt](https://kb.stoque.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.stoque.com.br/abaris/zeev-sead/configurar/ambiente/configuracao-do-acesso-saml.md).

# Configuração do acesso SAML

**Integra o acesso ao sistema (usuário e senha), com outros provedores de acesso.**

Para criar um novo SAML clique em "**Ambiente**" > "**SAML**" > "**Novo SAML**".

Será necessário preencher os campos:&#x20;

* **Saml:** Nome do SAML.
* **Identificador do SAML:** Deve ser informado a URL nesse formato:\
  &#x20;                                          *<mark style="background-color:yellow;"><https://sts.windows.net/\\>\<ID do diretório (locatário)>/</mark>*
* **Login URL**: Deve ser informado a URL nesse formato:\
  &#x20;                   &#x20;*&#x20;<mark style="background-color:yellow;"><https://login.microsoftonline.com/\\>\<ID do diretório (locatário)>/saml2</mark>*
* **Logout URL**: Deve ser informado a URL nesse formato:                        \
  &#x20;                        *<mark style="background-color:yellow;"><https://login.microsoftonline.com/common/wsfederation?wa=wsignout1.0></mark>*
* **Escolha um certificado e/ou um ícone:** Inserir o certificado de autenticação e o ícone que será exibido nas telas de login do sistema.
* **Desabilitar campos de usuário e senha:** Desabilita os campos usuário e senha nas telas de login do sistema.&#x20;
  * Exibe somente o ícone do SAML.

Lembre-se que o acesso precisa ter um nome exclusivo e que os endereços precisam estar corretamente preenchidos. Após realizar as descrições, clique em "**Salvar**".

<figure><img src="https://content.gitbook.com/content/73h8jc2boir77H17PQnh/blobs/DlFPtEsthBkROm0exvf3/samlGIF.gif" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Após configuração ou edição do SAML, a equipe de Infra/AWS da Stoque deve ser informada para que o SAML cadastrado/editado seja registrado. Após configurar o SAML, o ícone é exibido nas telas de login dos módulos do sistema, abaixo do botão Acessar.
{% endhint %}

Para ***editar*** o SAML, acesse os SAMLs existentes no menu SAMLs e clique em "**Editar**". Faça as edições necessárias e salve as alterações.

Para ***excluir***, ao invés de clicar no ícone para edição, clique em "**Excluir**". Lembre-se que, apõs confirmar a exclusão, o processo é irreversível.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://kb.stoque.com.br/abaris/zeev-sead/configurar/ambiente/configuracao-do-acesso-saml.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
