Added email_authelia to authelia.sh
This commit is contained in:
parent
47f09c0625
commit
4786988bcb
@ -215,6 +215,49 @@ start_authelia() {
|
||||
|
||||
echo -ne "done.\n"
|
||||
}
|
||||
email_authelia() {
|
||||
echo -ne "* Sending email to customer.."
|
||||
|
||||
cat > /federated/apps/mail/data/root/certs/mailfile <<EOF
|
||||
<html>
|
||||
<img src="https://www.federated.computer/wp-content/uploads/2023/11/logo.png" alt="" /><br>
|
||||
<p>
|
||||
<h4>Authelia (SSO) is now installed on $DOMAIN, Your Federated Computer Single Sign On</h4>
|
||||
<p>
|
||||
Dear Customer,<br>
|
||||
We’re excited to introduce your new Single Sign-On (SSO) for Federated Core.
|
||||
<br>
|
||||
<br>
|
||||
Your Single Sign On is called Authelia. With Authelia, a single login grants you seamless access to multiple Federated applications.<br>
|
||||
Authelia provides single sign-on (SSO) access to the following Federated applications:<br>
|
||||
Nextcloud, Element/Matrix, Bookstack, Jitsi, Gitea, RoundCube (Web Mail), EspoCRM, PowerDNS, and WordPress<br>
|
||||
<br>
|
||||
How to use Authelia<br>
|
||||
• Click on any application in your Federated Dashboard and login by clicking, “Login with Authelia”<br>
|
||||
• Look for a pop up that will be labeled “https://authelia.YOUR.DOMAIN”<br>
|
||||
• Enter your panel Username and Password, then click, “Sign In”<br>
|
||||
• That’s It! You can now access all of the Applications listed above.<br>
|
||||
<br>
|
||||
Using EspoCRM or Gitea?<br>
|
||||
These applications need extra configuration to work with SSO.<br>
|
||||
Reply to support@federated.computer, and we’ll send you step-by-step instructions to set up SSO for them.<br>
|
||||
<br>
|
||||
As always, We are here to make the process simple and straightforward. Reply now if you have any questions about Authelia and we will respond promptly.
|
||||
<br>
|
||||
Thank you for choosing Federated Computer. We’re committed to improving your experience every step of the way.
|
||||
<br>
|
||||
<br>
|
||||
Best regards,<br>
|
||||
Federated Computer Support Team
|
||||
<br>
|
||||
EOF
|
||||
|
||||
# Send out e-mail from mail container with details
|
||||
docker exec mail bash -c "mail -r admin@$DOMAIN -a \"Content-type: text/html\" -s \"Authelia (SSO) is now installed on $DOMAIN\" $EMAIL < /root/certs/mailfile"
|
||||
rm /federated/apps/mail/data/root/certs/mailfile
|
||||
|
||||
echo -ne "done.\n"
|
||||
}
|
||||
uninstall_authelia() {
|
||||
echo -ne "* Uninstalling authelia container.."
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user