<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
0D54z00009uKwBzCAKOkta Classic EngineAuthenticationAnswered2024-01-08T23:01:58.000Z2024-01-02T15:00:45.000Z2024-01-08T23:01:55.000Z

KiranN.77696 (Customer) asked a question.

What is the best approach for okta authentication with Next.js?

I am trying to implement authentication on a Next.js app and browsing online I can see lot of them has suggested Auth.js (https://authjs.dev/) but the problem I have is I want to use Okta signin widget along with Auth.js and none of the online repository/article has used Auth.js along with Okta signin widget.

 

What is the best approach here? Can I use Auth.js along with Okta sign in widget or just using Okta sign in widget is enough to implement authentication on Nextjs?


  • Mihai N. (Okta, Inc.)

    Hi @KiranN.77696 (Customer)​ , Thank you for reaching out to the Okta Community! 

     

     This question is more appropriate for our dedicated Okta Developer Forum.

    My advice would be to reach out devforum.okta.com to take advantage of their expertise.  

    While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-developer work). 

     

     

     

    Regards,

    --------------------------------

    Earn Today: New Okta Community Badges Have Arrived

    Expand Post
This question is closed.
Loading
What is the best approach for okta authentication with Next.js?