73
Views
7
Comments
Solved
[Discovery] Discovery API Authentication
discovery
Web icon
Forge asset by Architecture Team
Application Type
Traditional Web

Hi everyone,

I'm trying to use the Discovery API from Discovery application (from Outsystems Forge) but I can't figure out how to authenticate to send the requests.

It seems to expect a an Authorization header containing a Token, but I couldn't find the way to get this token.

Does any one know to get that token?

Any help would be welcome.

Thank you all and best regards!

2017-12-12 15-22-01
Rui Madaleno
Staff
Solution

Hi ! The authentication token to use the Discovery API can be retrieved via Configuration - General Configurations screens on Discovery tool.


2023-10-06 11-44-47
Andre Valadares da Silva

Thank you Rui, i'm gonna try it and report the result


Regards,

Valadares

2022-07-11 14-05-36
Jeroen Barnhoorn
Solution

If you go to the Configurations page of the Discovery app (/Discovery/Configurations.aspx), you'll find a red button at the bottom of the page that says "Discovery API Key". When you click it you can generate a new token.

(Note: you'll need a user with the Configurator (DiscoveryProbe) role to access this screen).

2023-10-06 11-44-47
Andre Valadares da Silva

Thanks @Jeroen Barnhoorn i'm gonna try ir and report back here with results.


Best regards,

Valadares

2024-01-18 12-42-28
Bogdan Boglea

Hey,

In the Discovery_API service module there should be some Postman collections that you could use. Maybe that helps you.


Regards,

Bogdan

2023-10-06 11-44-47
Andre Valadares da Silva

Thank you for your reply @Bogdan Boglea, i'll check it


Regards,

Valadares

2017-12-12 15-22-01
Rui Madaleno
Staff
Solution

Hi ! The authentication token to use the Discovery API can be retrieved via Configuration - General Configurations screens on Discovery tool.


2023-10-06 11-44-47
Andre Valadares da Silva

Thank you Rui, i'm gonna try it and report the result


Regards,

Valadares

2022-07-11 14-05-36
Jeroen Barnhoorn
Solution

If you go to the Configurations page of the Discovery app (/Discovery/Configurations.aspx), you'll find a red button at the bottom of the page that says "Discovery API Key". When you click it you can generate a new token.

(Note: you'll need a user with the Configurator (DiscoveryProbe) role to access this screen).

2023-10-06 11-44-47
Andre Valadares da Silva

Thanks @Jeroen Barnhoorn i'm gonna try ir and report back here with results.


Best regards,

Valadares

2023-10-06 11-44-47
Andre Valadares da Silva

Hey folks,

just to clarify that i marked two answers as solutions, beeing the post from @Jeroen Barnhoorn the most effective because of the note about the necessary role to be able to configure Discovery.

Either way, thanks to all of you that took some time to help me with this.


Best regards

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.