https://github.com/gematik/app-gemras
"gematik Reference Authorization Server" as relying party of the IDP federation
https://github.com/gematik/app-gemras
idm other poc
Last synced: 3 months ago
JSON representation
"gematik Reference Authorization Server" as relying party of the IDP federation
- Host: GitHub
- URL: https://github.com/gematik/app-gemras
- Owner: gematik
- License: apache-2.0
- Created: 2023-11-28T09:28:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-27T13:30:39.000Z (over 1 year ago)
- Last Synced: 2025-01-01T12:44:22.455Z (9 months ago)
- Topics: idm, other, poc
- Language: Java
- Homepage:
- Size: 84 KB
- Stars: 0
- Watchers: 9
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
## Overview
Project **gras-global**
* **gra-server:** "Gematik Reference Authorization Server"
is (together with the idp-server) a reference implementation of a eRezept Authorization Server
* **gras-testsuite:** Testsuite for a Relying Party (i.e. the gra-server)### build project and run unit tests
To quickly check your build environment do in project root:
`mvn clean package`
or skip unit tests:
`mvn clean package -Dskip.unittests`Assume the entity statement to be tested is under
*https://api.mydiga.de:8443/oidc/.well-known/openid-federation*### To run the tests against your own server just do the following things:
* edit the tiger-external.yaml and replace "localhost:443" in line 17 with the host and the port of
your server (i.e.*api.mydiga.de:8443*)
* Alternatively, you can simply start the gra-server (part of this project) to check test environment.
* edit the tiger-external.yaml and replace ".well-known/openid-federation" in line 20 with the path
of your entity statement (i.e.*oidc/.well-known/openid-federation*)
* open a shell and enterThe keys
`gra-server/src/main/resources/keys/ref-privkey.pem`
`gra-server/src/main/resources/keys/ref-privkey-rotation.pem`
are added for unit tests only and can be published.```bash
export TIGER_TESTENV_CFGFILE=tiger-external.yaml
mvn clean verify -Dskip.unittests=true -Dcucumber.filter.tags="@EntityStatement or @SignedJwks"
#or
mvn clean verify -Dskip.unittests=true -Dcucumber.filter.tags="@EntityStatement or @EntityStatementJwks"
```The difference between the two maven calls is: The first expects your server to use the optional "
signed_jwks_uri" and the latter does not.