Skip to content

Conversation

@rhafer
Copy link
Contributor

@rhafer rhafer commented Mar 19, 2025

Switch the default config of the app-auth service to use the jsoncs3 backend. We generate password base on the diceware algorithm by default using the default length of 6 words.

This also enables the app token service by default. ❗

@rhafer rhafer changed the title Appauth jsoncs3 Switch to jsoncs3 backend for app tokens and enable service by default Mar 20, 2025
@rhafer rhafer marked this pull request as ready for review March 20, 2025 10:36
@rhafer
Copy link
Contributor Author

rhafer commented Mar 20, 2025

For making delete app token request work in the UI we need this reva change: opencloud-eu/reva#119

@rhafer rhafer requested review from aduffeck and kulmann March 20, 2025 11:28
@rhafer rhafer self-assigned this Mar 20, 2025
@rhafer
Copy link
Contributor Author

rhafer commented Mar 20, 2025

@kulmann As discussed, this now also allows setting the label on the app password.

 curl -k -u alan --request POST 'https://localhost:9200/auth-app/tokens?expiry=30m&label=blah%20blub'

rhafer and others added 5 commits March 20, 2025 15:09
Co-Authored-By: André Duffeck <a.duffeck@opencloud.eu>
Instead of using the same hardcoded label for all app tokens, allow to
specify one on the API.
When an app token is generate via the impersonation feature we add the
string ` (Impersonation)` to the label.
@rhafer rhafer merged commit 7be2e46 into opencloud-eu:main Mar 20, 2025
47 of 51 checks passed
@openclouders openclouders mentioned this pull request Mar 26, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants