Twilio Flex, using Okta for SSO- Not working at all

1.4k Views Asked by At

I've gone through the Okta SSO configuration described here: https://www.twilio.com/docs/flex/flex-identity-provider-integration-for-okta. I've pasted in all the relevant links and have configured both Okta AND Twilio Flex exactly per the instructions. All the users from Okta are supposed to pull through to the Twilio Flex app, but none are. The only account showing is my Twilio user account which was set up when I clicked the setup link to jumpstart my Flex installation.

When I attempt to login I DO get Okta's SSO login and I AM able to login with my Okta credentials, but after the successful login I'm given the following message:

{"code": 70002, "message": "no RelayState provided and no default redirect URL", "more_info": "https://www.twilio.com/docs/errors/70002", "status": 400}

It's interesting to note that Flex is now in GA (General Availability), but the set up instructions still say to point the flex app urls to preview.twilio.com/iam/....

I feel like I'm missing a very simple, but incredibly crucial step.

Can anyone help? I'm now over 24 hours from when I first requested help from Twilio with zero response.

1

There are 1 best solutions below

0
On

First, find your runtime domain here: https://www.twilio.com/console/runtime/overview

Next, on the SSO page here: https://www.twilio.com/console/flex/users/single-sign-on

Fill in DEFAULT REDIRECT URL field with https://flex.twilio.com/{myRuntimeDomain}

This should fix the error.