Skip to content

Instantly share code, notes, and snippets.

View Redwoodtj's full-sized avatar

Washington. Redwoodtj

View GitHub Profile
(C) Conventional: a common English-language name for a feature, approved by the US BGN for use in addition to, or in lieu of, a US BGN-approved local official name or in an area where English is not the official language. Example: Rome (the capital of Italy).
(N) Approved: the US BGN-approved local official name for a geographic feature. Example: Roma (the capital of Italy).
(P) Provisional: a geographic name of a feature for which the territorial status is not finally determined or not recognized by the United States.
(D) Unverified: a feature name derived from a source whose official status cannot be verified by the US BGN.
(V) Variant: a former name, a name other than the official name that is found to be in local use, or any other name or spelling found on various sources.
(VA) Anglicized: a special class of Variant name representing an English-language form of an approved local name.

This page describes the flow of requests, tokens etc. when using the Okta sign-in widget with a backend (such as Spring Boot) that's configured for OAuth2 based authentication.

Okta Login flow

If I have a web-app running on myapp.mycompany.com and an Okta organization running on dev-993392.oktapreview.com then there are 3 actors involved in the login flow:

  • The server that serves up the myapp.mycompany.com pages.
  • Browser pages with origin myapp.mycompany.com.
  • Browser pages with origin dev-993392.oktapreview.com
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 2.
"AwardNumber","Title","NSFOrganization","Program(s)","StartDate","LastAmendmentDate","PrincipalInvestigator","State","Organization","AwardInstrument","ProgramManager","EndDate","AwardedAmountToDate","Co-PIName(s)","PIEmailAddress","OrganizationStreet","OrganizationCity","OrganizationState","OrganizationZip","OrganizationPhone","NSFDirectorate","ProgramElementCode(s)","ProgramReferenceCode(s)","ARRAAmount","Abstract"
"2026631","RAPID: Real time monitoring of information consumption regarding the coronavirus","SES","AIB-Acctble Institutions&Behav, Decision, Risk & Mgmt Sci, Sociology, Methodology, Measuremt & Stats, Secure &Trustworthy Cyberspace","04/15/2020","04/06/2020","David Lazer","MA","Northeastern University","Standard Grant","Toby Parcel","03/31/2021","$200,000.00","Alessandro Vespignani, Briony Swire-Thompson","d.lazer@neu.edu","360 HUNTINGTON AVE","BOSTON","MA","021155005","6173733004","SBE","120Y, 1321, 1331, 1333, 8060","025Z, 065Z, 096Z, 7434, 7914, 9179","$0.00","The COVID-19 pandemic has highlig
@Redwoodtj
Redwoodtj / draft05.md
Created December 21, 2022 10:22 — forked from imanel/draft05.md
EM-WebSocket: differences from specification

Handshake

Sent data:

GET /chat HTTP/1.1
Host: server.example.com
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==

Sec-WebSocket-Origin: http://example.com

@Redwoodtj
Redwoodtj / asf-oauth-example.py
Created January 8, 2023 08:01 — forked from Humbedooh/asf-oauth-example.py
ASF Oauth Examples
#!/usr/bin/env python3
""" ASF OAuth example in Python 3"""
import cgi
import os
import requests
import urllib
import uuid
def init_oauth():
-- quick and dirty JSON conversion
local function quickJSON(input)
if type(input) == "table" then
local t = 'array'
for k, v in pairs(input) do
if type(k) ~= "number" then
t = 'hash'
break
end
end
@Redwoodtj
Redwoodtj / get_layout_test_fonts.sh
Created January 20, 2023 01:02 — forked from pwnall/get_layout_test_fonts.sh
Get the fonts needed by Chromium's LayoutTests on Fedora Linux
sudo mkdir -p /usr/share/fonts/opentype
sudo mkdir -p /usr/share/fonts/truetype
sudo dnf install -y ipa-gothic-fonts ipa-pgothic-fonts ipa-mincho-fonts ipa-pmincho-fonts
sudo mkdir -p /usr/share/fonts/opentype/ipafont-gothic
sudo cp /usr/share/fonts/ipa-gothic/ipag.ttf /usr/share/fonts/opentype/ipafont-gothic/
sudo cp /usr/share/fonts/ipa-pgothic/ipagp.ttf /usr/share/fonts/opentype/ipafont-gothic/
sudo mkdir -p /usr/share/fonts/opentype/ipafont-mincho
sudo cp /usr/share/fonts/ipa-mincho/ipam.ttf /usr/share/fonts/opentype/ipafont-mincho/
sudo cp /usr/share/fonts/ipa-pmincho/ipamp.ttf /usr/share/fonts/opentype/ipafont-mincho/