Auth0
2019-10-18
mod_auth_mellon †
https://qiita.com/aimoto/items/89ba104db85a2b89fa67
#sh(bash){{
sudo yum install mod_auth_mellon
}}
Auth0 †
CREATE APPLICATION †
Name | 相応なものを入力 |
Choose an application type | Regular Web Applications |
Quick Start †
Apacheを選択
Addons †
SAML2 WEB APPを有効化
@Settings
#sh(javascript){{
{
"logout": {
"callback": "Metadata.xml内にあるログアウトURLを記載",
"slo_enabled": true
},
"binding": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST",
"signingCert": "-----BEGIN PUBLIC KEY-----\nMIGf...\n-----END PUBLIC KEY-----"
}
}}
signingCertの文字列は以下で生成できる:
#sh(bash){{
cat yourcert.cert | sed -e 's/$/\\n/' | tr -d "\n"
}}
@Usage
Identity Provider Metadata: Download からIdPのメタデータをダウンロードする。