---
sourceDocument: Australia Platform security
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/platform-security

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Generate Auth URL

# Generate Personal Auth Initiator URL {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 30. Juni 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Generate the initial token for a user who doesn't have access to the credentials page to configure personal authentication.

## Vorbereitungen

Role required: connection_admin, oauth_admin

## Warum und wann dieser Vorgang ausgeführt wird

Users without the connection_admin role can't access the Credentials page to generate OAuth tokens. These users must generate a personal token using the `oauth_initiator` URL with
additional parameter indicating that the token is personal and requested for session user.  
You can also use the scoped `PersonalAuthAPI` with the `sn_personal_auth` plugin to generate the initiator URL. For more information, see [PersonalAuthAPI - getInitiatorURL(String aliasId)](https://www.servicenow.com/docs/bundle/yokohama-api-reference/page/app-store/dev_portal/API_reference/PersonalAuthAPI/concept/PersonalAuthAPIScoped.html#title_PerAuth-getInitiatorURL_S)  
Hinweis:  
If the personal authentication plugin (`com.snc.sn_ihub_personal_auth`) is activated, use the scoped API to generate the initiator URL. This. API is available only if the plugin is installed.

## Prozedur

1. Use the following format to construct the token generation URL for Password Grant Type:  

       https://<instance-name>.service-now.com/oauth_password_input.do?
       sysparm_oauth_requestor_context=oauth_2_0_credential&sysparm_oauth_requestor=
       <credential sys_id>&sysparm_oauth_provider_profile=<OAUTH profile sys_id>&sysparm_oauth_personal=true 

2. Use the following format to construct the token generation URL for Authorization Code Grant Type:  

       https:// ://<instance-name>.service-now.com /oauth_initiator.do?
       oauth_requestor_context=oauth_2_0_credentials&oauth_requestor=
       <credential sys_id>&oauth_provider_profile=<OAUTH profile sys_id>&response_type=code&personal=true


