-
Notifications
You must be signed in to change notification settings - Fork 184
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
User endpoint doesn't answer the first time it's queried #4616
Comments
That is the issue here. The autoprovisioning of the user happens later in the ocis proxy after successful login. @rhafer any ideas? |
As the |
After autoprovisioning a user, we did not properly request a reva token for that user. Which made the ocs service (auth interceptro in frontend) try to get a token via the Fix is on it's way. This however also raises the question why we're currently running the auth-bearer service at all. AFAICs it can't really work for us currently. And in all cases apart from autoprovisioning the proxy is requesting the reva-token via the auth-machine service. |
I've created #4692 to tackle that separately. |
To successfully authenticate a user after it was autoprovisioned, we need to get a valid reva token. Fixes: owncloud#4616
To successfully authenticate a user after it was autoprovisioned, we need to get a valid reva token. Fixes: #4616
Describe the bug
Looks like the desktop client can't query the user endpoint (
/ocs/v2.php/cloud/user?format=json
) when the user was never logged in before.Steps to reproduce
Steps to reproduce the behavior:
ownCloud-3.0.0-daily20220920.8579.pkg
)einstein:relativity
or other demo user after nightly reset of the instanceExpected behavior
Desktop sync client need to query user endpoint directly after it got the
access_token
from the IdP.Actual behavior
Desktop sync client can't query user information.
Only after triggering "Reopen Browser", the next attempt works:
Setup
ocis.ocis-keycloak.latest.owncloud.works
Additional context
Registration ✅
Token ✅
User endpoint 💥
@wkloucek @C0rby I just told you…
/cc @TheOneRing @fmoc
The text was updated successfully, but these errors were encountered: