Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

OAuth 2.0 Setup page

Posted on by 82

Hello everyone,

I am trying to configure the OAuth 2.0 Setup table (1140) to use the related OAuth 2.0 codeunit (1140). I can see in the object designer that there is a page for the configurations, OAuth 2.0. Setup (1140). 

The problem is that I cannot figure out how to configure the settings on the table since the related page is not accessible when I search for it in BC. Even if I could find it, I still would not be able to insert an configurations since it is InsertAllowed = false and it does not have to usual insert logic in the OnOpen trigger.

Does anyone know on how to set configurations to the OAuth 2.0 Setup table? Thanks for any help.

Categories:
  • Pimp Your BC Profile Picture
    Pimp Your BC 82 on at
    RE: OAuth 2.0 Setup page

    Thanks for the reply Sebastian. Yeah I realized the limitations of it but thought that I was misunderstanding something. I ended up using an example in the Microsoft github:

    github.com/.../

  • Suggested answer
    srttel Profile Picture
    srttel on at
    RE: OAuth 2.0 Setup page

    This OAuth is not really a one fits all approach and it depends on what you want to archive.

    There are several examples like OAuth and Web Service

    docs.microsoft.com/.../authenticate-web-services-using-oauth

    Or Using Service-to-Service (S2S) Authentication

    docs.microsoft.com/.../automation-apis-using-s2s-authentication

    A bunch of good examples can be found on this repository:

    github.com/.../PSOAuthBCAccess

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,537 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,520 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans