< Back
Get-OktaSAMLAssertion
Post
NAME Get-OktaSAMLAssertion
SYNOPSIS
Gets a SAML assertion for an Okta-integrated application.
SYNTAX
Get-OktaSAMLAssertion [-OktaAppURI] <String> [-OktaSessionToken] <String> [<CommonParameters>]
DESCRIPTION
Gets a SAML assertion for an Okta-integrated application.
PARAMETERS
-OktaAppURI <String>
The full URI to the Okta app instance. This is the URI one would navigate to if clicking on the application
instance in the Okta porta.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OktaSessionToken <String>
A valid Okta session token. See Get-OktaSessionToken .
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$Token = Get-OktaSessionToken -OktaDomain 'mycompany.okta.com' -Credential ( Get-Credential )
Get-OktaSAMLAssertion -OktaAppUri 'https://mycompany.okta.com/home/SomeApp/AppID/Instance' -OktaSessionToken $Token
RELATED LINKS
SYNOPSIS
Gets a SAML assertion for an Okta-integrated application.
SYNTAX
Get-OktaSAMLAssertion [-OktaAppURI] <String> [-OktaSessionToken] <String> [<CommonParameters>]
DESCRIPTION
Gets a SAML assertion for an Okta-integrated application.
PARAMETERS
-OktaAppURI <String>
The full URI to the Okta app instance. This is the URI one would navigate to if clicking on the application
instance in the Okta porta.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OktaSessionToken <String>
A valid Okta session token. See Get-OktaSessionToken .
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$Token = Get-OktaSessionToken -OktaDomain 'mycompany.okta.com' -Credential ( Get-Credential )
Get-OktaSAMLAssertion -OktaAppUri 'https://mycompany.okta.com/home/SomeApp/AppID/Instance' -OktaSessionToken $Token
RELATED LINKS