# Oauth2 with fusionauth cert issues

**URL:** https://meta.discourse.org/t/oauth2-with-fusionauth-cert-issues/106324
**Category:** Self-hosting
**Created:** [January 12, 2019, 12:00am UTC](https://meta.discourse.org/t/oauth2-with-fusionauth-cert-issues/106324 "2019-01-12T00:00:17Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![robotdan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robotdan/32/129069_2.png) [@robotdan](https://meta.discourse.org/u/robotdan)
#### Post date: [January 13, 2019, 8:07pm UTC](https://meta.discourse.org/t/oauth2-with-fusionauth-cert-issues/106324/2 "2019-01-13T20:07:09Z")

</div>

Hi,

Have you read through this thread, seems like a similar issue.

> [@Discourse OAuth2 Basic](https://meta.discourse.org/t/oauth2-basic-support/33879):
>
> discourse2Summary Discourse OAuth2 Basic supports basic OAuth2 providers, assuming they have a JSON API endpoint where user details can be retrieved by token.open_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately. Features This plugin allows you to use a basic OAuth2 provider as authentication for Discourse. It should work with many providers, with the caveat that they must provide a JSON endpoint for retri…

Assuming this is an Nginx or Discourse configuration issue, but in case FusionAuth is contributing to the issue I’ll offer any help that I can.

- It looks like you’re using a self signed certificate, which is ok, but you likely need to add that to your local certificate store. Alternatively you could use Let’s Encrypt so you don’t need to deal with managing a self signed certificate.
- Have you tried to recreate with an OpenID Connect plugin in addition to the `discourse-basic-oauth2 plugin`?
- Since both FusionAuth and Discourse are behind the proxy, have you configured your redirect in FusionAuth to use `https` or `http`?

If you have any other questions on the FusionAuth configuration I’m happy to help.

Daniel  
FusionAuth

---

_[View the full topic](https://meta.discourse.org/t/oauth2-with-fusionauth-cert-issues/106324)._
