[{"data":1,"prerenderedAt":637},["ShallowReactive",2],{"\u002Fdocs\u002Fsso\u002Fokta":3},{"id":4,"title":5,"body":6,"description":629,"extension":630,"meta":631,"navigation":632,"path":633,"seo":634,"stem":635,"__hash__":636},"docs\u002Fdocs\u002Fsso\u002Fokta.md","Set up single sign-on with Okta",{"type":7,"value":8,"toc":615},"minimark",[9,13,21,26,29,57,63,67,88,91,95,231,249,253,260,310,324,331,335,345,385,388,392,395,431,434,438,455,460,464,494,502,506,509,537,544,548,560,575,581,590,596,602],[10,11,12],"p",{},"When single sign-on (SSO) is on, people on your company's email domain sign in to SafeRewind through Okta, the same way they sign in to your other work apps. The first time someone signs in this way, they join your SafeRewind organisation automatically.",[10,14,15,16,20],{},"Setup takes about 15 minutes. You switch between two tabs: SafeRewind's ",[17,18,19],"strong",{},"Single sign-on"," page and the Okta Admin Console.",[22,23,25],"h2",{"id":24},"before-you-start","Before you start",[10,27,28],{},"You need:",[30,31,32,40,51,54],"ul",{},[33,34,35,36,39],"li",{},"A SafeRewind organisation on the ",[17,37,38],{},"Business"," plan.",[33,41,42,43,46,47,50],{},"The ",[17,44,45],{},"owner"," or ",[17,48,49],{},"admin"," role in that organisation.",[33,52,53],{},"Okta admin access that lets you create app integrations (for example, the Super Administrator or Application Administrator role).",[33,55,56],{},"Access to your company domain's DNS settings, or someone who has it. You add one TXT record to prove you own the domain.",[58,59,60],"note",{},[10,61,62],{},"SafeRewind connects to Okta with OpenID Connect (OIDC). SAML isn't supported yet.",[22,64,66],{"id":65},"_1-copy-the-redirect-uri-from-saferewind","1. Copy the redirect URI from SafeRewind",[68,69,70,76],"ol",{},[33,71,72,73,75],{},"In SafeRewind, open ",[17,74,19],{}," in the sidebar.",[33,77,78,79,82,83,87],{},"Under ",[17,80,81],{},"1. Create an app",", copy the redirect URI. It ends in ",[84,85,86],"code",{},"\u002Fsso\u002Fcallback\u002Fsso-"," followed by your organisation's ID.",[10,89,90],{},"Okta sends people back to this address after they sign in. It's unique to your organisation, so copy it from the page rather than typing it.",[22,92,94],{"id":93},"_2-create-the-app-in-okta","2. Create the app in Okta",[68,96,97,108,118,128,140,206,226],{},[33,98,99,100,103,104,107],{},"In the Okta Admin Console, go to ",[17,101,102],{},"Applications → Applications",". Newer consoles call the menu ",[17,105,106],{},"Applications and Resources → Applications",".",[33,109,110,111,114,115,107],{},"Click ",[17,112,113],{},"Create App Integration",". If Okta asks which experience to use, choose ",[17,116,117],{},"Classic experience",[33,119,120,121,124,125,107],{},"For ",[17,122,123],{},"Sign-in method",", choose ",[17,126,127],{},"OIDC - OpenID Connect",[33,129,120,130,124,133,136,137,107],{},[17,131,132],{},"Application type",[17,134,135],{},"Web Application",", then click ",[17,138,139],{},"Next",[33,141,142,143,146,147],{},"Fill in ",[17,144,145],{},"General Settings",":\n",[30,148,149,158,168,178,188,194,200],{},[33,150,151,154,155,107],{},[17,152,153],{},"App integration name",": ",[84,156,157],{},"SafeRewind",[33,159,160,163,164,167],{},[17,161,162],{},"Client definition",", if shown: choose ",[17,165,166],{},"Use Okta-generated client ID",". SafeRewind doesn't support a Client ID Metadata Document (CIMD). The rest of the form appears once you choose.",[33,169,170,173,174,177],{},[17,171,172],{},"Proof of possession",", if shown: leave ",[17,175,176],{},"Require Demonstrating Proof of Possession (DPoP) header in token requests"," unticked. SafeRewind doesn't send DPoP headers, so sign-in would fail.",[33,179,180,183,184,187],{},[17,181,182],{},"Grant type",": leave ",[17,185,186],{},"Authorization Code"," selected. You don't need any other grant type.",[33,189,190,193],{},[17,191,192],{},"Sign-in redirect URIs",": remove the example address and paste the redirect URI you copied from SafeRewind.",[33,195,196,199],{},[17,197,198],{},"Sign-out redirect URIs",": remove the example address and leave the field empty.",[33,201,202,205],{},[17,203,204],{},"Trusted Origins",": leave empty.",[33,207,78,208,211,212],{},[17,209,210],{},"Assignments",", choose who can use SafeRewind:\n",[30,213,214,220],{},[33,215,216,219],{},[17,217,218],{},"Limit access to selected groups"," (recommended): pick the groups that should have SafeRewind, such as engineering and QA.",[33,221,222,225],{},[17,223,224],{},"Allow everyone in your organization to access",": anyone in your Okta org can sign in.",[33,227,110,228,107],{},[17,229,230],{},"Save",[232,233,234],"tip",{},[10,235,236,237,240,241,244,245,248],{},"You don't need to set up scopes. SafeRewind asks for ",[84,238,239],{},"openid",", ",[84,242,243],{},"email"," and ",[84,246,247],{},"profile",", and Okta grants them to every OIDC app by default.",[22,250,252],{"id":251},"_3-copy-the-client-id-client-secret-and-issuer-url","3. Copy the client ID, client secret and issuer URL",[10,254,255,256,259],{},"The app's ",[17,257,258],{},"General"," tab opens after you save.",[68,261,262,280,286,292],{},[33,263,78,264,267,268,271,272,275,276,279],{},[17,265,266],{},"Client Credentials",", check that ",[17,269,270],{},"Client authentication"," is set to ",[17,273,274],{},"Client secret",". SafeRewind doesn't support the ",[17,277,278],{},"Public key \u002F Private key"," option.",[33,281,282,283,107],{},"Copy the ",[17,284,285],{},"Client ID",[33,287,78,288,291],{},[17,289,290],{},"CLIENT SECRETS",", copy the secret. Keep it somewhere safe until you've pasted it into SafeRewind.",[33,293,294,295,298,299,302,303,306,307,107],{},"Find your ",[17,296,297],{},"Okta domain",": click your name in the top-right corner of the Admin Console. The domain is shown under your username, for example ",[84,300,301],{},"acme.okta.com",". Your issuer URL is that domain with ",[84,304,305],{},"https:\u002F\u002F"," in front: ",[84,308,309],{},"https:\u002F\u002Facme.okta.com",[311,312,313],"warning",{},[10,314,315,316,319,320,323],{},"Don't copy the address from your browser's address bar. The Admin Console runs on ",[84,317,318],{},"acme-admin.okta.com",", and that ",[84,321,322],{},"-admin"," address won't work as the issuer URL.",[10,325,326,327,330],{},"If your company signs in to Okta on a custom domain, such as ",[84,328,329],{},"https:\u002F\u002Flogin.acme.com",", use that as the issuer URL instead.",[22,332,334],{"id":333},"_4-connect-okta-in-saferewind","4. Connect Okta in SafeRewind",[10,336,337,338,340,341,344],{},"Back on SafeRewind's ",[17,339,19],{}," page, under ",[17,342,343],{},"2. Connect it",":",[68,346,347,355,362,380],{},[33,348,349,352,353,107],{},[17,350,351],{},"Issuer URL",": paste your issuer URL, for example ",[84,354,309],{},[33,356,357,244,359,361],{},[17,358,285],{},[17,360,274],{},": paste them from Okta.",[33,363,364,367,368,371,372,375,376,379],{},[17,365,366],{},"Email domain",": enter the part of your team's work email addresses after the ",[84,369,370],{},"@",", for example ",[84,373,374],{},"acme.com",". Addresses on its subdomains, such as ",[84,377,378],{},"eu.acme.com",", are included automatically.",[33,381,110,382,107],{},[17,383,384],{},"Connect",[10,386,387],{},"SafeRewind checks the issuer URL with Okta before it saves anything. The client secret is stored encrypted and is never shown again.",[22,389,391],{"id":390},"_5-verify-your-domain","5. Verify your domain",[10,393,394],{},"This step proves your company owns the email domain, so nobody else can set up SSO for it.",[68,396,397,414,424],{},[33,398,78,399,402,403,406,407,410,411,107],{},[17,400,401],{},"3. Verify your domain",", SafeRewind shows a TXT record: a ",[17,404,405],{},"record name"," (like ",[84,408,409],{},"_saferewind-sso-….acme.com",") and a ",[17,412,413],{},"record value",[33,415,416,417,420,421,107],{},"At your DNS provider (for example Cloudflare, Route 53 or GoDaddy), add a ",[17,418,419],{},"TXT"," record with exactly that name and value. Some providers add your domain to the name for you. If yours does, enter only the part before ",[84,422,423],{},".acme.com",[33,425,426,427,430],{},"Back in SafeRewind, click ",[17,428,429],{},"Check now",". DNS changes can take a few minutes to an hour to appear. If the check fails, wait a little and try again.",[10,432,433],{},"When the domain is verified, SSO is on. You can delete the TXT record afterwards if you want, but leaving it does no harm.",[22,435,437],{"id":436},"_6-try-it","6. Try it",[68,439,440,443,452],{},[33,441,442],{},"Open SafeRewind's sign-in page in a private browser window.",[33,444,110,445,448,449,107],{},[17,446,447],{},"SSO",", enter your work email and click ",[17,450,451],{},"Continue",[33,453,454],{},"Sign in to Okta. SafeRewind opens, signed in.",[10,456,42,457,459],{},[17,458,19],{}," page counts how many people have signed in with SSO.",[22,461,463],{"id":462},"what-your-team-sees","What your team sees",[30,465,466,476,482,488],{},[33,467,468,471,472,475],{},[17,469,470],{},"New people"," on your domain who sign in with SSO join your organisation as members. If you have a free seat, they get it, so they can record right away. If you don't, an admin can give them one on the ",[17,473,474],{},"Members"," page.",[33,477,478,481],{},[17,479,480],{},"People you invited"," get the role and seat from their invitation the first time they sign in with SSO.",[33,483,484,487],{},[17,485,486],{},"People who already have a SafeRewind account"," with the same work email can keep their current sign-in method, or use SSO. Both lead to the same account.",[33,489,490,493],{},[17,491,492],{},"The Chrome extension"," needs no change. It signs in through the website, so it uses SSO too.",[58,495,496],{},[10,497,498,499,501],{},"Removing someone from the app in Okta stops them signing in with SSO, but doesn't remove them from your SafeRewind organisation. Remove them on the ",[17,500,474],{}," page too, which also frees their seat. Starting from the SafeRewind tile on the Okta dashboard isn't supported yet: people sign in from SafeRewind's sign-in page.",[22,503,505],{"id":504},"replace-the-client-secret","Replace the client secret",[10,507,508],{},"To rotate the secret without interrupting sign-ins:",[68,510,511,524,534],{},[33,512,513,514,516,517,520,521,523],{},"In Okta, open the app's ",[17,515,258],{}," tab and click ",[17,518,519],{},"Generate new secret"," under ",[17,522,290],{},". Okta keeps the old secret active alongside the new one.",[33,525,526,527,530,531,107],{},"In SafeRewind, paste the new secret into ",[17,528,529],{},"New client secret"," and click ",[17,532,533],{},"Replace client secret",[33,535,536],{},"In Okta, deactivate and delete the old secret.",[10,538,539,540,543],{},"To use a different Okta app, client ID or issuer URL, click ",[17,541,542],{},"Remove identity provider"," in SafeRewind and connect again.",[22,545,547],{"id":546},"troubleshooting","Troubleshooting",[10,549,550,553,554,556,557,559],{},[17,551,552],{},"\"No OpenID Connect settings were found\" or \"The identity provider calls itself …\"","\nThe issuer URL is wrong. Use your Okta domain with ",[84,555,305],{}," in front and nothing after it, such as ",[84,558,309],{},". If the message names an address, enter exactly that.",[10,561,562,565,566,568,569,571,572,574],{},[17,563,564],{},"\"Your identity provider doesn't accept a client secret\"","\nIn the Okta app's ",[17,567,258],{}," tab, set ",[17,570,270],{}," to ",[17,573,274],{}," and save.",[10,576,577,580],{},[17,578,579],{},"\"Your company hasn't set up single sign-on with SafeRewind\"","\nThe domain isn't verified yet, or the person typed an address on another domain. Finish step 5, then try again.",[10,582,583,586,587,589],{},[17,584,585],{},"Okta says \"User is not assigned to the client application\"","\nThe person isn't in a group assigned to the SafeRewind app. In Okta, open the app's ",[17,588,210],{}," tab and assign them or one of their groups.",[10,591,592,595],{},[17,593,594],{},"\"Your company's sign-in page returned an address outside its own domain\"","\nOkta signed the person in with an email that isn't on your verified domain, for example a personal address in their Okta profile. Update their primary email in Okta.",[10,597,598,601],{},[17,599,600],{},"\"This address is already in another SafeRewind organisation\"","\nA person can belong to one SafeRewind organisation at a time. They need to leave the other organisation first.",[10,603,604,605,610,611,107],{},"Still stuck? Email ",[606,607,609],"a",{"href":608},"mailto:eugen@getsaferewind.com","eugen@getsaferewind.com"," with the message you see. Business plans include ",[606,612,614],{"href":613},"\u002Flegal\u002Fsupport","priority support",{"title":616,"searchDepth":617,"depth":617,"links":618},"",2,[619,620,621,622,623,624,625,626,627,628],{"id":24,"depth":617,"text":25},{"id":65,"depth":617,"text":66},{"id":93,"depth":617,"text":94},{"id":251,"depth":617,"text":252},{"id":333,"depth":617,"text":334},{"id":390,"depth":617,"text":391},{"id":436,"depth":617,"text":437},{"id":462,"depth":617,"text":463},{"id":504,"depth":617,"text":505},{"id":546,"depth":617,"text":547},"Let your team sign in to SafeRewind with their Okta accounts.","md",{},true,"\u002Fdocs\u002Fsso\u002Fokta",{"title":5,"description":629},"docs\u002Fsso\u002Fokta","aJ63soWlm16XwUp-BW1TkJcnn4GTzgpyOk0gNqrA_yE",1793038928121]