perfsys / matrix-mxisd-aws-keycloak-endpoints

AWS Serverless Matrix (Synapse) MXISD endpoints for Keycloak SSO
MIT License
2 stars 2 forks source link

Any documentation? #1

Open Philantrop opened 4 years ago

Philantrop commented 4 years ago

I'm feeling dumb but I have no idea how to integrate this into my setup. Is there any documentation available on how to use this?

hungrymonkey commented 4 years ago

This project uses serverless Installing depends OSX

brew install serverless git

NPM

npm install -g serverless
git clone https://github.com/perfsys/matrix-mxisd-aws-keycloak-endpoints.git
cd matrix-mxisd-aws-keycloak-endpoints
unzip patches.zip
patch < serverless.patch
patch < package.json

Edit serverless.yml https://github.com/perfsys/matrix-mxisd-aws-keycloak-endpoints/blob/master/serverless.yml#L8

    CLIENT_ID: 'CLIENT_ID'
    CLIENT_SECRET: 'CLIENT_SECRET'
    AUTH_URL: 'AUTH_URL'
    REALM: 'REALM'

Deploy

serverless deploy

Keep adding permissions to your IAM until serverless is happy.

eorlovsky commented 4 years ago

@hungrymonkey Thank you for you input. You are welcome to send us Pull Request In Perfsys company we have another way to integrate MXISD with Keycloak = via SAML @Philantrop @hungrymonkey let me know if you are intrested.

hungrymonkey commented 4 years ago

@eorlovsky , Are you refering to this guide?

https://edenmal.moe/post/2019/Matrix-Synapse-SAML2-Login/#your-matrix-synapse-homeserver-config-yaml-file

eorlovsky commented 4 years ago

Yes. We've been working with Alex Trost creating these article

-- Eugene Orlovsky info@eorlovsky.com [Email] https://t.me/eorlovsky

On Mon, 23 Mar 2020 at 19:06, hungrymonkey notifications@github.com wrote:

@eorlovsky https://github.com/eorlovsky , Are you refering to this guide?

https://edenmal.moe/post/2019/Matrix-Synapse-SAML2-Login/#your-matrix-synapse-homeserver-config-yaml-file

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/perfsys/matrix-mxisd-aws-keycloak-endpoints/issues/1#issuecomment-602732078, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGSNLJBFQZ5FAENJGY3SY3RI6JHZANCNFSM4JXMG2EQ .