# Enabling Postman testing of my apps APIs

**URL:** <https://devforum.okta.com/t/enabling-postman-testing-of-my-apps-apis/880>\
**Category:** Questions\
**Created:** [December 9, 2017, 8:04am UTC](https://devforum.okta.com/t/enabling-postman-testing-of-my-apps-apis/880 "2017-12-09T08:04:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ribeye](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@Ribeye](https://devforum.okta.com/u/Ribeye)\
**Post date:** [December 9, 2017, 8:04am UTC](https://devforum.okta.com/t/enabling-postman-testing-of-my-apps-apis/880/1 "2017-12-09T08:04:20Z")

</div>

I am using Okta with my JHipster app.

Now I want to use Postman to test the APIs of the app.

Of course the Postman responses look like login pages for Okta.

I cant find any documentation on how to setup Postman so it is authenticated with Okta.

Can someone give me a steer?

---

<div class="post-metadata">

**Author:** ![mraible](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/mraible/32/37_2.png) [@mraible](https://devforum.okta.com/u/mraible)\
**Post date:** [December 9, 2017, 7:37pm UTC](https://devforum.okta.com/t/enabling-postman-testing-of-my-apps-apis/880/2 "2017-12-09T19:37:27Z")

</div>

What are you trying to accomplish?

Just so you know how things work, when you hit localhost:8080/login it redirects to Okta’s authorization endpoint. If you’re not logged in, it prompts you to log in, then redirects you back to the app with an authorization code. This is sent back to Okta by Spring Security to the token endpoint to get an access token. This is then set as a cookie.

If you want to get an access token and then talk to your JHipster API, you might have to configure things differently on your server, for example using @EnableResourceServer instead of @EnableOAuthSso.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [January 12, 2024, 8:04pm UTC](https://devforum.okta.com/t/enabling-postman-testing-of-my-apps-apis/880/3 "2024-01-12T20:04:30Z")

</div>

Closed on January 12, 2024, 8:04pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
