<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
0D54z00008mM2N5CAKOkta Classic EngineAdministrationAnswered2025-09-13T09:01:51.000Z2023-02-14T09:15:54.000Z2023-02-24T05:51:53.000Z
Can we add multiple PHP web application into Okta?

We are vendor and one of customer want to use okta for their customers. could you please help us how we can do it ?

 

Our customer want to perform below steps into their okta account

  1. Create an application.
  2. Integrate our service.
  3. Show login link on our platform.
  4. Their customers will logged-in into our service using okta application.

 

Is it correct steps?

 

Thanks,

-Ravi


  • MatthewH.10249 (State of Iowa)

    At a high level your 4 steps make sense but not knowing anything about your system(s) I think the best place for you to get answers is to look at https://developer.okta.com. You can find PHP specific details on how to implement Okta. https://developer.okta.com/docs/guides/sign-into-web-app-redirect/php/main/ Using the Okta Hosted Widget with redirect is the simplest method to get started. If you use the Okta Hosted Widget then account creation is process is built in and all your apps will need to handle successfully logged in users.

     

    Depending on your design needs, you could use one Okta app instance (assuming OIDC) for all your apps or you can create individual apps.

     

    Best of luck to you!

    Expand Post
  • Hello Matthew,

     

    One of our customer is using our service and their team is implementing Single Sign-On (SSO) for all their vendor's tools. So that their users can access the application with just one set of credentials i.e., Okta Credentials.

     

    What are the required changes they expect to be done on us end?

     

    1) Should we integrate our service with Okta so their users can access our service using their okta credentials?

    2) Our customer need to create an application for us into their okta account so their users can access our service using their okta credentials?

     

    Thanks for all your help!

    Expand Post
  • MatthewH.10249 (State of Iowa)

    In your original post it sounds like you were going to set up some apps for your customer's 3rd party app to leverage your Okta tenant but in your latest post "2)" it sounds like you are saying that your customer has their own Okta tenant as well and thus two different user sets. If this is the case, I suggest you take a look at how IdPs and routing rules might help. You could also look at establishing an Org2Org relationship between the two tenants if appropriate. I suggest you reach out to Okta Professional Services to look at your use case in more detail to come up with the best approach. Best of luck!

     

    https://help.okta.com/oie/en-us/Content/Topics/Security/Identity_Providers.htm#:~:text=Identity%20Providers%20(IdPs)%20are%20services,account%20or%20a%20smart%20card.

     

    https://saml-doc.okta.com/SAML_Docs/Configure-SAML-2.0-for-Org2Org.html#:~:text=The%20Org2Org%20connector%20application%20is,for%20a%20Hub%2FSpoke%20configuration.

     

    https://www.okta.com/services/professional-services/

    Expand Post
  • a0n5s (a0n5s)

    @User16762778904117128244 (Customer)​ So your service is SAAS or On premise? if it is SAAS, you need to consider if all tenants support Okta. if it is on premise, it is more simple. Have you integrate your service by OIDC before? this is the data flow of OIDC. Client App is your service. Authorization server is Okta.

    there are three step:

    1. /authorizeInteract with the resource owner and obtain an authorization grant.
    2. /tokenObtain an access and/or ID token by presenting an authorization grant or refresh token.
    3. /userinfoReturn claims about the authenticated end user.

    You can find the endpoint information by: /.well-known/openid-configuration, return OpenID Connect metadata related to the specified authorization server.

     

    @MatthewH.10249 (State of Iowa)​ has provide the Okta PHP SDK .

    Expand Post
  • @Hengfeng Ge, @Matthew Harshbarger Thanks for your reply!

     

    Our service is SAAS based service. One more question need to clear with you:-

     

    Okta supporting following cloud

    - Customer Identity Cloud

    - Workforce Identity Cloud

     

    I am a little confused about where to create the application in Okta. Can you please clarify which Okta cloud we should use to create the application so our client's customers can access our service using their Okta credentials?

     

    Thanks for all your help and support!

    Expand Post
    • MatthewH.10249 (State of Iowa)

      If you have both CIC and WIC tenants and assuming that you have an Org2Org set up with the CIC as the HUB and the WIC as a spoke, I would think that setting up the app in your CIC would be the way to go.

       

      Again, I suggest you reach out to Okta Professional Services to look at your use case in more detail to come up with the best approach. Best of luck!

      Expand Post
  • @Hengfeng Ge, We need to follow these steps in Okta service:

    1. Register as a developer in Okta service

    2. Create an application for our service in our Okta account

    3. Set the "SSO Okta login" link in the login page of our service

    4. Our client's customers can use that link to log in to our service with their Okta credentials

    5. Okta will authenticate the user's details and redirect them back to our service.

    Expand Post
  • @Hengfeng Ge, thanks for your reply!

     

    Yes. I have performed above steps and its working fine.

     

    For example, "ABC" is our client and they have many customers. "ABC" client want that, their customer's will use our service using their Okta credentials. Is "ABC" client customer can login into our service using their Okta credentials right? or need to perform addition steps into our Okta account for it?

    Expand Post
10 of 32
This question is closed.
Loading
Can we add multiple PHP web application into Okta?