|
| 1 | +{ |
| 2 | + "id": "aerie-dev", |
| 3 | + "realm": "aerie-dev", |
| 4 | + "enabled": "true", |
| 5 | + "defaultSignatureAlgorithm": "RS256", |
| 6 | + "clients": [ |
| 7 | + { |
| 8 | + "id": "aerie", |
| 9 | + "clientId": "aerie", |
| 10 | + "enabled": "true", |
| 11 | + "redirectUris": ["*"], |
| 12 | + "publicClient": true, |
| 13 | + "protocol": "openid-connect", |
| 14 | + "standardFlowEnabled": true, |
| 15 | + "attributes": { |
| 16 | + "access.token.lifespan": "600", |
| 17 | + "refresh.token.lifespan": "1800", |
| 18 | + "client.session.idle.timeout": "1800", |
| 19 | + "client.session.max.lifespan": "3600", |
| 20 | + "pkce.code.challenge.method": "S256", |
| 21 | + "token.endpoint.auth.signing.max.exp": "60" |
| 22 | + }, |
| 23 | + "protocolMappers": [ |
| 24 | + { |
| 25 | + "name": "x-hasura-allowed-roles", |
| 26 | + "protocol": "openid-connect", |
| 27 | + "protocolMapper": "oidc-usermodel-client-role-mapper", |
| 28 | + "consentRequired": false, |
| 29 | + "config": { |
| 30 | + "introspection.token.claim": "true", |
| 31 | + "multivalued": "true", |
| 32 | + "userinfo.token.claim": "true", |
| 33 | + "id.token.claim": "true", |
| 34 | + "lightweight.claim": "false", |
| 35 | + "access.token.claim": "true", |
| 36 | + "claim.name": "https://hasura\\.io/jwt/claims.x-hasura-allowed-roles", |
| 37 | + "jsonType.label": "String", |
| 38 | + "usermodel.clientRoleMapping.clientId": "aerie" |
| 39 | + } |
| 40 | + }, |
| 41 | + { |
| 42 | + "name": "x-hasura-user-id", |
| 43 | + "protocol": "openid-connect", |
| 44 | + "protocolMapper": "oidc-usermodel-property-mapper", |
| 45 | + "consentRequired": false, |
| 46 | + "config": { |
| 47 | + "introspection.token.claim": "true", |
| 48 | + "userinfo.token.claim": "true", |
| 49 | + "user.attribute": "id", |
| 50 | + "id.token.claim": "true", |
| 51 | + "lightweight.claim": "false", |
| 52 | + "access.token.claim": "true", |
| 53 | + "claim.name": "https://hasura\\.io/jwt/claims.x-hasura-user-id", |
| 54 | + "jsonType.label": "String" |
| 55 | + } |
| 56 | + }, |
| 57 | + { |
| 58 | + "name": "x-hasura-default-role", |
| 59 | + "protocol": "openid-connect", |
| 60 | + "protocolMapper": "oidc-usermodel-client-role-mapper", |
| 61 | + "consentRequired": false, |
| 62 | + "config": { |
| 63 | + "introspection.token.claim": "true", |
| 64 | + "multivalued": "false", |
| 65 | + "userinfo.token.claim": "true", |
| 66 | + "id.token.claim": "true", |
| 67 | + "lightweight.claim": "false", |
| 68 | + "access.token.claim": "true", |
| 69 | + "claim.name": "https://hasura\\.io/jwt/claims.x-hasura-default-role", |
| 70 | + "jsonType.label": "String", |
| 71 | + "usermodel.clientRoleMapping.clientId": "aerie" |
| 72 | + } |
| 73 | + } |
| 74 | + ] |
| 75 | + } |
| 76 | + ], |
| 77 | + "users": [ |
| 78 | + { |
| 79 | + "username": "AerieAdmin", |
| 80 | + "enabled": "true", |
| 81 | + "email": "AerieAdmin@aerie-dev.gov", |
| 82 | + "firstName": "Admin", |
| 83 | + "lastName": "Aerie", |
| 84 | + "emailVerified": "true", |
| 85 | + "credentials": [ |
| 86 | + { |
| 87 | + "type": "password", |
| 88 | + "value": "password" |
| 89 | + } |
| 90 | + ], |
| 91 | + "clientRoles": { |
| 92 | + "aerie": ["3-viewer", "2-user", "1-aerie_admin"] |
| 93 | + } |
| 94 | + }, |
| 95 | + { |
| 96 | + "username": "AerieUser", |
| 97 | + "enabled": "true", |
| 98 | + "email": "AerieUser@aerie-dev.gov", |
| 99 | + "firstName": "User", |
| 100 | + "lastName": "Aerie", |
| 101 | + "emailVerified": "true", |
| 102 | + "credentials": [ |
| 103 | + { |
| 104 | + "type": "password", |
| 105 | + "value": "password" |
| 106 | + } |
| 107 | + ], |
| 108 | + "clientRoles": { |
| 109 | + "aerie": ["3-viewer", "2-user"] |
| 110 | + } |
| 111 | + }, |
| 112 | + { |
| 113 | + "username": "AerieViewer", |
| 114 | + "enabled": "true", |
| 115 | + "email": "AerieViewer@aerie-dev.gov", |
| 116 | + "firstName": "Viewer", |
| 117 | + "lastName": "Aerie", |
| 118 | + "emailVerified": "true", |
| 119 | + "credentials": [ |
| 120 | + { |
| 121 | + "type": "password", |
| 122 | + "value": "password" |
| 123 | + } |
| 124 | + ], |
| 125 | + "clientRoles": { |
| 126 | + "aerie": ["3-viewer"] |
| 127 | + } |
| 128 | + } |
| 129 | + ] |
| 130 | +} |
0 commit comments