Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mxab/meteor-keycloak
https://github.com/mxab/meteor-keycloak
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mxab/meteor-keycloak
- Owner: mxab
- Created: 2017-07-11T22:48:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-18T11:42:04.000Z (almost 6 years ago)
- Last Synced: 2024-04-17T06:13:03.033Z (2 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 7
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-keycloak - Meteor Keycloak Accounts
README
# Setup
```
meteor add mxab:accounts-keycloak
```## Local setup with docker
```
docker run -p 8080:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin jboss/keycloak
```Setup keycloak under http://localhost:8080/auth/admin/
1. Create a new realm in keycloak
2. Create a client in this realmRegister OIDC settings, something like this:
```ServiceConfiguration.configurations.upsert(
{service: 'keycloak'},
{
$set: {
"realm": "my-realm-123",
"auth-server-url": "http://localhost:8080/auth",
"ssl-required": "external",
"resource": "the-meteor-app-client-id",
"public-client": true,
"use-resource-role-mappings": true,
"bearer-only": true,
"realm-public-key": "PUBLICRSAKEY12312313"
}
}
);```