# ERROR Error: Okta config is not provided at Object.create OktaAuth \[as useFactory\]

**URL:** <https://devforum.okta.com/t/error-error-okta-config-is-not-provided-at-object-create-oktaauth-as-usefactory/25870>\
**Category:** OAuth/OIDC\
**Tags:** angular\
**Created:** [November 20, 2023, 1:40pm UTC](https://devforum.okta.com/t/error-error-okta-config-is-not-provided-at-object-create-oktaauth-as-usefactory/25870 "2023-11-20T13:40:52Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![alisaduncan](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/alisaduncan/32/3429_2.png) [@alisaduncan](https://devforum.okta.com/u/alisaduncan)\
**Post date:** [March 14, 2024, 4:52pm UTC](https://devforum.okta.com/t/error-error-okta-config-is-not-provided-at-object-create-oktaauth-as-usefactory/25870/21 "2024-03-14T16:52:36Z")

</div>

Hi @mfricker,

Welcome to the community!

I’m glad you could resolve your issue, and thanks for posting your resolution. It will help others running into the same issue.

Also, appreciate the prompt. I finally got a tutorial published with a real repository demonstrating runtime config loading in an Angular v17 app. I’ll post the link here in case others run into this post and have questions.

> **[Flexible Authentication Configurations in Angular Applications Using Okta](https://developer.okta.com/blog/2024/02/28/okta-authentication-angular)**
>
> Use the Okta Angular SDK to add flexible runtime configuration loading. Check out how to do so in a standalone Angular application!

[Previous page](https://devforum.okta.com/t/error-error-okta-config-is-not-provided-at-object-create-oktaauth-as-usefactory/25870.md?page=1)
