Skip to content
This repository has been archived by the owner on May 31, 2019. It is now read-only.

Top level auth config for server #54

Merged
merged 6 commits into from
Aug 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,3 +239,22 @@ docker-compose -p aerogeardatasyncserver up -d
npm run db:init:memeo:postgres
npm run dev:memeo
```

### Authentication and Authorization

By default server starts without any authentication and authorization mechanism.
Please follow documentation bellow to see how


### Keycloak SSO support

Keycloak integration is supported by providing location to keycloak configuration file

```
KEYCLOAK_CONFIG_FILE=keycloak/keycloak.json
```

You can also execute `npm run dev:keymemeo` to run server preconfigured with example keycloak server.

Memeolist example application requires keycloak realm to be configured.
See [Keycloak realm](./keycloak) configuration for more details
7 changes: 7 additions & 0 deletions keycloak/keycloak.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"realm": "Memeolist",
"auth-server-url": "https://keycloak.security.feedhenry.org/auth",
"ssl-required": "external",
"resource": "sync-server",
"public-client": true
}
Loading