@@ -367,180 +367,174 @@ export const enUS: LocalizationResource = {
367367 } ,
368368 } ,
369369 samlOkta : {
370- headerTitle : 'Configure Okta Workforce' ,
371- attributeMapping : {
372- columns : {
373- name : 'Name' ,
374- value : 'Value ' ,
375- } ,
376- rows : {
377- email : { name : 'mail' , value : 'user.profile.mail' } ,
378- firstName : { name : 'firstName' , value : 'user.profile.firstName' } ,
379- lastName : { name : 'lastName' , value : 'user.profile.lastName' } ,
370+ mainHeaderTitle : 'Configure Okta Workforce' ,
371+ createAppStep : {
372+ headerSubtitle : 'Create a new enterprise application in your Okta Dashboard' ,
373+ createAppInstructions : {
374+ title : 'Create a new enterprise application in Okta ' ,
375+ step1 : 'Sign in to Okta and go to <bold>Admin → Applications.</bold>' ,
376+ step2 : 'Click <bold>Create App Integration.</bold>' ,
377+ step3 : 'Select <bold>SAML 2.0.</bold>' ,
378+ step4 : 'Fill in the General Settings (App name is required).' ,
379+ step5 : 'Click <bold>Next</bold> to complete creating the application.' ,
380380 } ,
381- } ,
382- spFields : {
383- acsUrl : {
384- label : 'Single sign-on URL' ,
381+ serviceProviderInstructions : {
382+ title : 'Configure service provider' ,
383+ paragraph1 :
384+ 'Once you have moved forward from the General Settings instructions, you will be presented with the Configure SAML page.' ,
385+ paragraph2 :
386+ 'To configure your service provider (Clerk), you must add these two fields to your Okta application:' ,
387+ serviceProviderFields : {
388+ acsUrl : {
389+ label : 'Single sign-on URL' ,
390+ } ,
391+ spEntityId : {
392+ label : 'Audience URI (SP Entity ID)' ,
393+ } ,
394+ } ,
385395 } ,
386- spEntityId : {
387- label : 'Audience URI (SP Entity ID)' ,
396+ completeSamlIntegrationInstructions : {
397+ title : 'Complete SAML integration' ,
398+ step1 : 'Select <bold>This is an internal app that we have created</bold> from the options menu.' ,
399+ step2 : 'Complete the form with any comments and select <bold>"Finish"</bold>.' ,
388400 } ,
389401 } ,
390- createApp : {
391- headerSubtitle : 'Create a new enterprise application in your Okta Dashboard' ,
392- title : 'Create a new enterprise application in Okta' ,
393- step1 : 'Sign in to Okta and go to <bold>Admin → Applications.</bold>' ,
394- step2 : 'Click <bold>Create App Integration.</bold>' ,
395- step3 : 'Select <bold>SAML 2.0.</bold>' ,
396- step4 : 'Fill in the General Settings (App name is required).' ,
397- step5 : 'Click <bold>Next</bold> to complete creating the application.' ,
398- } ,
399- serviceProvider : {
400- title : 'Configure service provider' ,
401- paragraph1 :
402- 'Once you have moved forward from the General Settings instructions, you will be presented with the Configure SAML page.' ,
403- paragraph2 :
404- 'To configure your service provider (Clerk), you must add these two fields to your Okta application:' ,
405- } ,
406- completeSamlIntegration : {
407- title : 'Complete SAML integration' ,
408- step1 : 'Select <bold>This is an internal app</bold> that we have created from the options menu.' ,
409- step2 : 'Complete the form with any comments and select <bold>Finish</bold>.' ,
410- } ,
411- configureAttributes : {
402+ attributeMappingStep : {
403+ // TODO - Not mention Clerk
412404 headerSubtitle : 'Map user attributes from Okta to Clerk' ,
405+ paragraph : 'We expect your SAML responses to have the following specific attributes:' ,
413406 step1 :
414407 'Open the <bold>Sign On</bold> tab of your Okta application and locate the <bold>Attribute Statements</bold> section. If you don’t see it, click <bold>Show legacy configuration</bold>, then <bold>Edit</bold>.' ,
415408 step2 : 'Select <bold>Add Expression</bold> for each row below, then enter the matching name and value:' ,
416- pairs : {
417- conjunction : ' and ' ,
418- email : {
419- name : 'mail' ,
420- expression : 'user.profile.mail' ,
421- } ,
422- firstName : {
423- name : 'firstName' ,
424- expression : 'user.profile.firstName' ,
409+ attributeMappingTable : {
410+ columns : {
411+ name : 'Name' ,
412+ expression : 'Expression' ,
425413 } ,
426- lastName : {
427- name : 'lastName' ,
428- expression : 'user.profile.lastName' ,
414+ rows : {
415+ email : { name : 'mail' , expression : 'user.mail' } ,
416+ firstName : { name : 'firstName' , expression : 'user.firstName' } ,
417+ lastName : { name : 'lastName' , expression : 'user.lastName' } ,
429418 } ,
430419 } ,
431420 } ,
432- assignUsers : {
421+ assignUsersStep : {
433422 headerSubtitle : 'Assign users to the enterprise app' ,
434- title : 'Assign selected user or group in Okta' ,
435- paragraph : 'You need to assign users or groups to your enterprise app before they can use it to sign in.' ,
436- step1 : 'In the Okta dashboard, select the <bold>Assignments</bold> tab.' ,
437- step2 :
438- 'Select the <bold>Assign</bold> dropdown. You can either select <bold>Assign to people</bold> or <bold>Assign to groups</bold>.' ,
439- step3 : 'In the search field, enter the user or group of users that you want to assign to the application.' ,
440- step4 : 'Select the <bold>Assign</bold> button next to the user or group that you want to assign.' ,
441- step5 : 'Select the <bold>Done</bold> button to complete the assignment.' ,
423+ assignUsersInstructions : {
424+ title : 'Assign selected user or group in Okta' ,
425+ paragraph : 'You need to assign users or groups to your enterprise app before they can use it to sign in.' ,
426+ step1 : 'In the Okta dashboard, select the <bold>Assignments</bold> tab.' ,
427+ step2 :
428+ 'Select the <bold>Assign</bold> dropdown. You can either select <bold>Assign to people</bold> or <bold>Assign to groups</bold>.' ,
429+ step3 : 'In the search field, enter the user or group of users that you want to assign to the application.' ,
430+ step4 : 'Select the <bold>Assign</bold> button next to the user or group that you want to assign.' ,
431+ step5 : 'Select the <bold>Done</bold> button to complete the assignment.' ,
432+ } ,
442433 } ,
443- metadataUrl : {
434+ identityProviderMetadataStep : {
444435 headerSubtitle : 'Configure identity provider metadata' ,
445- label : 'Metadata URL' ,
446- placeholder : 'Paste URL here...' ,
447- description : 'In your Okta SAML app, go to the Sign On tab and retrieve the metadata URL. Paste it below.' ,
448- } ,
449- modes : {
450- ariaLabel : 'Configuration mode' ,
451- metadataUrl : 'Add via metadata' ,
452- manual : 'Configure manually' ,
453- } ,
454- submitSamlConfig : {
455- title : 'Fill in your Okta SAML application details' ,
456- } ,
457- manual : {
458- description : 'In your Okta SAML app, go to the Sign On tab and retrieve these values.' ,
459- signOnUrl : {
460- label : 'Sign on URL' ,
461- placeholder : 'Paste URL here...' ,
436+ label : '' ,
437+ placeholder : '' ,
438+ description : '' ,
439+ modes : {
440+ title : 'Fill in your Okta SAML application details' ,
441+ ariaLabel : 'Configuration ' ,
442+ metadataUrl : 'Add via metadata' ,
443+ manual : 'Configure manually' ,
462444 } ,
463- issuer : {
464- label : 'Issuer ' ,
445+ metadataUrl : {
446+ label : 'Metadata URL ' ,
465447 placeholder : 'Paste URL here...' ,
448+ description : 'In your Okta SAML app, go to the Sign On tab and retrieve the metadata URL. Paste it below.' ,
466449 } ,
467- signingCertificate : {
468- label : 'Signing certificate' ,
469- uploadFile : 'Upload file' ,
470- replaceFile : 'Replace file' ,
471- removeFile : 'Remove file' ,
472- fileUploaded : 'File uploaded' ,
450+ manual : {
451+ description : 'In your Okta SAML app, go to the Sign On tab and retrieve these values.' ,
452+ signOnUrl : {
453+ label : 'Single Sign-On URL' ,
454+ placeholder : 'Paste URL here...' ,
455+ } ,
456+ issuer : {
457+ label : 'Issuer' ,
458+ placeholder : 'Paste URL here...' ,
459+ } ,
460+ signingCertificate : {
461+ label : 'X.509 certificate' ,
462+ uploadFile : 'Upload file' ,
463+ replaceFile : 'Replace file' ,
464+ removeFile : 'Remove file' ,
465+ fileUploaded : 'File uploaded' ,
466+ } ,
473467 } ,
474468 } ,
475469 } ,
476470 samlCustom : {
477- headerTitle : 'Configure your identity provider (IdP)' ,
478- attributeMapping : {
479- columns : {
480- userProfile : 'Identity Provider User Profile' ,
481- attributeName : 'Attribute Name' ,
471+ mainHeaderTitle : 'Configure your identity provider (IdP)' ,
472+ createAppStep : {
473+ headerSubtitle : 'Create a new enterprise application in your identity provider’s admin dashboard' ,
474+ createAppInstructions : {
475+ title : 'Create a SAML application on your identity provider' ,
476+ paragraph :
477+ 'In your identity provider’s admin dashboard, create a new SAML 2.0 application and use the following service provider details:' ,
482478 } ,
483- rows : {
484- id : { userProfile : 'Unique identifier representing a user' , attributeName : 'id' } ,
485- email : { userProfile : 'User’s email address' , attributeName : 'email' } ,
486- firstName : { userProfile : 'User’s first name' , attributeName : 'firstName' } ,
487- lastName : { userProfile : 'User’s last name' , attributeName : 'lastName' } ,
479+ serviceProviderFields : {
480+ acsUrl : {
481+ label : 'Assertion consumer service (ACS) URL' ,
482+ } ,
483+ spEntityId : {
484+ label : 'Service provider entity ID' ,
485+ } ,
488486 } ,
489487 } ,
490- spFields : {
491- acsUrl : {
492- label : 'Assertion consumer service (ACS) URL' ,
493- } ,
494- spEntityId : {
495- label : 'Service provider entity ID' ,
488+ attributeMappingStep : {
489+ // TODO - Implement header subtitle copy
490+ headerSubtitle : 'Map user attributes from your identity provider.' ,
491+ attributeMappingTable : {
492+ columns : {
493+ userProfile : 'Identity Provider User Profile' ,
494+ attributeName : 'Attribute Name' ,
495+ } ,
496+ rows : {
497+ email : { userProfile : 'User’s email address' , attributeName : 'email' } ,
498+ firstName : { userProfile : 'User’s first name' , attributeName : 'firstName' } ,
499+ lastName : { userProfile : 'User’s last name' , attributeName : 'lastName' } ,
500+ } ,
496501 } ,
497502 } ,
498- createApp : {
499- headerSubtitle :
500- 'Register Clerk as a service provider in your IdP, then add your identity provider configuration.' ,
501- title : 'Create a SAML application on your identity provider' ,
502- subtitle :
503- 'In your identity provider’s admin dashboard, create a new SAML 2.0 application and use the following service provider details:' ,
504- } ,
505- configureAttributes : {
506- headerSubtitle : 'Map user attributes from your identity provider to Clerk.' ,
507- title : 'We expect your SAML responses to have the following specific attributes:' ,
508- } ,
509- assignUsers : {
503+ assignUsersStep : {
510504 headerSubtitle : 'Assign users to the enterprise app' ,
511505 title : 'Assign selected user or group' ,
512506 paragraph : 'You need to assign users or groups to your enterprise app before they can use it to sign in.' ,
513507 } ,
514- metadataUrl : {
508+ identityProviderMetadataStep : {
515509 headerSubtitle : 'Configure identity provider metadata' ,
516- label : 'Metadata URL' ,
517- placeholder : 'Paste URL here...' ,
518- description : 'In your enterprise app, retrieve the metadata URL. Paste it below.' ,
519- } ,
520- modes : {
521- ariaLabel : 'Configuration mode' ,
522- metadataUrl : 'Add via metadata' ,
523- manual : 'Configure manually' ,
524- } ,
525- submitSamlConfig : {
526- title : 'Fill in your SAML application details' ,
527- } ,
528- manual : {
529- description : 'In your SAML app, retrieve these values.' ,
530- signOnUrl : {
531- label : 'Sign on URL' ,
532- placeholder : 'Paste URL here...' ,
510+ modes : {
511+ title : 'Fill in your SAML application details' ,
512+ ariaLabel : 'Configuration ' ,
513+ metadataUrl : 'Add via metadata' ,
514+ manual : 'Configure manually' ,
533515 } ,
534- issuer : {
535- label : 'Issuer ' ,
516+ metadataUrl : {
517+ label : 'Metadata URL ' ,
536518 placeholder : 'Paste URL here...' ,
519+ description : 'In your enterprise app, retrieve the metadata URL. Paste it below.' ,
537520 } ,
538- signingCertificate : {
539- label : 'Signing certificate' ,
540- uploadFile : 'Upload file' ,
541- replaceFile : 'Replace file' ,
542- removeFile : 'Remove file' ,
543- fileUploaded : 'File uploaded' ,
521+ manual : {
522+ description : 'In your SAML app, retrieve these values.' ,
523+ signOnUrl : {
524+ label : 'Single Sign-On URL' ,
525+ placeholder : 'Paste URL here...' ,
526+ } ,
527+ issuer : {
528+ label : 'Issuer' ,
529+ placeholder : 'Paste URL here...' ,
530+ } ,
531+ signingCertificate : {
532+ label : 'X.509 certificate' ,
533+ uploadFile : 'Upload file' ,
534+ replaceFile : 'Replace file' ,
535+ removeFile : 'Remove file' ,
536+ fileUploaded : 'File uploaded' ,
537+ } ,
544538 } ,
545539 } ,
546540 } ,
0 commit comments