<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007K8g6CCAROkta Classic EngineIntegrationsAnswered2024-03-25T17:06:01.000Z2021-12-07T09:19:47.000Z2021-12-08T12:19:36.000Z

1zcg6 (1zcg6) asked a question.

Does Okta support front-end submodules?

Hello there.

Here's my case. I have several Angular apps (more than 5). All of them have some similar code (styles, components, modules). All of these similar pieces combined into one separate project that work as submodule for other apps.

 

Currently auth is provided by OIDC. I want to replace it with Okta. So, does Okta support such kind of dev model? Is it real to create only one auth module in submodule app with Okta integration and simply import it to the other apps (obviously, with injection of separate environment config)? Or... should I install and set up Okta separately in every app?


  • Hello @1zcg6 (1zcg6)​,

     

    Yes, front-end apps are supported.

     

    You can generate for each customer an OIDC app in Okta that uses client credentials flow 10, so that each access token generated can be traced back to a particular application.

    To validate the access tokens on the resource server, you can use a JWT verifier which verifies the access token’s signature using the signing keys of a custom authorization server inside your Okta tenant.

     

    In order to achieve this, your Okta tenant requires the API Access Management feature. If you don’t have the feature enabled (the easiest solution would be to navigate to https://yourCompany.okta.com/oauth2/default/v1/keys 6 and check the response), you can reach out to your Okta representative if this option is not enabled.

     

    If you need further assistance you can also feel free to post this question on our Okta Developer Forums: https://devforum.okta.com, and they should be able to help you with this.

     

    Have a great day ahead.

     

    Regards,

     

    Natalia

    Okta Inc.

    Expand Post
    Selected as Best
  • Hello @1zcg6 (1zcg6)​,

     

    Yes, front-end apps are supported.

     

    You can generate for each customer an OIDC app in Okta that uses client credentials flow 10, so that each access token generated can be traced back to a particular application.

    To validate the access tokens on the resource server, you can use a JWT verifier which verifies the access token’s signature using the signing keys of a custom authorization server inside your Okta tenant.

     

    In order to achieve this, your Okta tenant requires the API Access Management feature. If you don’t have the feature enabled (the easiest solution would be to navigate to https://yourCompany.okta.com/oauth2/default/v1/keys 6 and check the response), you can reach out to your Okta representative if this option is not enabled.

     

    If you need further assistance you can also feel free to post this question on our Okta Developer Forums: https://devforum.okta.com, and they should be able to help you with this.

     

    Have a great day ahead.

     

    Regards,

     

    Natalia

    Okta Inc.

    Expand Post
    Selected as Best
This question is closed.
Loading
Does Okta support front-end submodules?