twilio-flex-plugin-sso | Flex Plugin to show how easy it is to have Flex working without a SaaS Identity Provider (IdP) of th
kandi X-RAY | twilio-flex-plugin-sso Summary
kandi X-RAY | twilio-flex-plugin-sso Summary
twilio-flex-plugin-sso is a TypeScript library. twilio-flex-plugin-sso has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.
Flex Plugin to show how easy it is to have Flex working without a SaaS Identity Provider (IdP) of the market. You can build it!
Flex Plugin to show how easy it is to have Flex working without a SaaS Identity Provider (IdP) of the market. You can build it!
Support
Quality
Security
License
Reuse
Support
twilio-flex-plugin-sso has a low active ecosystem.
It has 15 star(s) with 7 fork(s). There are 2 watchers for this library.
It had no major release in the last 12 months.
There are 0 open issues and 1 have been closed. On average issues are closed in 18 days. There are 5 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of twilio-flex-plugin-sso is v0.1.0
Quality
twilio-flex-plugin-sso has no bugs reported.
Security
twilio-flex-plugin-sso has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
twilio-flex-plugin-sso does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
twilio-flex-plugin-sso releases are available to install and integrate.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of twilio-flex-plugin-sso
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of twilio-flex-plugin-sso
twilio-flex-plugin-sso Key Features
No Key Features are available at this moment for twilio-flex-plugin-sso.
twilio-flex-plugin-sso Examples and Code Snippets
No Code Snippets are available at this moment for twilio-flex-plugin-sso.
Community Discussions
No Community Discussions are available at this moment for twilio-flex-plugin-sso.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install twilio-flex-plugin-sso
We have to install 2 assets:.
The Twilio Functions (back-end)
The Flex Plugin (front-end)
clone this repo;
execute cd ./serverless-sso to go to the Twilio Functions folder.
npm install to install the packages into your computer.
rename .env-example from this folder to .env and follow the instructions in the .env file.
you have to generate the public/private pair keys for the SSO. Go to ./serverless-sso/src/assets folder and execute the two commands below: openssl genrsa -out privatekey.private.cer 1024 openssl req -new -x509 -key privatekey.private.cer -out publickey.private.cer -days 365
You should now have two new files in the assets folder: privatekey.private.cer and publickey.private.cer. You know the rules, don't send this private key to anyone.
npm run deploy to deploy the functions to your Twilio environment.
Quick test to see if you have done it correctly until here. Open Chrome and check if you can visit your https://xxxxxx.twil.io/sso/saml - Change the xxxxxx to your environment that was displayed in your Terminal from step 7 above. You should see an error ERR_REDIRECT_FLOW_BAD_ARGS. For now, this means: Success until here!
Now go to Flex SSO configuration to configure the SSO you just deployed with Flex. Configure with the values below: X.509 CERTIFICATE: Put the content of ./src/assets/publickey.private.cer there. IDENTITY PROVIDER ISSUER: https://xxxxxx.twil.io/sso/saml SINGLE SIGN-ON URL: https://xxxxxx.twil.io/sso/saml DEFAULT REDIRECT URL: Leave it blank. TWILIO SSO URL: Use iam.twilio.com TRUSTED DOMAINS: xxxxxx.twil.io Login using Popup: OFF Hit Save button
Final test: On this same Flex SSO configuraton page, there is a link saying Login with SSO: Open this link in Incognito on your Browser, that is the link your agents will use to login on Flex. If everything goes right, you should see the Login page (like this one) - You can even try to log in, you should receive an error saying "Agent not found" - This is fine for now.
You already have cloned this repo;
execute cd ./flex-plugin-sso to go to the Plugin folder.
npm install to install the packages into your computer.
rename .env-example from this folder to .env and follow the instructions in the .env file.
You need to have the Twilio CLI. Type twilio in your terminal to see if you have it, if not, install it now.
You need the Flex Plugins CLI . Type twilio plugins to make sure you have it, if not, install it.
You need to create a new profile for your Twilio CLI, type twilio profiles:list to check if you are using it correctly. If not, add a new profile with the cmd twilio profiles:add.
npm run deploy -- --changelog "first deployment!" to deploy this Plugin.
Once step 8 is finished, it will show the next steps, you will have to run the command mentioned there (something like twilio flex:plugins:release ... etc etc)
We are done! Go to https://flex.twilio.com - You should see a new icon on the left-hand side. From there you can add/remove your Agents and ask them to visit the link mentioned on step 10 to log in on Flex.
The Twilio Functions (back-end)
The Flex Plugin (front-end)
clone this repo;
execute cd ./serverless-sso to go to the Twilio Functions folder.
npm install to install the packages into your computer.
rename .env-example from this folder to .env and follow the instructions in the .env file.
you have to generate the public/private pair keys for the SSO. Go to ./serverless-sso/src/assets folder and execute the two commands below: openssl genrsa -out privatekey.private.cer 1024 openssl req -new -x509 -key privatekey.private.cer -out publickey.private.cer -days 365
You should now have two new files in the assets folder: privatekey.private.cer and publickey.private.cer. You know the rules, don't send this private key to anyone.
npm run deploy to deploy the functions to your Twilio environment.
Quick test to see if you have done it correctly until here. Open Chrome and check if you can visit your https://xxxxxx.twil.io/sso/saml - Change the xxxxxx to your environment that was displayed in your Terminal from step 7 above. You should see an error ERR_REDIRECT_FLOW_BAD_ARGS. For now, this means: Success until here!
Now go to Flex SSO configuration to configure the SSO you just deployed with Flex. Configure with the values below: X.509 CERTIFICATE: Put the content of ./src/assets/publickey.private.cer there. IDENTITY PROVIDER ISSUER: https://xxxxxx.twil.io/sso/saml SINGLE SIGN-ON URL: https://xxxxxx.twil.io/sso/saml DEFAULT REDIRECT URL: Leave it blank. TWILIO SSO URL: Use iam.twilio.com TRUSTED DOMAINS: xxxxxx.twil.io Login using Popup: OFF Hit Save button
Final test: On this same Flex SSO configuraton page, there is a link saying Login with SSO: Open this link in Incognito on your Browser, that is the link your agents will use to login on Flex. If everything goes right, you should see the Login page (like this one) - You can even try to log in, you should receive an error saying "Agent not found" - This is fine for now.
You already have cloned this repo;
execute cd ./flex-plugin-sso to go to the Plugin folder.
npm install to install the packages into your computer.
rename .env-example from this folder to .env and follow the instructions in the .env file.
You need to have the Twilio CLI. Type twilio in your terminal to see if you have it, if not, install it now.
You need the Flex Plugins CLI . Type twilio plugins to make sure you have it, if not, install it.
You need to create a new profile for your Twilio CLI, type twilio profiles:list to check if you are using it correctly. If not, add a new profile with the cmd twilio profiles:add.
npm run deploy -- --changelog "first deployment!" to deploy this Plugin.
Once step 8 is finished, it will show the next steps, you will have to run the command mentioned there (something like twilio flex:plugins:release ... etc etc)
We are done! Go to https://flex.twilio.com - You should see a new icon on the left-hand side. From there you can add/remove your Agents and ask them to visit the link mentioned on step 10 to log in on Flex.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page