okta-auth-js icon indicating copy to clipboard operation
okta-auth-js copied to clipboard

sample: render IDP buttons and support flow in popup

Open aarongranick-okta opened this issue 2 years ago • 1 comments

Using embedded SIW.

https://user-images.githubusercontent.com/47947204/169926486-d6d4294d-97a4-42a9-b242-2f5febc6bb36.mov

Custom code added:

    signIn.on('afterRender', function() {
      document.querySelectorAll('.okta-idps-container .social-auth-button').forEach(function (el) {
        el.onclick = function(event) {
          event.preventDefault();
          openPopup(el.href, {
            popupTitle: el.innerText
          });
        }
      });
    });

Using AuthJS (direct auth, custom form)

https://user-images.githubusercontent.com/47947204/169638350-0b514837-8f28-44e9-8be5-c37ce02d6cf4.mov

aarongranick-okta avatar May 21 '22 06:05 aarongranick-okta

Add workaround for OKTA-509099

https://user-images.githubusercontent.com/47947204/177840087-77c4522a-54b2-40dd-9c86-e0e2d8a87846.mov

aarongranick-okta avatar Jul 07 '22 18:07 aarongranick-okta