Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: massive code linting #29

Merged
merged 1 commit into from
Jul 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,12 @@ Then start an authentication from your SP.
If you're doing tests and you don't want to pass by Discovery page each time you can use idphinting but only if your SP support it!
Here an example using djangosaml2 as SP:

`http://localhost:8000/saml2/login/?idp=https://localhost:10000/Saml2IDP/metadata&next=/saml2/echo_attributes&idphint=https%253A%252F%252Flocalhost%253A8080`
```
http://localhost:8000/saml2/login/?idp=https://localhost:10000/Saml2IDP/metadata&next=/saml2/echo_attributes&idphint=https%253A%252F%252Flocalhost%253A8080
```

IF you're going to test Satosa-Saml2Spid with spid-sp-test, take a look to
its CI, [here](.github/workflows/python-app.yml),


## Trouble shooting
Expand Down
10 changes: 5 additions & 5 deletions example/attributes-map/satosa_spid_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name",
"familyName",
# Collides with eIDAS ...
#"FamilyName",
# "FamilyName",
"placeOfBirth",
"countyOfBirth",
"dateOfBirth",
Expand All @@ -17,12 +17,12 @@
"email",
"address",
"expirationDate",
"digitalAddress"
"digitalAddress",
]


MAP = {
"identifier": 'urn:oasis:names:tc:SAML:2.0:attrname-format:basic',
"fro": {k:k for k in ATTRS},
"to": {k:k for k in ATTRS}
"identifier": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
"fro": {k: k for k in ATTRS},
"to": {k: k for k in ATTRS},
}
Loading