# AuthType OAuth2.0 Client Secret is always required

**URL:** <https://community.postman.com/t/authtype-oauth2-0-client-secret-is-always-required/69721>\
**Category:** Help Hub\
**Tags:** authorization, authentication, oauth2, secret\
**Created:** [October 15, 2024, 9:04am UTC](https://community.postman.com/t/authtype-oauth2-0-client-secret-is-always-required/69721 "2024-10-15T09:04:15Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [October 17, 2024, 12:33pm UTC](https://community.postman.com/t/authtype-oauth2-0-client-secret-is-always-required/69721/5 "2024-10-17T12:33:13Z")

</div>

@redeyeddog

Looking into this a bit further.

[Single-Page Apps - OAuth 2.0 Simplified](https://www.oauth.com/oauth2-servers/single-page-apps/)

This flow doesn’t require the client secret as you quite rightly pointed out in your original post.

If you select “Authorization Code (with PKCE)”. I can see that it still has the field for the client\_secret, but is it mandatory? If you don’t enter anything in this field, does it send the request?

This looks likes its related to this topic.

[Example of retrieving a token using an Entra App with a Cert - 🌱 Just Getting Started - Postman Community](https://community.postman.com/t/example-of-retrieving-a-token-using-an-entra-app-with-a-cert/69750)

I’m not sure that the Postman Authorizations are supporting this yet. Which is a bit of an issue as the Authorization\_code grant type needs user interaction and the helpers deal with that aspect. You can’t mimic this in a pre-request script.

---

_[View the full topic](https://community.postman.com/t/authtype-oauth2-0-client-secret-is-always-required/69721)._
