Enable SSO login in Oracle APEX









up vote
0
down vote

favorite












Need help enabling SSO login in Oracle APEX application, my company supports SAML 2.0, they are asking me what nameid will be used. I don't know if SSO is an option in APEX or not? Any help is appreciated guys. Thanks.










share|improve this question



























    up vote
    0
    down vote

    favorite












    Need help enabling SSO login in Oracle APEX application, my company supports SAML 2.0, they are asking me what nameid will be used. I don't know if SSO is an option in APEX or not? Any help is appreciated guys. Thanks.










    share|improve this question

























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Need help enabling SSO login in Oracle APEX application, my company supports SAML 2.0, they are asking me what nameid will be used. I don't know if SSO is an option in APEX or not? Any help is appreciated guys. Thanks.










      share|improve this question















      Need help enabling SSO login in Oracle APEX application, my company supports SAML 2.0, they are asking me what nameid will be used. I don't know if SSO is an option in APEX or not? Any help is appreciated guys. Thanks.







      oracle oracle-apex






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 11 at 13:23









      Littlefoot

      18.6k61333




      18.6k61333










      asked Nov 11 at 8:39









      Mohamed Saleh

      6713




      6713






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          I don't know SAML, but - as far as SSO in Apex is concerned, here's how to do that. See if it helps.



          Suppose that there's an application which is used as a "menu" that lets you navigate through different Apex applications. In that menu application, go to



          Shared Components 
          > Authentication Schemes
          > choose Current scheme (e.g. "My menu auth. Scheme")
          > Session Cookie Attributes > type MY_MENU_COOKIE into „Cookie name“ field


          If application menu is the list item, its query might look like this: it selects all applications available to user logged in as :APP_USER (those user:application pairs are stored in the oper_x_app table). Pay attention to &SESSION. - without it, it won't work:



          select 
          null,
          app_name labelValue,
          'http://szg01lcp1.data.centar:8084/apex/f?p=' || id_app ||':1:&SESSION.' targetValue,
          null is_current -- ^^^^^^^^^
          from applications -- This!
          where id_app in (select id_app from oper_x_app
          where username = :APP_USER
          )
          order by app_name


          Now, for all those applications, you have to do the same: navigate to



          Shared Components 
          > Authentication Schemes
          > choose Current scheme (e.g. "Copy of My menu auth. Scheme")
          > Session Cookie Attributes
          > type MY_MENU_COOKIE into „Cookie name“ field


          Go to that application's



          Navigation menu
          > Create list entry
          - name the entry "My apex menu"
          - target type URL should look like this; &SESSION. is again important!

          http://your_server:8084/apex/f?p=118:1:&SESSION.
          ^^^^^^^^^
          This!


          That's all; using the "My apex menu" navigation menu entry, you can go to the central place of your applications and switch among them without having to log on all over again.






          share|improve this answer



























            up vote
            0
            down vote













            This article should give you some guidance:



            https://insum.ca/saml2-single-sign-on-with-oracle-application-express/



            TL;DR



            1. Use Apache HTTPD as a web proxy for APEX.

            2. Install and configure the mod_auth_mellon module for the web server.

            3. Set up the application on the identity management system of choice.

            4. For the APEX application, use the HTTP Header Authentication Scheme. The HTTP Header variable should have been configured when mod_auth_mellon was installed and set up.

            HTH.






            share|improve this answer




















              Your Answer






              StackExchange.ifUsing("editor", function ()
              StackExchange.using("externalEditor", function ()
              StackExchange.using("snippets", function ()
              StackExchange.snippets.init();
              );
              );
              , "code-snippets");

              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "1"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53247086%2fenable-sso-login-in-oracle-apex%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              0
              down vote













              I don't know SAML, but - as far as SSO in Apex is concerned, here's how to do that. See if it helps.



              Suppose that there's an application which is used as a "menu" that lets you navigate through different Apex applications. In that menu application, go to



              Shared Components 
              > Authentication Schemes
              > choose Current scheme (e.g. "My menu auth. Scheme")
              > Session Cookie Attributes > type MY_MENU_COOKIE into „Cookie name“ field


              If application menu is the list item, its query might look like this: it selects all applications available to user logged in as :APP_USER (those user:application pairs are stored in the oper_x_app table). Pay attention to &SESSION. - without it, it won't work:



              select 
              null,
              app_name labelValue,
              'http://szg01lcp1.data.centar:8084/apex/f?p=' || id_app ||':1:&SESSION.' targetValue,
              null is_current -- ^^^^^^^^^
              from applications -- This!
              where id_app in (select id_app from oper_x_app
              where username = :APP_USER
              )
              order by app_name


              Now, for all those applications, you have to do the same: navigate to



              Shared Components 
              > Authentication Schemes
              > choose Current scheme (e.g. "Copy of My menu auth. Scheme")
              > Session Cookie Attributes
              > type MY_MENU_COOKIE into „Cookie name“ field


              Go to that application's



              Navigation menu
              > Create list entry
              - name the entry "My apex menu"
              - target type URL should look like this; &SESSION. is again important!

              http://your_server:8084/apex/f?p=118:1:&SESSION.
              ^^^^^^^^^
              This!


              That's all; using the "My apex menu" navigation menu entry, you can go to the central place of your applications and switch among them without having to log on all over again.






              share|improve this answer
























                up vote
                0
                down vote













                I don't know SAML, but - as far as SSO in Apex is concerned, here's how to do that. See if it helps.



                Suppose that there's an application which is used as a "menu" that lets you navigate through different Apex applications. In that menu application, go to



                Shared Components 
                > Authentication Schemes
                > choose Current scheme (e.g. "My menu auth. Scheme")
                > Session Cookie Attributes > type MY_MENU_COOKIE into „Cookie name“ field


                If application menu is the list item, its query might look like this: it selects all applications available to user logged in as :APP_USER (those user:application pairs are stored in the oper_x_app table). Pay attention to &SESSION. - without it, it won't work:



                select 
                null,
                app_name labelValue,
                'http://szg01lcp1.data.centar:8084/apex/f?p=' || id_app ||':1:&SESSION.' targetValue,
                null is_current -- ^^^^^^^^^
                from applications -- This!
                where id_app in (select id_app from oper_x_app
                where username = :APP_USER
                )
                order by app_name


                Now, for all those applications, you have to do the same: navigate to



                Shared Components 
                > Authentication Schemes
                > choose Current scheme (e.g. "Copy of My menu auth. Scheme")
                > Session Cookie Attributes
                > type MY_MENU_COOKIE into „Cookie name“ field


                Go to that application's



                Navigation menu
                > Create list entry
                - name the entry "My apex menu"
                - target type URL should look like this; &SESSION. is again important!

                http://your_server:8084/apex/f?p=118:1:&SESSION.
                ^^^^^^^^^
                This!


                That's all; using the "My apex menu" navigation menu entry, you can go to the central place of your applications and switch among them without having to log on all over again.






                share|improve this answer






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  I don't know SAML, but - as far as SSO in Apex is concerned, here's how to do that. See if it helps.



                  Suppose that there's an application which is used as a "menu" that lets you navigate through different Apex applications. In that menu application, go to



                  Shared Components 
                  > Authentication Schemes
                  > choose Current scheme (e.g. "My menu auth. Scheme")
                  > Session Cookie Attributes > type MY_MENU_COOKIE into „Cookie name“ field


                  If application menu is the list item, its query might look like this: it selects all applications available to user logged in as :APP_USER (those user:application pairs are stored in the oper_x_app table). Pay attention to &SESSION. - without it, it won't work:



                  select 
                  null,
                  app_name labelValue,
                  'http://szg01lcp1.data.centar:8084/apex/f?p=' || id_app ||':1:&SESSION.' targetValue,
                  null is_current -- ^^^^^^^^^
                  from applications -- This!
                  where id_app in (select id_app from oper_x_app
                  where username = :APP_USER
                  )
                  order by app_name


                  Now, for all those applications, you have to do the same: navigate to



                  Shared Components 
                  > Authentication Schemes
                  > choose Current scheme (e.g. "Copy of My menu auth. Scheme")
                  > Session Cookie Attributes
                  > type MY_MENU_COOKIE into „Cookie name“ field


                  Go to that application's



                  Navigation menu
                  > Create list entry
                  - name the entry "My apex menu"
                  - target type URL should look like this; &SESSION. is again important!

                  http://your_server:8084/apex/f?p=118:1:&SESSION.
                  ^^^^^^^^^
                  This!


                  That's all; using the "My apex menu" navigation menu entry, you can go to the central place of your applications and switch among them without having to log on all over again.






                  share|improve this answer












                  I don't know SAML, but - as far as SSO in Apex is concerned, here's how to do that. See if it helps.



                  Suppose that there's an application which is used as a "menu" that lets you navigate through different Apex applications. In that menu application, go to



                  Shared Components 
                  > Authentication Schemes
                  > choose Current scheme (e.g. "My menu auth. Scheme")
                  > Session Cookie Attributes > type MY_MENU_COOKIE into „Cookie name“ field


                  If application menu is the list item, its query might look like this: it selects all applications available to user logged in as :APP_USER (those user:application pairs are stored in the oper_x_app table). Pay attention to &SESSION. - without it, it won't work:



                  select 
                  null,
                  app_name labelValue,
                  'http://szg01lcp1.data.centar:8084/apex/f?p=' || id_app ||':1:&SESSION.' targetValue,
                  null is_current -- ^^^^^^^^^
                  from applications -- This!
                  where id_app in (select id_app from oper_x_app
                  where username = :APP_USER
                  )
                  order by app_name


                  Now, for all those applications, you have to do the same: navigate to



                  Shared Components 
                  > Authentication Schemes
                  > choose Current scheme (e.g. "Copy of My menu auth. Scheme")
                  > Session Cookie Attributes
                  > type MY_MENU_COOKIE into „Cookie name“ field


                  Go to that application's



                  Navigation menu
                  > Create list entry
                  - name the entry "My apex menu"
                  - target type URL should look like this; &SESSION. is again important!

                  http://your_server:8084/apex/f?p=118:1:&SESSION.
                  ^^^^^^^^^
                  This!


                  That's all; using the "My apex menu" navigation menu entry, you can go to the central place of your applications and switch among them without having to log on all over again.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 11 at 13:23









                  Littlefoot

                  18.6k61333




                  18.6k61333






















                      up vote
                      0
                      down vote













                      This article should give you some guidance:



                      https://insum.ca/saml2-single-sign-on-with-oracle-application-express/



                      TL;DR



                      1. Use Apache HTTPD as a web proxy for APEX.

                      2. Install and configure the mod_auth_mellon module for the web server.

                      3. Set up the application on the identity management system of choice.

                      4. For the APEX application, use the HTTP Header Authentication Scheme. The HTTP Header variable should have been configured when mod_auth_mellon was installed and set up.

                      HTH.






                      share|improve this answer
























                        up vote
                        0
                        down vote













                        This article should give you some guidance:



                        https://insum.ca/saml2-single-sign-on-with-oracle-application-express/



                        TL;DR



                        1. Use Apache HTTPD as a web proxy for APEX.

                        2. Install and configure the mod_auth_mellon module for the web server.

                        3. Set up the application on the identity management system of choice.

                        4. For the APEX application, use the HTTP Header Authentication Scheme. The HTTP Header variable should have been configured when mod_auth_mellon was installed and set up.

                        HTH.






                        share|improve this answer






















                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          This article should give you some guidance:



                          https://insum.ca/saml2-single-sign-on-with-oracle-application-express/



                          TL;DR



                          1. Use Apache HTTPD as a web proxy for APEX.

                          2. Install and configure the mod_auth_mellon module for the web server.

                          3. Set up the application on the identity management system of choice.

                          4. For the APEX application, use the HTTP Header Authentication Scheme. The HTTP Header variable should have been configured when mod_auth_mellon was installed and set up.

                          HTH.






                          share|improve this answer












                          This article should give you some guidance:



                          https://insum.ca/saml2-single-sign-on-with-oracle-application-express/



                          TL;DR



                          1. Use Apache HTTPD as a web proxy for APEX.

                          2. Install and configure the mod_auth_mellon module for the web server.

                          3. Set up the application on the identity management system of choice.

                          4. For the APEX application, use the HTTP Header Authentication Scheme. The HTTP Header variable should have been configured when mod_auth_mellon was installed and set up.

                          HTH.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 11 at 17:30









                          Adrian P

                          46137




                          46137



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Stack Overflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53247086%2fenable-sso-login-in-oracle-apex%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Top Tejano songwriter Luis Silva dead of heart attack at 64

                              ReactJS Fetched API data displays live - need Data displayed static

                              Evgeni Malkin