# \[EHRBase\] Postman collection for JWT issuing on EHRBase

**URL:** <https://discourse.openehr.org/t/ehrbase-postman-collection-for-jwt-issuing-on-ehrbase/2789>\
**Category:** Platform\
**Tags:** rest-apis, ehrbase\
**Created:** [30 June 2022 05:17 UTC](https://discourse.openehr.org/t/ehrbase-postman-collection-for-jwt-issuing-on-ehrbase/2789 "2022-06-30T05:17:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![timo](https://discourse.openehr.org/user_avatar/discourse.openehr.org/timo/32/2041_2.png) [@timo](https://discourse.openehr.org/u/timo)\
**Post date:** [30 June 2022 05:17 UTC](https://discourse.openehr.org/t/ehrbase-postman-collection-for-jwt-issuing-on-ehrbase/2789/1 "2022-06-30T05:17:05Z")

</div>

Hi all,

Would anyone mind sharing a small Postman collection to demonstrate the calls to acquire an EHRBase JWT token, showing the request body for either Admin or User, and target URL, please?

Regarding the target URL, I am using [http://localhost:8081/auth/realms/ehrbase](http://localhost:8081/auth/realms/ehrbase), though I see KeyCloak mentioned throughout the documentation: “SPRING\_SECURITY\_OAUTH2\_RESOURCESERVER\_JWT\_ISSUERURI=https://keycloak.PROJECT.  
com/auth/realms/ctr”

What would typically be the considerations when choosing the former or latter URL?

Thanks in advance for your help.

Regards,

Timo.
