# Error: Unknown authentication strategy "oidc"

**URL:** <https://devforum.okta.com/t/error-unknown-authentication-strategy-oidc/3775>\
**Category:** OAuth/OIDC\
**Created:** [December 29, 2018, 3:28pm UTC](https://devforum.okta.com/t/error-unknown-authentication-strategy-oidc/3775 "2018-12-29T15:28:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wianoski](https://avatars.discourse-cdn.com/v4/letter/w/54ee81/32.png) [@wianoski](https://devforum.okta.com/u/wianoski)\
**Post date:** [December 29, 2018, 3:28pm UTC](https://devforum.okta.com/t/error-unknown-authentication-strategy-oidc/3775/1 "2018-12-29T15:28:57Z")

</div>

Got this error message, pls help me out and thanks :"  
(node:6032) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): HTTPError: Response code 404 (Not Found)  
(node:6032) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.  
Error: Unknown authentication strategy “oidc”  
at attempt (D:\Clone Gits\components-inventory\node\_modules\passport\lib\middleware\authenticate.js:173:37)  
at authenticate (D:\Clone Gits\components-inventory\node\_modules\passport\lib\middleware\authenticate.js:349:7)  
at D:\Clone Gits\components-inventory\node\_modules@okta\oidc-middleware\src\connectUtil.js:79:28  
at Layer.handle [as handle\_request] (D:\Clone Gits\components-inventory\node\_modules\express\lib\router\layer.js:95:5)  
at trim\_prefix (D:\Clone Gits\components-inventory\node\_modules\express\lib\router\index.js:317:13)  
at D:\Clone Gits\components-inventory\node\_modules\express\lib\router\index.js:284:7  
at Function.process\_params (D:\Clone Gits\components-inventory\node\_modules\express\lib\router\index.js:335:12)  
at next (D:\Clone Gits\components-inventory\node\_modules\express\lib\router\index.js:275:10)  
at urlencodedParser (D:\Clone Gits\components-inventory\node\_modules\body-parser\lib\types\urlencoded.js:91:7)  
at Layer.handle [as handle\_request] (D:\Clone Gits\components-inventory\node\_modules\express\lib\router\layer.js:95:5)

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 12, 2024, 6:31pm UTC](https://devforum.okta.com/t/error-unknown-authentication-strategy-oidc/3775/2 "2024-02-12T18:31:44Z")

</div>

Closed on February 12, 2024, 6:31pm UTC


