Skip to content

Commit af34dfa

Browse files
committed
put oxide-scim- back in. see oxidecomputer/omicron#9301
1 parent 3177244 commit af34dfa

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

app/pages/system/silos/SiloScimTab.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -244,12 +244,7 @@ function TokenCreatedModal({
244244
<div className="text-sans-md text-raise mb-2">Bearer Token</div>
245245
<div className="text-sans-md text-raise bg-default border-default flex items-stretch rounded border">
246246
<div className="flex-1 overflow-hidden px-3 py-2.75 text-ellipsis">
247-
{/*
248-
* TODO: looks like the API does not include oxide-scim- in the
249-
* bearerToken field, but I think it should, so make sure to check
250-
* this pending the outcome of that discussion
251-
*/}
252-
oxide-scim-{token.bearerToken}
247+
{token.bearerToken}
253248
</div>
254249
<div className="border-default flex w-8 items-center justify-center border-l">
255250
<CopyToClipboard text={token.bearerToken} />

mock-api/msw/handlers.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,11 +1907,7 @@ export const handlers = makeHandlers({
19071907

19081908
const newToken: Json<Api.ScimClientBearerTokenValue> = {
19091909
id: uuid(),
1910-
// TODO: looks like the API does not include oxide-scim- in the token,
1911-
// but I think it should, so make sure to check this pending the outcome
1912-
// of that discussion
1913-
// https://github.com/oxidecomputer/omicron/blob/9617f40a/nexus/tests/integration_tests/scim.rs?plain=1#L449
1914-
bearer_token: hexString,
1910+
bearer_token: `oxide-scim-${hexString}`,
19151911
time_created: new Date().toISOString(),
19161912
}
19171913

0 commit comments

Comments
 (0)