- {{ $t('firefly.profile_oauth_clients_explain') }} -
-- {{ $t('firefly.profile_oauth_clients_external_auth') }} -
-- {{ $t('firefly.profile_oauth_no_clients') }} -
-| {{ $t('firefly.profile_oauth_client_id') }} | -{{ $t('firefly.name') }} | -{{ $t('firefly.profile_oauth_client_secret') }} | -- | - |
|---|---|---|---|---|
| - {{ client.id }} - | - - -- {{ client.name }} - | - - -
- {{ client.secret ? client.secret : '-' }}
- |
-
-
- - - {{ $t('firefly.edit') }} - - | - - -- - {{ $t('firefly.delete') }} - - | -
:link. This applies to you of course, but also to web applications, AI-agents and other remote programs. However, this access is only possible with the use of Personal Access Tokens or OAuth Clients. Both can be managed on this page. Beware that contrary to previous versions, Firefly III will no longer show you the client secret more than once.',
+ 'regenerate_secret' => 'Regenerate secret',
'profile_oauth_clients' => 'OAuth Clients and Applications',
'explain_pats' => 'Personal Access Tokens are long lived (with a maximum of 1 year) keys that allow direct and unlimited access to your Firefly III data. Tools like the Firefly III Data Importer and the Firefly III integration in Home Assistant use such tokens to connect to Firefly III and do their thing. When you create a token, it is only visible once. The token is also very long.',
'profile_oauth_no_clients' => 'You have not created any OAuth clients or applications.',
@@ -1662,8 +1664,8 @@ return [
'profile_oauth_client_secret_expl' => 'Here is your new client secret. This is the only time it will be shown so don\'t lose it! You may now use this secret to make API requests.',
'profile_personal_access_tokens' => 'Personal Access Tokens',
'profile_personal_access_token' => 'Personal Access Token',
- 'profile_oauth_confidential' => 'Confidential',
- 'profile_oauth_confidential_help' => 'Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as native desktop or JavaScript SPA applications, are unable to hold secrets securely.',
+ 'profile_oauth_confidential' => 'Keep a secret?',
+ 'profile_oauth_confidential_help' => 'Can the application you\'re using this for keep a secret? The Firefly III Data Importer CANNOT keep a secret, so UNCHECK the box. In other cases, it\'s up to you.',
'profile_personal_access_token_explanation' => 'Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.',
'profile_no_personal_access_token' => 'You have not created any personal access tokens.',
'profile_create_new_token' => 'Create new token',
diff --git a/resources/views/profile/index.twig b/resources/views/profile/index.twig
index 087445222c..a8e8c93379 100644
--- a/resources/views/profile/index.twig
+++ b/resources/views/profile/index.twig
@@ -19,17 +19,6 @@
{{ 'pref_two_factor_auth_help'|_ }}
- {% if enabled2FA == true %} -- {{ trans_choice('firefly.pref_two_factor_backup_code_count', mfaBackupCount) }} -
- - -+ {{ trans('firefly.oauth_tokens_explain', {link: link})|raw }} +
+