Skip to content

Instantly share code, notes, and snippets.

@vprasanth87
vprasanth87 / azureScripted.py
Created March 19, 2020 20:15
splunk saml azure script for oauth
from commonAuth import *
import requests
import json
requests.packages.urllib3.disable_warnings()
# If Azure is your identity provider, you can use this script to extract Security Assertion
# Markup Language (SAML) user information as an alternative to using SAML attribute
# query requests (AQR) which Azure does not support.
#
# You can provide your Azure API key credentials in the authentication.conf file and use