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

Add support to NC-Token #13

Open
shalak opened this issue Feb 18, 2023 · 0 comments
Open

Add support to NC-Token #13

shalak opened this issue Feb 18, 2023 · 0 comments

Comments

@shalak
Copy link

shalak commented Feb 18, 2023

NextCloud 25 allows to use the /ocs/v2.php/apps/serverinfo/api/v1/info endpoint without user/password. As described at settings/admin/serverinfo page:

To use an access token, please generate one then set it using the following command:
occ config:app:set serverinfo token --value yourtoken

Then pass the token with the "NC-Token" header when querying the above URL.

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

No branches or pull requests

1 participant