Skip to content

Commit e16ecca

Browse files
authored
Merge pull request #14 from okfn/sync-upstream-2026-03-23
Release 1.3.7
2 parents c58533e + 6ad2d62 commit e16ecca

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

ckanext/saml2auth/tests/responses/unsigned0.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<saml:NameID SPNameQualifier="{{ entity_id }}" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient">_ce3d2948b4cf20146dee0a0b3dd6f69b6cf86f62d7</saml:NameID>
1818
<saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
1919
<saml:SubjectConfirmationData
20-
NotOnOrAfter="2026-01-18T06:21:48Z"
20+
NotOnOrAfter="{{ not_on_or_after }}"
2121
Recipient="{{ recipient }}"
2222
InResponseTo="ONELOGIN_4fee3b046395c4e751011e97f8900b5273d56685"/>
2323
</saml:SubjectConfirmation>

ckanext/saml2auth/tests/test_blueprint_get_request.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"""
1919

2020
import base64
21-
from datetime import datetime
21+
from datetime import datetime, timedelta
2222
from jinja2 import Template
2323
import os
2424
import pytest
@@ -59,6 +59,7 @@ def _prepare_unsigned_response():
5959
'destination': 'http://test.ckan.net/acs',
6060
'recipient': 'http://test.ckan.net/acs',
6161
'issue_instant': datetime.now().isoformat(),
62+
'not_on_or_after': (datetime.utcnow() + timedelta(hours=1)).strftime('%Y-%m-%dT%H:%M:%SZ'),
6263
}
6364
t = Template(unsigned_response)
6465
final_response = t.render(**context)

conftest.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@
3434
# Versions should comply with PEP440. For a discussion on single-sourcing
3535
# the version across setup.py and the project code, see
3636
# http://packaging.python.org/en/latest/tutorial.html#version
37-
version='1.3.6',
37+
version='1.3.7',
3838

3939
description='''An extension to enable Single Sign On(SSO) for CKAN data portals via SAML2 Authentication.''',
4040
long_description=long_description,
4141
long_description_content_type='text/markdown',
4242

4343
# The project's main homepage.
44-
url='https://github.com/keitaroinc/ckanext-saml2auth',
44+
url='https://github.com/okfn/ckanext-saml2auth',
4545

4646
# Author details
47-
author='''Keitaro Inc''',
48-
author_email='''info@keitaro.com''',
47+
author='''Keitaro Inc + OKFN''',
48+
author_email='''info@okfn.org''',
4949

5050
# Choose your license
5151
license='AGPL',

0 commit comments

Comments
 (0)