Skip to content

Instantly share code, notes, and snippets.

@cleavenworth
cleavenworth / Okta-Jamf-LDAPSettings.txt
Last active July 11, 2023 02:06
LDAP Mapping and Configuration Settings for Okta LDAP > Jamf
LDAP Servers
Connection --
Directory Service: Configure Manually
Server and Port: company.ldap.okta<preview>.com : 636
Use SSL: True
Authentication Type: Simple
Distinguished Username: uid=account@company.com,dc=company,dc=okta<preview>,dc=com
Use Wildcards when Searching: True
@ocap-kirk
ocap-kirk / Okta-IDP-Discovery-In-Widget.html
Last active May 13, 2020 13:23
Okta IdP Discovery Widget Example (OIDC)
<!DOCTYPE html>
<html>
<head>
<script src="https://ok1static.oktacdn.com/assets/js/sdk/okta-signin-widget/2.14.0/js/okta-sign-in.min.js" type="text/javascript"></script>
<link href="https://ok1static.oktacdn.com/assets/js/sdk/okta-signin-widget/2.14.0/css/okta-sign-in.min.css" type="text/css" rel="stylesheet" />
<link href="https://ok1static.oktacdn.com/assets/js/sdk/okta-signin-widget/2.14.0/css/okta-theme.css" type="text/css" rel="stylesheet" />
<style>
/*.primary-auth .o-form-input-name-username.o-form-control.okta-form-input-field.input-fix{display: none;}*/
</style>
@wkoszek
wkoszek / click.oscript
Created January 19, 2018 22:22
Clicking "Allow" button in System Preferences via Screen Sharing
# This is clicking "Allow" in System Preferences "Security & Privacy" screen
# when you're on Screen Sharing. Otherwise it doesn't work.
# To fix:
# - Put "Security & Privacy" window in the top left screen
# - open a Terminal on a side
# - save click.oscript
# - Run: osascript click.oscript
#
# The mouse click you send should hit "Allow" button. You may need to move the window a little bit.
# Script originally from: https://discussions.apple.com/thread/3708948