Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HTTP Authentication] Support for APIToken login In addition of username/password pair #3813

Open
lsafelix75 opened this issue Sep 26, 2023 · 0 comments
Labels
enhancement An enhancement or new feature of the Core

Comments

@lsafelix75
Copy link

As far as I understand, the current HTTP authentication only allows username/password pair. However, we have a case that instead of giving user the username/password, we give them API tokens instead for username/password pair to login. So that administrator can revoke the tokens anytime. So, supporting API Token login is just another option for user to use for logging in.

@lsafelix75 lsafelix75 added the enhancement An enhancement or new feature of the Core label Sep 26, 2023
lsafelix75 added a commit to lsafelix75/openhab-core that referenced this issue Sep 28, 2023
Refer to: openhab#3813
This  commit comprises a few changes:
1) Login screen - password field can be emptied but username must be
generated API token
2) Some housekeeping to Jaas code to remove unnecessary codes.

Signed-off-by: Felix Lo <lsafelix75@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature of the Core
Projects
None yet
Development

No branches or pull requests

1 participant