Function of glide.oauth.state.parameter.required property and methods to unit test

VibhaSastry
Tera Expert

Please provide the accurate steps for unit testing the property in detail - glide.oauth.state.parameter.required 

Also please mention what exactly is the function of this property

2 REPLIES 2

Robbie
Kilo Patron
Kilo Patron

Hi @VibhaSastry,

 

Have you read the available documentation on the SN Docs site?

What is the OAuth Authorization code grant flow: https://docs.servicenow.com/bundle/xanadu-platform-security/page/administer/security/concept/c_OAuth...

 

What is the system property used: https://docs.servicenow.com/bundle/xanadu-platform-security/page/administer/security/reference/oauth...

 

Working example and how to test: https://docs.servicenow.com/bundle/xanadu-platform-security/page/administer/security/task/t_Instance...

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.



Thanks, Robbie

Pnik
Tera Contributor

Hi @Robbie  Thank you for those useful links, we are also planning to implement this property as "true"  however its not clear that how this will impact to existing client applications using OAuth OR what changes are required to the existing registry entries (may be in to Authorization url/Token url/Redirect url??) to make it work without any issues. wanted to make sure as i can see this may cause issue as in below community link

 

https://www.servicenow.com/community/developer-forum/oauth-token-record-not-being-created-saved/m-p/...

 

 

Hi @VibhaSastry - Did you manage to implement this property successfully ? any suggestion to above query  

 

Thank you !