Embedded user management

Elliot Park · Friday Demos · October 20, 2023 · 8:13

Embedded session management for fine-grained control of ephemeral SSO user sessions

Try it yourselfThe full week on docsadministrationembed

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. I can jump in with a quick update on some embed stuff as I picked the right window cool cool so we're um Nate and I are continue to truck along and build out some of the SSO embed stuff I specifically have been working on building out some of the um just sort of the admin auditing sort of stuff in the admin section of the app so here's a really really simple page for you to reset your secret um obviously this is not editable because we just no point in editing that yourself uh here's a sessions table which very similar honestly I pretty much identical to the work that Eli did with the deliveries and jobs uh sections uh that code was super streamlined so I

  2. was able to pretty much borrow all of it um and so you're able to quickly take a look at what sessions are currently in progress uh see which ones are going to expire soon also you have an option to delete though on my Branch there's um there's no sort of I guess spe of deleting a session but Nate will Nate will definitely take it from there and show off some cool stuff uh related to that obviously you can sort and yeah you can search too if you want to search by name so yeah so continue progress there longterm would love to actually I was talking about this in the embed meeting but would love to get some like Omni inside Omni sort of analytics just

  3. because I imagine a table's kind of nice if you want to do a quick search on what sessions are active but it'd be nice for admin stack get analytics on like who's hitting their content which content is really popular uh so on and so forth so that's me cool I'll take it from there um so yeah so this just to like reiterate some of what it's a this sessions table is meant to be like uh an audit log and it also gives admin some control over who can see what so what I have running right now on my local is uh two branches merge together it's Elliot's Work on the on this table and then my work on actually implementing the off Z controls so

  4. let's do a couple quick demos so for example so I'm going to open up an incognito tab and I can embed I got here if I go back to the session table and I refresh you can see here's my new session um and the simple demo here is like if I go ahead and delete this so now I should not have access so it's gone um let's log in again couple other permissions that we or permission checks we added um uh whoops I just messed up the demo hang on uh okay let me edit this URL first so I'm GNA switch over to our regular uh host name and you'll see like now we screen the host names I I found a really fun bug

  5. yesterday where I realized I wasn't screening for the embed host name and um we're happily logging you into regular uh just app host name and that kind of let you break out of the embed it didn't Grant you more permissions but it did mean that you could see all of the content in the system um now just to make it super Crystal Clear using the embed h name we inherit all the other embed controls so if I try to like browse to the root there's nothing there so this is the heavily restricted content access domain um oh yeah and one other fun one so uh wait Nate Nate quick question there yeah so if if there is a world in the future where we want

  6. to be able to embed the whole app so the workbook page and the content system are those like Gates that we can put in sort of like the embedded domain or sort of like what is your thinking about how someone would do that 100% yeah it's um it's pretty straightforward to continue to open this up okay just sort of taking the perspective of Starting by being most restrictive no no I think and I think this is what people want by default but it almost seems nice because now it's almost like we have control over whether we let you do that is that sort of accurate correct yeah okay that's awesome it's a oneline check basically to ensure that you're on the embed uh domain and

  7. alternatively if we want to continue to use the embed domain but open up more access to the app we can do that as well yeah but like can can we have an admin flag that says like okay you can embed dashboards but you can't embed workbooks yet and then turn that flag on 100% awesome yeah like this is going to be very extensible uh what was I doing right I'm logged in here I have this embed session that lets me see this piece of content but I have this other where where was it I have this other dashboard here number two if I try to grab that content even though like to the system I'm logged in as a pretty straightforward user um and I

  8. have certain content permissions that only allow me to view content if I try to view this this other content that's on the same connection we reject uh and an admin can choose to give me access to that like I can go in here and generate A New Path um and I can log in see that second piece of content and I could even go back now and I should still be able to see the original uh content the original dashboard where are you this one oh whoops it's this guy ah what that was weird no idea how that got in my uh history so because I still have a valid session and all those things are accessible in my session I can access all of

  9. them um you know and just to complete the demo if I like delete this session and try to get back to it now I can't uh if I delete these two and try to get back to what I was just viewing I can't so lots of fine grain controls and options to uh to like control who can access what that's it for embed next week we're going to be implementing the um user attributes and then I think probably ready for some beta customers to test I think we have plenty of people who are ready to test so just let us know