<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
0D51Y00009Y1iB9SAJOkta Classic EngineIntegrationsAnswered2024-03-25T06:27:20.000Z2020-09-30T13:28:10.000Z2020-10-06T11:40:32.000Z

SimbaT.48793 (Customer) asked a question.

Okta multi-factor authentication at both Organization and Application level

Hi,

I am trying to setup Okta MFA at both organization and app level for my AWS Application. I have successfully created the Sign On Policy for the AWS App and it is working correctly from Okta Console.

But now I want to add this feature in my Java Project, I tried searching for APIs which can be used to verify MFA at Application level, but I am not able to find any such API. Can you please provide me some details regarding application level mfa and how to do it from Java Project.

As of now I am able to Authenticate with MFA at account level. But when I try to use the same URL(https://<AWS APP URL>?onetimetoken='SessionToken' ) for application level mfa, I am being redirected to the login page again. Can you please help me out in this.

Thanks,

Prateek


  • sandeepk.84743 (Wipro Technologies)

    Hi Prateek.

     

    you can use the policy API for this. Create MFA Enroll Policy & then Create MFA Enroll Rule. I hope that should work.

    • jry3j (jry3j)

      Hi Sandeep,

       

      Thank you for the response, but I am still confused how policy API's will be useful.

       

      I have already created MFA Sign On Policy in my AWS Application from the Okta console. Now when I do MFA at account level only I get the session token with which this URL (https://<AWS APP URL>?onetimetoken='SessionToken') logs me in AWS, but when I try MFA with both account level as well as application level (by creating a sign on policy from okta console) I am redirected to the login page. For this I need some Okta API's to start the application level MFA from my Java Code.

       

      Expand Post
This question is closed.
Loading
Okta multi-factor authentication at both Organization and Application level