Skip to content

Commit ca89456

Browse files
committed
add Github build workflow; update references to OpenIDC
Signed-off-by: Hans Zandbelt <[email protected]>
1 parent 4516a7b commit ca89456

File tree

6 files changed

+50
-9
lines changed

6 files changed

+50
-9
lines changed

.github/workflows/build.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: "0 0 * * *"
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-22.04
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
with:
16+
submodules: recursive
17+
18+
- name: Dependencies
19+
run: |
20+
sudo apt-get update -y
21+
sudo apt-get install -y libssl-dev libcurl4-openssl-dev libhiredis-dev libmemcached-dev
22+
sudo apt-get install -y libjansson-dev libcjose-dev apache2-dev libxml2-dev check pkg-config
23+
cd /tmp
24+
git clone https://github.com/zmartzone/liboauth2.git
25+
cd liboauth2
26+
./autogen.sh
27+
./configure
28+
make
29+
sudo make install
30+
- name: Configure
31+
run: |
32+
./autogen.sh
33+
./configure
34+
35+
- name: Make
36+
run: make
37+
38+
- name: Distcheck
39+
run: make distcheck DESTDIR="/tmp/mod_sts"

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ includesub_HEADERS = \
1616

1717
lib_LTLIBRARIES = @[email protected]
1818

19-
@PACKAGE_NAME@_la_CFLAGS = @OAUTH2_CFLAGS@ @OAUTH2_APACHE_CFLAGS@ @APACHE_CFLAGS@ @XML_CFLAGS@ -Isrc/liboauth2-sts/include
19+
@PACKAGE_NAME@_la_CFLAGS = @OAUTH2_CFLAGS@ @OAUTH2_APACHE_CFLAGS@ @APACHE_CFLAGS@ @XML_CFLAGS@ -I${srcdir}/src/liboauth2-sts/include
2020
@PACKAGE_NAME@_la_LIBADD = @OAUTH2_LIBS@ @OAUTH2_APACHE_LIBS@ @APR_LIBS@ @XML_LIBS@
2121
@PACKAGE_NAME@_la_SOURCES = \
2222
src/liboauth2-sts/src/sts_int.h \

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Build Status](https://github.com/zmartzone/mod_sts/actions/workflows/build.yml/badge.svg)](https://github.com/zmartzone/mod_sts/actions/workflows/build.yml)
2+
13
# mod_sts
24
A security token exchange module for Apache HTTP Server 2.x which allows for exchanging arbitrary security
35
tokens by calling into a remote Security Token Service (STS).
@@ -26,8 +28,8 @@ and you don't want to enforce support for that legacy onto your external clients
2628
An source (or: incoming) token can be presented in a header (e.g. an `Authorization: bearer` header for
2729
OAuth 2.0 bearer access tokens), a query parameter or a cookie. Alternatively the token can be consumed
2830
from an environment variable set by a another Apache (authentication) module such as a validated access
29-
token set by [mod_auth_openidc](https://github.com/zmartzone/mod_auth_openidc) in OAuth 2.0 Resource
30-
Server mode.
31+
token set by [mod_oauth2](https://github.com/zmartzone/mod_oauth2) operating as an OAuth 2.0 Resource
32+
Server.
3133

3234
Sample supported - incoming/external - source tokens:
3335
- an OAuth 2.0 bearer access token presented by an external OAuth 2.0 Client
@@ -135,11 +137,11 @@ Any questions/issues should go to issues tracker.
135137
#### Commercial Services
136138
For commercial Support contracts, Professional Services, Training and use-case specific support you can
137139
contact:
138-
[sales@zmartzone.eu](mailto:sales@zmartzone.eu)
140+
[sales@openidc.com](mailto:sales@openidc.com)
139141

140142

141143
Disclaimer
142144
----------
143-
*This software is open sourced by ZmartZone IAM. For commercial support
144-
you can contact [ZmartZone IAM](https://www.zmartzone.eu) as described above in the [Support](#support)
145+
*This software is open sourced by OpenIDC. For commercial support
146+
you can contact [OpenIDC](https://www.openidc.com) as described above in the [Support](#support)
145147
section.*

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
AC_INIT([mod_sts],[3.3.0],[hans.zandbelt@zmartzone.eu])
1+
AC_INIT([mod_sts],[3.3.0],[hans.zandbelt@openidc.com])
22

33
AM_INIT_AUTOMAKE([foreign no-define subdir-objects])
44
AC_CONFIG_MACRO_DIRS([m4])

src/liboauth2-sts

src/mod_sts.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* You should have received a copy of the GNU Affero General Public License
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*
18-
* @Author: Hans Zandbelt - hans.zandbelt@zmartzone.eu
18+
* @Author: Hans Zandbelt - hans.zandbelt@openidc.com
1919
*
2020
**************************************************************************/
2121

0 commit comments

Comments
 (0)