Before Okta
Setup
This page is public. It shows which settings are present and the exact values to paste into Okta. Secret values stay hidden.
Resolved base URL: https://lab.lennox-labs.com from APP_BASE_URL. Sign-in redirects, the SAML audience, and the SCIM base URL are built from it. The production portal is https://lab.lennox-labs.com.
Readiness
- MissingDATABASE_URLMissing. Connect Neon from the Vercel Storage tab.
- ReadySESSION_SECRETSet. The value is hidden.
- ReadySCIM_BEARER_TOKENSet. The token is hidden. Okta sends it as Authorization: Bearer.
- ReadyAPP_BASE_URLSet to https://lab.lennox-labs.com.
- MissingOIDC issuer, client ID, client secretOIDC_ISSUER missing. OIDC_CLIENT_ID missing. OIDC_CLIENT_SECRET missing. Scopes openid profile email. Groups claim groups.
- MissingSAML identity providerMissing. Set SAML_IDP_METADATA_URL, or both SAML_IDP_ENTRY_POINT and SAML_IDP_CERT.
- ReadyAdmin groupADMIN_GROUP is Lab Admins (default).
- ReadyEngineering groupENGINEERING_GROUP is Engineering (default).
Production paste sheet
Primary values for https://lab.lennox-labs.com. Use these in the Okta apps for the public portal.
OpenID Connect
https://lab.lennox-labs.com/api/auth/oidc/callbackOkta calls this the sign-in redirect URI.
https://lab.lennox-labs.com/signed-outOkta calls this the sign-out redirect URI. The lab sends it as post_logout_redirect_uri.
https://lab.lennox-labs.com/api/auth/oidc/loginOptional. Where a person starts sign-in on this portal.
Authorization CodeConfidential client. The lab also sends a PKCE S256 code challenge.
openid profile emailPut the groups claim in the ID token. A separate groups scope is not required.
groupsInclude this claim in the ID token. Filter: Matches regex .*
SAML 2.0
https://lab.lennox-labs.com/api/auth/saml/acsHTTP-POST binding. Use this same URL for the recipient and destination if Okta asks.
https://lab.lennox-labs.com/api/auth/saml/metadatahttps://lab.lennox-labs.com/api/auth/saml/metadataReference XML for the entity ID and assertion consumer service. Okta's SAML form usually wants the two fields above pasted by hand.
EmailAddressIn Okta's list this is EmailAddress. The URI is urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress.
groupsGroup attribute statement. Filter: Matches regex .*
Attribute statements
| Name | Value |
|---|---|
email | user.email |
firstName | user.firstName |
lastName | user.lastName |
Group attribute statement name is groups. Filter: Matches regex .*
SCIM provisioning
https://lab.lennox-labs.com/scim/v2userNameHTTP HeaderAuthorization value: Bearer, a space, then the SCIM_BEARER_TOKEN from Vercel. The token is not shown on this page.
Push new users, push profile updates, push groups, deactivate users