Hi everyone,
I’m looking for a way to integrate swagger and okta, by this I mean I would like to allow the user to authenticate in swagger and get an acces token to be used for testing.
Our current configuration consists of:
An SPA application configuren in Okta
A React client secured using Okta’s SDK
An ASP.NET core API secured with OKTA and documented with Swagger UI
So far I could’t find a way or a resource explaining how to integrate swagger and OKTA in order to get an access token just like the react application does to consume the API, I also tried to get a token using postman following this link https://developer.okta.com/docs/guides/implement-oauth-for-okta/request-access-token
but the access token obtained is incomplete (lacks of profile information needed to execute the endpoints).
Does anybody knows how to accomplish this?