Sign inSign up

neicnordic/sda-auth

By neicnordic

•Updated almost 5 years ago

Image
0

10K+

neicnordic/sda-auth repository overview

⁠SDA authentication service

This service allows users to log in both via Elixir AAI or EGA.

⁠Configuration

The following settings can be configured for deploying the service, either by using environment variables or a YAML file.

ParameterDescriptionDefined value
LOG_LEVELLog levelinfo
ELIXIR_IDElixir authentication idXC56EL11xx
ELIXIR_SECRETElixir authentication secretwHPVQaYXmdDHg
ELIXIR_ISSUERElixir issuer URLhttp://oidc:9090
ELIXIR_SCOPEAdditional OIDC scopega4gh_passport_v1
CEGA_AUTHURLCEGA server endpointhttp://cega:8443/lega/v1/legas/users/
CEGA_IDCEGA server authentication iddummy
CEGA_SECRETCEGA server authentication secretdummy
CEGA_JWTPRIVATEKEYPath to private key for signing the JWT tokenkeys/sign-jwt.key
CEGA_JWTSIGNATUREALGAlgorithm used to sign the JWT token. ES256 (ECDSA) or RS256 (RSA) are supportedES256
CEGA_JWTISSUERIssuer of CEGA JWT tokenshttp://auth:8080
SERVER_CERTCertificate file path""
SERVER_KEYPrivate key file path""
S3INBOXS3 inbox hosts3.example.com

⁠Running the development setup

Start the full stack bu running docker-compose in the dev-server folder:

docker-compose up -d --force-recreate --build

⁠Building a Docker container

Using the provided Dockerfile, you may build a Docker image:

docker build -t neicnordic/sda-auth:mytag <path-to-Dockerfile-folder>

Tag summary

Content type

Image

Digest

Size

11.9 MB

Last updated

about 5 years ago

docker pull neicnordic/sda-auth