IdentityServer4 Postman 2

How to set up PostMan authentication to an Itendity server 4 Identity server. Have you been trying to test your API with authentication? Are you using Identityserver4?


The following client Will allow you to connect using Postman. Note that the grant type needs to be authorization_code and that you will need a redirectURI of

    "client": {
        "allowOfflineAccess": true,
        "allowedScopes": [
        "logoutUri": null,
        "redirectUris": [
        "enabled": true,
        "clientId": "832afa32-cabe-40a0-8909-2241cd85e47d.Local.apps",
        "clientSecrets": [
        "clientName": "PostMan Login",
        "postLogoutRedirectUris": [
        "clientUri": null,
        "allowedGrantTypes": [
        "allowAccessTokensViaBrowser": true,
        "logoUri": null


Postman settings

In postman on the Authorization tab select type of Oauth 2.0. Then you can set up postman authentication as so.


Using postman to test your API calls is quite easy even if you need authentication in order to access the api endpoint.

About Linda Lawton

My name is Linda Lawton I have more than 20 years experience working as an application developer and a database expert. I have also been working with Google APIs since 2012 and I have been contributing to the Google .Net client library since 2013. In 2013 I became a a Google Developer Experts for Google Analytics.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

2 thoughts on “IdentityServer4 Postman

  • Vincent Nwonah

    Thanks for this Linda! postman loads the identity server login page and authorization is successful, however the postman page just redirects to identity server login page again. Any help please?