Hey everyone,
I’m working on an app integration with Nextcloud and need to implement OAuth2 authentication. I’ve checked the official Nextcloud OAuth2 documentation, but I’m still unclear on a few points:
- How do I correctly register my app to get the client ID/secret?
- What’s the proper flow for exchanging authorization codes with Nextcloud’s endpoints?
- Any gotchas with token refresh or scopes I should watch out for?
- How do you handle OAuth2 in mobile or desktop apps that integrate with Nextcloud?
- Are there any example implementations or code snippets you can share (PHP, Python, JS)?
If anyone has step-by-step instructions or real-world examples of OAuth2 integration with Nextcloud apps, it’d be super helpful.
Thanks in advance!