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!
Hi ! The authentication token to use the Discovery API can be retrieved via Configuration - General Configurations screens on Discovery tool.
Thank you Rui, i'm gonna try it and report the result
Regards,
Valadares
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).
Thanks @Jeroen Barnhoorn i'm gonna try ir and report back here with results.
Best regards,
Hey,
In the Discovery_API service module there should be some Postman collections that you could use. Maybe that helps you.
Bogdan
Thank you for your reply @Bogdan Boglea, i'll check it
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