web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

OAuth login in background

(0) ShareShare
ReportReport
Posted on by 32
Hi All,
 
I have a question for using OAuth2.0 from business central.
 
so, for this OAuth, it is prompted to login to get the access code before actually getting the token.
do you have any reference on how to silently login, so no pop-up windows needed. So I just need to setup the user and password in the table.
I am following guide/sample from Erik Hougaard https://www.youtube.com/watch?v=sHA8JRyhg4Y
and this is perfectly working fine, really great work.
but I need to skip the login on the pop-up part.
 
 
Thanks
I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at
    Then you have to use a different kind of grant flow. Have you tried a code grant flow_
    And have you looked into using codeunit 501_
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at
  • haryadihart Profile Picture
    32 on at
    Hi Inge,
     
    yes i have looked into Codeunit 501 and the function available does not meet my requirement.
     
    because in this OAuth i want to integrate with need a user login.
     
    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans