You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Konstantinos Triantafyllou 726417e970 [maven-release-plugin] prepare for next development iteration 2 weeks ago
src Capitalize default value of access token 2 weeks ago
.gitignore Pull initial repo 7 months ago
LICENSE Initial commit 7 months ago
README.md Add documentation in ReadMe 7 months ago
pom.xml [maven-release-plugin] prepare for next development iteration 2 weeks ago

README.md

Login Service

Login service provides methods to authenticate users through AAI provider and retrieve information of authenticated user.

Configuration

AAI Configuration

authentication.oidc.issuer=https://aai.openaire.eu/oidc/
authentication.oidc.logout=https://aai.openaire.eu/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=
authentication.oidc.home=https:://<domain>/login-service/openid_connect_login
authentication.oidc.scope=openid,profile,email,eduperson_entitlement
authentication.oidc.id=id
authentication.oidc.secret=secret
authentication.session=openAIRESession
authentication.domain=di.uoa.gr

Redis Properties

authentication.redis.host = localhost
authentication.redis.port = 6379
authentication.redis.password =

Default Redirect

authentication.redirect=<default-redirect-URI>

Methods

Login

https://<domain>/login-service/openid_connect_login?redirect=<redirectURI>

Logout

https://<domain>/login-service/openid_logout?redirect=<redirectURI>

User Info

https://<domain>/login-service/userInfo

e.g

{
    "sub":"123456789012345@openaire.eu",
    "name":"John Doe",
    "given_name":"John",
    "family_name":"Doe",
    "email":"john.doe@example.com",
    "roles":[
        "REGISTERED_USER",
        "PORTAL_ADMINISTRATOR"
    ]
}