Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleSuccessful JSON response.
Code Block
languagejson
{
    "Clients": [
        {
            "Enabled": true,
            "ClientId": "claimsclient_name",
            "ProtocolType": "oidc",
            "ClientSecrets": [
                {
                    "Value": "K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols=",
                    "Type": "SharedSecret"
                }
            ],
            "RequireClientSecret": true,
            "ClientName": "SurePassID Client",
            "RequireConsent": falsetrue,
            "AllowRememberConsent": falsetrue,
            "AllowedGrantTypes": [
                "authorization_codehybrid"
            ],
            "RequirePkce": false,
            "AllowPlainTextPkce": false,
            "AllowAccessTokensViaBrowser": false,
            "RedirectUris": [
                "https://localhost:44332oidc-client.surepassid.com/signin-oidc"
            ],
            "PostLogoutRedirectUris": [
                "https://localhost:44332/oidc-client.surepassid.com/signout-callback-oidc"
            ],
            "FrontChannelLogoutUriFrontChannelLogoutSessionRequired": "http://localhost:44332/home/logout",true,
             "FrontChannelLogoutSessionRequired": true,
            "BackChannelLogoutSessionRequired": true,
            "AllowOfflineAccess": false,
            "AllowedScopes": [
                "openid",
                "address",
                "email",
                "phone",
                "profile"
            ],
            "AlwaysIncludeUserClaimsInIdToken": true,
            "IdentityTokenLifetime": 300,
            "AccessTokenLifetime": 3600,
            "AuthorizationCodeLifetime": 300,
            "AbsoluteRefreshTokenLifetime": 2592000,
            "SlidingRefreshTokenLifetime": 1296000,
            "RefreshTokenUsage": 1,
            "UpdateAccessTokenClaimsOnRefresh": false,
            "RefreshTokenExpiration": 1,
            "AccessTokenType": 0,
            "EnableLocalLogin": true,
            "IdentityProviderRestrictions": [],
            "IncludeJwtId": false,
            "Claims": [],
            "AlwaysSendClientClaims": true,
            "ClientClaimsPrefix": "client_",
            "DeviceCodeLifetime": 300,
            "AllowedCorsOrigins": [
                "https://localhost:44332"
            ],
            "Properties": {}
        },
        {
            "Enabled": true,
            "ClientId": "client_test",
            "ProtocolType": "oidc",
            "ClientSecrets": [
                {
                    "Value": "n4bQgYhMfWWaL+qgxVrQFaO/TxsrC4Is0V1sFbDwCgg=",
                    "Type": "SharedSecret"
                }
            ],
            "RequireClientSecret": true,
            "ClientName": "BigKahuna",
            "RequireConsent": true,
            "AllowRememberConsent": true,
            "AllowedGrantTypes": [
                "hybrid"
            ],
            "RequirePkce": false,
            "AllowPlainTextPkce": false,
            "AllowAccessTokensViaBrowser": false,
            "RedirectUris": [
                "https://localhost:5000/signin-oidc",
                "https://localhost:5001/signin-oidc",
                "https://oidc-client.surepassid.com/signin-oidc"
            ],
            "PostLogoutRedirectUris": [
                "https://localhost:5000/signout-callback-oidc",
                "https://localhost:5001/signout-callback-oidc",
                "https://oidc-client.surepassid.com/signout-callback-oidc"
            ],
            "FrontChannelLogoutSessionRequired": true,
            "BackChannelLogoutSessionRequired": true,
            "AllowOfflineAccess": false,
            "AllowedScopes": [
                "openid",
                "profile"
            ],
            "AlwaysIncludeUserClaimsInIdToken": true,
            "IdentityTokenLifetime": 300,
            "AccessTokenLifetime": 3600,
            "AuthorizationCodeLifetime": 300,
            "AbsoluteRefreshTokenLifetime": 2592000,
            "SlidingRefreshTokenLifetime": 1296000,
            "RefreshTokenUsage": 1,
            "UpdateAccessTokenClaimsOnRefresh": false,
            "RefreshTokenExpiration": 1,
            "AccessTokenType": 0,
            "EnableLocalLogin": true,
            "IdentityProviderRestrictions": [],
            "IncludeJwtId": false,
            "Claims": [],
            "AlwaysSendClientClaims": false,
            "ClientClaimsPrefix": "client_",
            "DeviceCodeLifetime": 300,
            "AllowedCorsOrigins": [],
            "Properties": {
                "foo": "bar"
            }
        },
        {
            "Enabled": true,
            "ClientId": "Darshan_Client_Test",
            "ProtocolType": "oidc",
            "ClientSecrets": [],
            "RequireClientSecret": false,
            "ClientName": "Darshan_HXG",
            "RequireConsent": false,
            "AllowRememberConsent": true,
            "AllowedGrantTypes": [
                "authorization_code"
            ],
            "RequirePkce": true,
            "AllowPlainTextPkce": false,
            "AllowAccessTokensViaBrowser": false,
            "RedirectUris": [
                "http://localhost:4200",
                "https://caresandbox.test.healthaxis.net"
            ],
            "PostLogoutRedirectUris": [
                "http://localhost:4200",
                "https://caresandbox.test.healthaxis.net"
            ],
            "FrontChannelLogoutSessionRequired": true,
            "BackChannelLogoutSessionRequired": true,
            "AllowOfflineAccess": false,
            "AllowedScopes": [
                "openid",
                "address",
                "email",
                "phone",
   false,
             "profileAllowedScopes",: [
                "api1openid",
                "api2.read_onlyprofile"
            ],
            "AlwaysIncludeUserClaimsInIdToken": true,
            "IdentityTokenLifetime": 300,
            "AccessTokenLifetime": 3600,
            "AuthorizationCodeLifetime": 300,
            "AbsoluteRefreshTokenLifetime": 2592000,
            "SlidingRefreshTokenLifetime": 1296000,
            "RefreshTokenUsage": 1,
            "UpdateAccessTokenClaimsOnRefresh": false,
            "RefreshTokenExpiration": 1,
            "AccessTokenType": 0,
            "EnableLocalLogin": true,
            "IdentityProviderRestrictions": [],
            "IncludeJwtId": false,
            "Claims": [],
            "AlwaysSendClientClaims": truefalse,
            "ClientClaimsPrefix": "client_",
            "DeviceCodeLifetime": 300,
            "AllowedCorsOrigins": [],
                "http://localhost:4200","Properties": {
                "https://caresandbox.test.healthaxis.net"
            ],foo": "bar"
             "Properties": {}
        }
    ],
    "IdentityResources": [
        {
            "Required": false,
            "Emphasize": true,
            "ShowInDiscoveryDocument": true,
            "Enabled": true,
            "Name": "address",
            "DisplayName": "Your postal address",
            "UserClaims": [
                "address"
            ],
            "Properties": {}
        },
        {
            "Required": true,
            "Emphasize": false,
            "ShowInDiscoveryDocument": true,
            "Enabled": true,
            "Name": "email",
            "DisplayName": "email",
            "UserClaims": [
                "email",
                "email_verified"
            ],
            "Properties": {}
        },
        {
            "Required": true,
            "Emphasize": false,
            "ShowInDiscoveryDocument": true,
            "Enabled": true,
            "Name": "name",
            "DisplayName": "name",
            "UserClaims": [
                "name"
            ],
            "Properties": {}
        },
        {
            "Required": true,
            "Emphasize": false,
            "ShowInDiscoveryDocument": true,
            "Enabled": true,
            "Name": "openid",
            "DisplayName": "Your user identifier",
            "UserClaims": [
                "sub"
            ],
            "Properties": {}
        },
        {
            "Required": false,
            "Emphasize": true,
            "ShowInDiscoveryDocument": true,
            "Enabled": true,
            "Name": "phone",
            "DisplayName": "Your phone number",
            "UserClaims": [
                "phone_number",
                "phone_number_verified"
            ],
            "Properties": {}
        },
        {
            "Required": false,
            "Emphasize": true,
            "ShowInDiscoveryDocument": true,
            "Enabled": true,
            "Name": "profile",
            "DisplayName": "User Profile",
            "Description": "Your user profile information (first name, last name, etc.)",
            "UserClaims": [
                "name",
                "family_name",
                "given_name",
                "email"
            ],
            "Properties": {}
        }
    ],
    "ApiResources": [
        {
            "ApiSecrets": [
                {
                    "Value": "K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols=",
                    "Type": "SharedSecret"
                }
            ],
            "Scopes": [],
            "Enabled": true,
            "Name": "api1",
            "DisplayName": "api1",
            "UserClaims": [],
            "Properties": {}
        },
        {
            "ApiSecrets": [
                {
                    "Value": "K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols=",
                    "Type": "SharedSecret"
                }
            ],
            "Scopes": [
                {
                    "Name": "api2.full_access",
                    "DisplayName": "api2.full_access",
                    "Required": false,
                    "Emphasize": false,
                    "ShowInDiscoveryDocument": true,
                    "UserClaims": []
                },
                {
                    "Name": "api2.read_only",
                    "DisplayName": "api2.read_only",
                    "Required": false,
                    "Emphasize": false,
                    "ShowInDiscoveryDocument": true,
                    "UserClaims": []
                },
                {
                    "Name": "api2.internal",
                    "Required": false,
                    "Emphasize": false,
                    "ShowInDiscoveryDocument": false,
                    "UserClaims": [
                        "internal_id"
                    ]
                }
            ],
            "Enabled": true,
            "Name": "api2",
            "DisplayName": "api2",
            "UserClaims": [
                "name",
                "email"
            ],
            "Properties": {}
        }
    ]
}

...