Zum Hauptinhalt springen

Documentation

IMPORTANT

This is the outdated SI-documentation which will be adapted soon. A huge part may be obsolete!

Github Gist Integration

In GitHub V3 Rest API, it is now required to pass in authentication tokens in order to create new gist items from EasyDiscuss. To get this token, we will need to create an OAuth app so that we can retrieve the app Client ID and Client Secret Key that will be used during the app authentication. To do this, please follow the steps below.

  1. Register and login to github.com

  2. From the toolbar, click on your avatar image and click on 'Settings'.

    GitHub Gist

  3. In the settings page, click on 'Developer Settings'.

    GitHub Gist

  4. At the Developer Settings page, click on OAuth Apps tab from the left menu. Now, you should see the 'New OAuth App' button. Click on this button to create your new OAuth app.

    GitHub Gist

  5. Fill in all the input fields.

    GitHub Gist

    Remember to replace https://yourwebsite.com with your actual website url. Now, click on the Register application button to complete your app creation.

  6. Once you've created your OAuth app, you will be redirected to your newly created app page. Copy the Client ID and Client Secret and insert these details into Easydiscuss > Settings > Composer > GitHub Intergration. Save your changes.

    GitHub Gist

    GitHub Gist

  7. After saving your Client ID and Client Secret, click on the Sign in with Github button and follow the popup window instructions to complete your authentication process.

    GitHub Gist

    GitHub Gist

    Note: If you entered https url as the Authorization callback URL in the app, the sign in process will only work under that https url.

Wir benutzen Cookies
Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbessern. Du kannst selbst enscheiden, ob du Cookies zulassen möchtest. Bitte beachte, dass bei Ablehnung womöglich nicht mehr alle Funktionalitäten zur Verfügung stehen.