Access Nextcloud account from outside Nextcloud

(Not sure if this is the right category but here we go)

I have a nextcloud instance at cloud.domain.com and a website at www.domain.com. They don’t interfere with eachother and are working completely fine on their own, but that’s not why I’m here.

Over the next few weeks, I’ll be working on upgrading the website. One of the features I would like to have is a sort of Nextcloud toolbar thing when the user is signed in. It will display their profile image, notifications, and an option to go to the Nextcloud.

Is there a built-in way to do this or should I make some sort of OAuth login using the OAuth capabilities of Nextcloud?

OAuth, OpenID or SAML will work.

You will need to be registered as loggedin in Nextcloud somehow, without having to login again. Thats only possible through federated login.

I am using the picoCMS app. It give me the advantage that I can add a login link to Nextcloud and then when loggedin, I have added some “internal” sites as “External sites” using the external sites app and opening them in an iframe. It works brilliantly.

However it might not do you any real good for your setup though.