# OAuth2 et Microsoft ADFS

**URL:** https://meta.discourse.org/t/oauth2-and-microsoft-adfs/103357
**Category:** Support
**Created:** [Décembre 3, 2018, 2:49 UTC](https://meta.discourse.org/t/oauth2-and-microsoft-adfs/103357 "2018-12-03T14:49:42Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [Décembre 4, 2018, 4:27 UTC](https://meta.discourse.org/t/oauth2-and-microsoft-adfs/103357/12 "2018-12-04T16:27:32Z")

</div>

Inline debugging in an IDE is tricky to get set up. The best way is to set up a local development copy of Discourse. When developing locally, changes to code update live, so you don’t even have to restart the server! The easiest way to get started with that is:

> [@Install Discourse for development using Docker](https://meta.discourse.org/t/beginners-guide-to-install-discourse-for-development-using-docker/102009):
>
> Developing using Docker Since Discourse runs in Docker, you should be able to run Discourse directly from your source directory using a Discourse development container. white_check_mark Pros: No need to install any system dependencies, no configuration needed at all for setting up a development environment quickly. x Cons: Will be slightly slower than the native dev environment on Ubuntu, and much slower than a native install on MacOS. See also [Developing Discourse using a Dev Container](https://meta.discourse.org/t/developing-discourse-using-a-dev-container/336366) …

Alternatively…

This is not ‘recommended’, but if you want to stick with making changes on your production instance, you can speed things up by getting a terminal inside the docker container

```plaintext
/var/discourse/launcher enter app

```

and then editing files directly

```plaintext
vi /var/www/discourse/plugins/discourse-openid-connect/......

```

and then restarting the server manually from within the container

```plaintext
sv restart unicorn

```

---

_[View the full topic](https://meta.discourse.org/t/oauth2-and-microsoft-adfs/103357)._
