All Projects → DOI-BLM → requests-arcgis-auth

DOI-BLM / requests-arcgis-auth

Licence: other
Authentication handler for using Esri ArcGIS for Server and Portal (ArcGIS Online) Token Authentication with Python Requests

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to requests-arcgis-auth

Gsts
Obtain and store AWS STS credentials to interact with Amazon services by authenticating via G Suite SAML.
Stars: ✭ 136 (+547.62%)
Mutual labels:  saml
Spring Security Pac4j
pac4j security library for Spring Security: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 231 (+1000%)
Mutual labels:  saml
geoform-template-js
GeoForm is a configurable template for form based data editing of a Feature Service.
Stars: ✭ 66 (+214.29%)
Mutual labels:  arcgis-online
Spark Pac4j
Security library for Sparkjava: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 154 (+633.33%)
Mutual labels:  saml
Arkid
一账通是一款开源的统一身份认证授权管理解决方案,支持多种标准协议(LDAP, OAuth2, SAML, OpenID),细粒度权限控制,完整的WEB管理功能,钉钉、企业微信集成等
Stars: ✭ 217 (+933.33%)
Mutual labels:  saml
Mujina
A mock IDP and SP using the OpenSAML library
Stars: ✭ 250 (+1090.48%)
Mutual labels:  saml
Lite Idp
Lightweight SAML Identity Provider
Stars: ✭ 130 (+519.05%)
Mutual labels:  saml
SATOSA
Proxy translating between different authentication protocols (SAML2, OpenID Connect and OAuth2)
Stars: ✭ 139 (+561.9%)
Mutual labels:  saml
Saml2
SimpleSAMLphp low-level SAML2 PHP library
Stars: ✭ 229 (+990.48%)
Mutual labels:  saml
Imagery-Apps
Example JavaScript source code for ArcGIS imagery apps (Landsat Explorer and Sentinel Explorer) that you can expand or customize.
Stars: ✭ 24 (+14.29%)
Mutual labels:  arcgis-online
Pac4j
Security engine for Java (authentication, authorization, multi frameworks): OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 2,097 (+9885.71%)
Mutual labels:  saml
Saml idp
Ruby SAML Identity Provider, best used with Rails (though not required)
Stars: ✭ 184 (+776.19%)
Mutual labels:  saml
undertow-pac4j
Security library for Undertow: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 35 (+66.67%)
Mutual labels:  saml
Globalprotect Openconnect
A GlobalProtect VPN client (GUI) for Linux based on OpenConnect and built with Qt5, supports SAML auth mode.
Stars: ✭ 143 (+580.95%)
Mutual labels:  saml
google-aws-federator
A small command line tool to help manage AWS Federated Identities authenticated through Google Apps
Stars: ✭ 29 (+38.1%)
Mutual labels:  saml
Mumuki Laboratory
🔬 Where students practice and receive automated and human feedback
Stars: ✭ 131 (+523.81%)
Mutual labels:  saml
Authing
🔥Authing - IDaaS/IAM solution that can Auth to web and mobile applications.
Stars: ✭ 247 (+1076.19%)
Mutual labels:  saml
SimpleTOTP
A highly configurable yet simple to use TOTP based two-factor authentication processing module for SimpleSAMLphp.
Stars: ✭ 16 (-23.81%)
Mutual labels:  saml
portal-admin-examples
Example python scripts for working with the ArcGIS REST API.
Stars: ✭ 17 (-19.05%)
Mutual labels:  arcgis-online
wp-saml-auth
Rock-solid SAML authentication for WordPress built on a modern foundation.
Stars: ✭ 75 (+257.14%)
Mutual labels:  saml

Esri ArcGIS Authentication Handlers for Python Requests API

Authenticate to Esri ArcGIS for Server, Portal and ArcGIS Online (AGOL) using Python Requests


This module provides python requests authentication handlers for the Esri ArcGIS Server and Portal products. The purpose is to authenticate a user to obtain authorized access to protected data and functions in the Esri REST API. There are endless use cases to automate business or IT administrative workflows... here are a few examples:

  1. Automate user management (creating/removing users or modifying users roles/permissions)
  2. Automate service publishing
  3. Completing geospatial data analysis (for protected services)

The authentication handlers support the following deployment models:

  • Propritery ‘Token-Based’ Authentication
  • Web-Tier security using NTLM or Kerberos (Microsoft Integrated Windows Authentication)
  • SAML based ‘enterprise logins’ (OAuth2)*

*Only supports SAML services with Kerberos authentication (no forms based login)

More information and examples can be found at - https://doi-blm.github.io/requests-arcgis-auth/

Basic Usage Examples:

ArcGIS for Server "Token Authentication" Usage (Non-Session Based):

import requests
from requests_arcgis_auth import ArcGISServerTokenAuth
r = requests.get(r'https://host/arcgis/rest/services?f=json', auth=ArcGISServerTokenAuth(username,password))

ArcGIS Online and Portal for ArcGIS "Token" Authentication Usage:

import requests
from requests_arcgis_auth import ArcGISPortalTokenAuth
s=requests.Session()
s.auth = ArcGISPortalTokenAuth(username,password)
r = s.get(r'https://host/sharing/rest?f=json')

ArcGIS Online and Portal for ArcGIS "Enterprise Logins via SAML" Authentication Usage:

import requests
from requests_arcgis_auth import ArcGISPortalSAMLAuth

client_id = "123456789"                 # This client_id is that of a registered 'application' in the portal.  
auth = ArcGISPortalSAMLAuth(client_id)

s = requests.session()
s.auth = auth
s.get("https://org.maps.arcgis.com/sharing/rest/portals/self?f=json")
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].