title: How to let Nextcloud user login in django with single sign similar to "Login with Github" in SO?
body: <p>I have a Nextcloud instance where all potential users have an account.</p>
  <p>I would like to set up an <a href="https://github.com/fsinfuhh/Bitpoll" rel="nofollow noreferrer">Open Source Doodle (Bitpoll)</a> that is django based, as I don't like the nextcloud poll app.</p>
  <p>For security reasons I would like to limit the Doodle app to users of my nextcloud. Also I don't want them to enter a password using the doodle app (so single sign on is required).
  I imagine a similar user user flow as the <code>Login in with Github</code> button that can be used to also create user accounts.</p>
  <p>The doodle app supports LDAP, so does nextcloud.</p>
  <p>There are django modules for OAuth as well as for the nextcloud.</p>
  <p>I have no LDAP experience at all and only very little OAuth experience.</p>
  <p><strong>With which Nextcloud Settings / Apps and which Django Apps (and an idea of the settings) can I realize the explained scenario?</strong></p>
  <p>To be more precise:</p>
  <ol>
  <li>Do I need to use LDAP at all? Or can I configure OAuth in a way that all users that come from <code>nextcloud.mydomain.org</code> generate a new account in the app?</li>
  <li>What are the correct OAuth terms for my nextcloud istance and for the doodle app in this scenario? Is nextcloud a OAuth Server and doodle an OAuth Client?</li>
  <li>What django modules could I use?</li>
  <li>Do I confuse OAuth with OpenID in this scenario?</li>
  </ol>