# Own authentication with OIDC/OAuth2

**URL:** <https://community.hubspot.com/t/own-authentication-with-oidc-oauth2/70233>\
**Category:** APIs & Integrations\
**Tags:** oauth\
**Created:** [November 30, 2022, 9:36am UTC](https://community.hubspot.com/t/own-authentication-with-oidc-oauth2/70233 "2022-11-30T09:36:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![geldcharm](https://avatars.discourse-cdn.com/v4/letter/g/85f322/32.png) [@geldcharm](https://community.hubspot.com/u/geldcharm)\
**Post date:** [November 30, 2022, 9:36am UTC](https://community.hubspot.com/t/own-authentication-with-oidc-oauth2/70233/1 "2022-11-30T09:36:04Z")

</div>

We want to make certain pages private for our customers. Other pages will be publicly available. For the private pages, we must use our own authentication (OIDC/OAuth2)  
This is critical for our functionality.  
**My questions:**  
- Is this the right place to set up SSO for third-party authentication? (Settings, Tools, Website, Private Content, Single sign-on (SSO))  
- Is JWT/SAML the only options we have, are there any add-ons or plugins we can install for more options?  
- Are there any examples on OIDC/OAuth2 authentication we can look at?

 ![hubspot2.JPG](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/e/7e49bcee701f3c2c5685c151322d120d5893b85c.jpeg)

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [December 1, 2022, 6:49pm UTC](https://community.hubspot.com/t/own-authentication-with-oidc-oauth2/70233/2 "2022-12-01T18:49:48Z")

</div>

Hey, @geldcharm 👋 I did a bit of digging on your main question. Here is the answer I received — _our current functionality with JWT for SSO does not support OpenID Connect + OAuth2_.

This explains why it is not documented here as an option — [Set up single sign-on (SSO) to access private content](https://knowledge.hubspot.com/website-pages/set-up-single-sign-on-sso-to-access-private-content).`

Looking at your additional questions:

- Yes
- No additional documented options
- No for OIDC/OAuth2 authentication. In this case, the documentation states, “_The steps and fields required to add a new application in your identity provider may vary. General instructions for setting up SSO for private content are outlined below_.” It’s not my favourite answer to deliver, and it is in the knowledge base article for this feature, which is our source of truth here.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![FCram](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/fcram/32/204671_2.png) [@FCram](https://community.hubspot.com/u/FCram)\
**Post date:** [December 11, 2024, 3:04pm UTC](https://community.hubspot.com/t/own-authentication-with-oidc-oauth2/70233/3 "2024-12-11T15:04:24Z")

</div>

Hi [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) we are also looking to make private contant available to users who have autenticated with JWT for SSO using OIDC/Oauth2. Is there an update on this? -
