Mudanças entre as edições de "IdP - Identity Provider"

De BrapciWiki
Ir para navegação Ir para pesquisar
 
(3 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 2: Linha 2:
  
 
== IdP em PHP ==
 
== IdP em PHP ==
[[https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-simplesamlphp-for-saml-authentication-on-ubuntu-18-04-pt IdP]]
+
[[https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-simplesamlphp-for-saml-authentication-on-ubuntu-18-04-pt Como instalar e configurar o SimpleSAMLphp]]
 +
 
 +
== Baixando o SimpeSamlPHP ==
 +
wget https://github.com/simplesamlphp/simplesamlphp/releases/download/v1.19.5/simplesamlphp-1.19.5.tar.gz
 +
Descompactando
 +
tar zxf simplesamlphp-1.19.5.tar.gz
 +
Copiand para /var/
 +
cp -a simplesamlphp-1.19.5/. /var/simplesamlphp/
 +
 
 +
== Instalando pacotes adicionais ==
 +
apt install php-xml php-mbstring php-curl php-memcache php-ldap memcached
 +
 
 +
== Brapci ==
 +
https://brapci.inf.br/simplesaml
 +
 
 +
k4tfQWdsXVLeqbg591QLwqYenzeAJ9W1RCYLNaZfW5E=
 +
 
 +
 
 +
CREATE USER 'authuser'@'localhost' IDENTIFIED BY 'nrrE#36TeVNChJwg%rsshN!!K6b*E#u&46*Uj9hvs^DeYD3VtX';
 +
GRANT ALL PRIVILEGES ON `auth` . * TO 'authuser'@'localhost';
 +
FLUSH PRIVILEGES;

Edição atual tal como às 09h48min de 12 de maio de 2022

Um provedor de identidade é uma entidade de sistema que cria, mantém e gerencia informações de identidade para principais e também fornece serviços de autenticação para aplicativos confiáveis ​​em uma federação ou rede distribuída. Os provedores de identidade oferecem autenticação de usuário como um serviço.

IdP em PHP

[Como instalar e configurar o SimpleSAMLphp]

Baixando o SimpeSamlPHP

wget https://github.com/simplesamlphp/simplesamlphp/releases/download/v1.19.5/simplesamlphp-1.19.5.tar.gz

Descompactando

tar zxf simplesamlphp-1.19.5.tar.gz

Copiand para /var/

cp -a simplesamlphp-1.19.5/. /var/simplesamlphp/

Instalando pacotes adicionais

apt install php-xml php-mbstring php-curl php-memcache php-ldap memcached

Brapci

https://brapci.inf.br/simplesaml

k4tfQWdsXVLeqbg591QLwqYenzeAJ9W1RCYLNaZfW5E=


CREATE USER 'authuser'@'localhost' IDENTIFIED BY 'nrrE#36TeVNChJwg%rsshN!!K6b*E#u&46*Uj9hvs^DeYD3VtX'; GRANT ALL PRIVILEGES ON `auth` . * TO 'authuser'@'localhost'; FLUSH PRIVILEGES;