Skip to content

Conversation

@julien-nc
Copy link
Member

@julien-nc julien-nc commented Sep 10, 2025

If the "store login tokens" option is enabled in user_oidc, integration_swp should let user_oidc deal with token storage and refresh. We can use the OCA\UserOIDC\Event\ExternalTokenRequestedEvent event to get an up-to-date token.

image

If both integration_swp and user_oidc are trying to refresh the same token at some point, one of them will fail because its token is outdated.

@julien-nc julien-nc force-pushed the enh/noid/get-token-with-user_oidc-events branch from ef4fcd5 to c044301 Compare September 10, 2025 12:34
@julien-nc julien-nc force-pushed the enh/noid/get-token-with-user_oidc-events branch 2 times, most recently from 8526e9b to 013f769 Compare November 3, 2025 16:15
@julien-nc julien-nc force-pushed the enh/noid/get-token-with-user_oidc-events branch from 013f769 to 98077e8 Compare December 1, 2025 13:01
Signed-off-by: Julien Veyssier <[email protected]>
@julien-nc julien-nc force-pushed the enh/noid/get-token-with-user_oidc-events branch from 98077e8 to e5a7ec5 Compare December 1, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants