Comments (1)
The missing step was to add an attribute map:
attributemaps/custom.py
:
MAP = {
"identifier": "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified",
"fro": {
"FullName": "FullName",
"Email": "Email",
"Login": "Login",
"Roles": "Roles",
},
}
And of course to add
"attribute_map_dir": "../attributemaps",
to the CONFIG
in idp_conf and sp_conf.
This has the side effect of adding a FriendlyName tag to the xml elements, though, which I simply ignore.
from pysaml2.
Related Issues (20)
- pysaml2 raises DeprecationWarning: datetime.datetime.utcnow() when running tests with pytests on python 3.12
- unable to get local issuer certificate HOT 1
- Status code checking in unsuccessful responses
- xmlsec can not read already opened file (djangosaml2) HOT 4
- how to stop attribute maping to convert email to urn:oid:1.2.840.113549.1.9.1.1 HOT 1
- Broken identity cache (shelve / bdb) when multiple parallel logins happen: _dbm.error: cannot add item to database
- xmlschema 3.0.1 broken dependency HOT 4
- Issue with adfs attribute namespace HOT 2
- Empty AttributeStatement throwing validation error HOT 3
- Incorrect domain validation HOT 1
- Vulnerable PyOpenSSL dependency in example code causes Snyk to flag pysaml2 HOT 1
- Outstanding query checking not working when allow_unsolicited is on
- Using attribute_map_dir files throw error 'No module named __init__'
- Help Creating a Subject/SubjectConfirmation/SubjectConfirmationData/KeyInfo/KeyValue/RSAKeyValue Element
- Allow marking `ContactPerson` as `remd:contactType="http://refeds.org/metadata/contactType/security"` HOT 2
- Lowercase URL encoding in IdP response or request results in an IncorrectlySigned error. HOT 1
- PySAML2 not using signing_algorithm from sp service HOT 2
- namespace in metadata is fluctuating HOT 2
- Use POST instead of Redirect after discovery to avoid big headers issues HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysaml2.