General
How to manage auth sessions?
View all auth session
- Navigate to the project you monitor auth session state on: https://app.intuned.io/projects
- Select
Auth Sessions
tab within the project
Create Credentials-based auth session in the IDE
- Navigate to the project of your choice: https://app.intuned.io/projects
- Select
Open IDE
- Set the run control to
create.ts
- Create parameter selecting
New parameters
in theParameters
dropdown setting the test credentials in the parameters - Set the parameters control to the parameter with the test credentials
- Run the
create.ts
API - Upon completion, set the run control to an API in the
api
folder and you should seenew-session-...
set in theAuth Sessions
dropdown.
Create Recorder-based auth session in the IDE
- Navigate to the project of your choice: https://app.intuned.io/projects
- Select
Open IDE
- Set the run control to an API in the
api
folder - Select the
Auth Session
dropdown and clickRecord new session
- Navigate to the
Browser
tab and complete the authentication flow - Upon completion the browser session will complete and a new
recorder-session-...
will be set in theAuth Sesssions
dropdown.
Create auth session for deployed projects
If you wish to create via API, please refer to references for Credentials-based auth and Recorder-based auth
- Navigate to the project of your choice: https://app.intuned.io/projects
- Select
Auth Sessions
tab within the project - Select
Create auth session
button and complete the flow
Update an expired auth session
If you wish to update via API, please refer to references for Credentials-based auth and Recorder-based auth
- Navigate to the project of your choice: https://app.intuned.io/projects
- Select
Auth Sessions
tab within the project - Find the expired auth session you are interested in updating
- Select more options
...
button - Select
Update
button - Enter the necessary input, note the Id and proxy Url are optional, and click “Create”
- For Credentials-based auth session you will be prompted to enter the user credentials into the input payload as defined in the
auth-sessions/create.ts
API. - For Recorder-based auth session a browser will pop-up on the target site you need to authenticate to at which point you can sign in and complete the creation.
- For Credentials-based auth session you will be prompted to enter the user credentials into the input payload as defined in the
Delete auth sessions
- Navigate to the project of your choice: https://app.intuned.io/projects
- Select
Auth Sessions
tab within the project - Find the auth session you are interested deleting
- Select more options
...
button - Select
Delete
button