Skip to content

Instantly share code, notes, and snippets.

@IgorKarymov
IgorKarymov / okta saml
Created October 4, 2013 13:55
okta saml
<saml2p:Response Destination="https://10.10.18.25/saml/consume" ID="id100027984869995841078625485" IssueInstant="2013-10-04T13:52:38.722Z" Version="2.0">
<saml2:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">http://www.okta.com/kbgfrazyGWKYZDXQCOWI</saml2:Issuer>
<ds:Signature>
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<ds:Reference URI="#id100027984869995841078625485">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
def up do
{:ok, sqlqueries} = File.read("priv/repo/migrations/pg_schema.sql")
Enum.map(String.split(sqlqueries, ";"), fn(sqlquery) -> execute(sqlquery) end)
end
```sql
CREATE TABLE schema_migrations (
version bigint NOT NULL,
inserted_at timestamp without time zone
);
ALTER TABLE ONLY schema_migrations