Skip to Main Content
Status Awaiting Further Feedback
Categories In-Lab Experience
Created by Guest
Created on Aug 16, 2022

Enable OAuth login to third-party service from lab instructions

As a lab author, I want students to complete work in their demo accounts for our service, and then I want the lab to check their account directly to verify that they completed the work correctly. I'd like students to be able to enter their account information, then have the lab spawn a separate window for the service that allows users to log in directly and grant permission for the Skillable lab to impersonate them to the service. Then the service would return a bearer token which could be saved as a lab variable and used by the lab environment to check students' work.

Who would most benefit from this idea? Lab Developers or Lab Authors
What is the problem you are trying to solve?

Enable students to grant impersonation permission for a third-party service to a Skillable lab so the lab environment can check students' work with the third-party service.

  • Attach files
  • Admin
    Eric Grau
    Sep 13, 2022

    Thank you for this idea.

    There is currently one method that could be used to accomplish this is to add some text boxes to prompt for credentials in the instructions and then add in an automated activity to call the remote API to grant permission to impersonate. Retrieve the bearer token and associate with a variable.

    If this does not suffice then perhaps a discussion with your Account Executive will be needed to further understand the best approach to move this forward.