nnrpd-oauth/README.md

20 lines
536 B
Markdown

# 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/[your-realm]/protocol/openid-connect/token
## Install to INN2 ##
Ensure requirements are installed.
Copy nnrpd_oauth.py to _pathbin_/auth/passwd/