---
sourceDocument: Yokohama Platform security
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/platform-security

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# (Optional) Enable providing an authentication context class for SAML

# (Optional) Enable providing an authentication context class for SAML {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
You can enable the instance to send an authentication context class request to the
IdP containing your instance's preferred authentication request format.

## Before you begin

Role required: admin

## About this task

If you enable creating an AuthContextClass message, then you must also specify an authentication context class reference format.  
Note:  
Some IdP's do not allow the Service Provider to set the authentication context class. Disabling this setting allows the IdP to choose the authentication context class.

## Procedure

1. From the property Create an AuthnContextClass request in the AuthnRequest statement, select Yes to specify a particular context class such as Password Protected Transport, or select No to have the IdP select the most appropriate context class.
2. If you selected Yes to Create an AuthnContextClass request in the AuthnRequest statement, then in The AuthnContextClassRef method that we will request in our SAML 2.0 AuthnRequest to the Identity Provider property, enter the URN of the context class you want to use for authentication (see table).  
   {#t_OptEnableProvidingAuthContxtClass__table_AuthnContextClassURNOptions__entry__2}

   | Authentication type | Authentication context class URN |
   |-|-|
   | Forms-based authentication | <kbd class="ph userinput">urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</kbd> |
   | Kerberos-based authentication | <kbd class="ph userinput">urn:federation:authentication:windows</kbd> |
   [Table 1. AuthnContextClass URN options]

   {#t_OptEnableProvidingAuthContxtClass__table_AuthnContextClassURNOptions}

   By default, the integration uses a Password Protected Transport
   authentication method.
3. Click Update.

