Skip to content

Enable user filtering proxy for hpad #20

@datadavev

Description

@datadavev

hpad uses github or orcid accounts for create / write access, but the underlying codimd service does not support a whitelist for users. This can be implemented using keycloak as an authentication proxy, and directing codimd to use keycloak instead of github.

The steps seem to be:

  • Add GitHub as an identity provider, add the codimd github clientid and secret to keycloak (or register as a new oauth app). Probably using the "First Broker Login" flow
  • Add a condition to check if a username is in a predefined list
  • Configure hpad to use OIDC pointing to keycloak

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions