xenia 5c0f8fa8be | ||
---|---|---|
README.md | ||
nnrpd_oauth.py | ||
requirements.txt |
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/[your-realm]/protocol/openid-connect/token
Install to INN2
Ensure requirements are installed.
Copy nnrpd_oauth.py to pathbin/auth/passwd/