File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff 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 } />
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments