Skip to content

Commit

Permalink
Merge pull request #970 from govuk-one-login/ATO-1237/update-consumer…
Browse files Browse the repository at this point in the history
…-tests

Ato 1237/update consumer tests
  • Loading branch information
isaac-GDS authored Jan 15, 2025
2 parents 9099766 + b3b8f34 commit c1ea3aa
Show file tree
Hide file tree
Showing 9 changed files with 5,933 additions and 293 deletions.
2 changes: 1 addition & 1 deletion backend/api/src/handlers/auth/register-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type RegisterClientPayload = {
contactEmail: string;
};

const public_key =
export const public_key =
"MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAp2mLkQGo24Kz1rut0oZlviMkGomlQCH+iT1pFvegZFXq39NPjRWyatmXp/XIUPqCq9Kk8/+tq4Sgjw+EM5tATJ06j5r+35of58ATGVPniW//IhGizrv6/ebGcGEUJ0Y/ZmlCHYPV+lbewpttQ/IYKM1nr3k/Rl6qepbVYe+MpGubluQvdhgUYel9OzxiOvUk7XI0axPquiXzoEgmNNOai8+WhYTkBqE3/OucAv+XwXdnx4XHmKzMwTv93dYMpUmvTxWcSeEJ/4/SrbiK4PyHWVKU2BozfSUejVNhahAzZeyyDwhYJmhBaZi/3eOOlqGXj9UdkOXbl3vcwBH8wD30O9/4F5ERLKxzOaMnKZ+RpnygWF0qFhf+UeFMy+O06sdgiaFnXaSCsIy/SohspkKiLjNnhvrDNmPLMQbQKQlJdcp6zUzI7Gzys7luEmOxyMpA32lDBQcjL7KNwM15s4ytfrJ46XEPZUXESce2gj6NazcPPsrTa/Q2+oLS9GWupGh7AgMBAAE=";

// Handler is invoked by step function not API Gateway
Expand Down
11 changes: 11 additions & 0 deletions backend/api/src/handlers/types/client-config-request.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export type clientConfigRequest = {
client_name: string;
public_key: string;
redirect_uris: string[];
contacts: string[];
scopes: string[];
subject_type: string;
service_type: string;
sector_identifier_uri: string;
client_locs: string[];
};
23 changes: 23 additions & 0 deletions backend/api/src/handlers/types/client-registry-response.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
export type clientRegistryResponse = {
client_name: string;
public_key: string;
public_key_source: null | string;
redirect_uris: string[];
contacts: string[];
scopes: string[];
subject_type: string;
service_type: string;
sector_identifier_uri: string;
client_id: string;
post_logout_redirect_uris: string[];
back_channel_logout_uri: null | string;
token_endpoint_auth_method: string;
response_type: string;
jar_validation_required: boolean;
claims: string[];
client_type: string;
id_token_signing_algorithm: "ES256" | "RS256";
jwks_uri: null | string;
channel: null | string;
max_age_enabled: boolean;
};
Loading

0 comments on commit c1ea3aa

Please sign in to comment.