OAuth2 authentication mechanism for INN2/nnrpd
Go to file
xenia bd4d1ae126 Initial commit 2019-06-03 01:04:29 -04:00
README.md Initial commit 2019-06-03 01:04:29 -04:00
nnrpd_oauth.py Initial commit 2019-06-03 01:04:29 -04:00
requirements.txt Initial commit 2019-06-03 01:04:29 -04:00

README.md

OAuth2 authentication mechanism for INN2/nnrpd

Keycloak setup

Create a new client, type openid-connect

  • Standard flow, implicit flow enabled: off
  • Direct access grants: on
  • Access type: confidential

Insert details into script:

  • client_id: the client ID you created
  • client_secret: from credentials tab in keycloak
  • token_url: https://<yourinstance.tld>/auth/realms//protocol/openid-connect/token

Install to INN2

Ensure requirements are installed.

Copy nnrpd_oauth.py to pathbin/auth/passwd/