
Embed SSO URL validation (launched)
New tooling to validate embed SSO URL generation to ensure embed apps are easy to authenticate
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
um the second one uh this is a little bit of like an API demo unfortunately nothing super flashy to show but you know we've already had a lot of interest in uh our embed SSO product and definitely a lot of folks who are using a plethora of languages you know gotten requests to have SSO SDK support in languages like PHP Ruby Python and I believe rust um and uh We've published our algorithm so that folks can build it themselves but that's obviously like fairly painful um and so this week we actually we had another request from someone who's trying to write their own SDK I believe in Python and who wants to generously open source it and they were asking about a way to um
to validate that what they're building matches our algorithm so we've had on this on the back burner this idea of like what if we just have our own endpoint that you can hit including with your uh API secret and then we will just return to you um assigned URL so this has two nice properties one is um if you want to support a new language for an STK it literally just comes down to sending an HTP request to us um and then two if you do want to be incredibly generous and build an SDK that you might open source and validate that it's working correctly you can write all your internal logic generate a URL uh and then send the same request parameters to us
and we'll return a URL that you can compare it to and so this is kind of an example uh of what that uh request structure looks like so the URL the path is just embed SSO generate URL um and then the body is a stringified object of properties and uh in this case these are these are the required properties so the content path the external ID uh name of the user and your secret and um you can see it generates this nice signed URL for you let me just come on just copy it so you can see it so this is the kind of thing that you would then insert into an iframe uh source attribute and you'd be Off to the Races and one
thing to note here is uh this Endo is stateless so um it doesn't do any work to look up secrets and validate them against the org or anything like that um the idea there being is uh slightly more secure uh by just being a straight pass through and um ensures that we don't have to authenticate the end point so it's reduces the sort of like resource requirements for the endpoint that's it