From a71aedb0817bf711e7bab6dc0e8f206498587cae Mon Sep 17 00:00:00 2001 From: mikedokta <44243143+mikedokta@users.noreply.github.com> Date: Tue, 18 Jun 2019 08:54:14 -0400 Subject: [PATCH] Update to SAML Extension I changed the type for the command, I was getting an error and removing token helped get the claim in the assertion. I also updated the Runtime nodejs to 8.10 since CloudFormation wouldn't let me upload 6.1 --- saml_extension_callback.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/saml_extension_callback.yaml b/saml_extension_callback.yaml index b06c7b2..527eb2c 100644 --- a/saml_extension_callback.yaml +++ b/saml_extension_callback.yaml @@ -17,7 +17,7 @@ Resources: "result": "SUCCESS", "commands": [{ - "type": "com.okta.tokens.assertion.patch", + "type": "com.okta.assertion.patch", "value": [{ "op": "add", @@ -58,7 +58,7 @@ Resources: FunctionName: CommandsLambda Handler: index.handler Role: !GetAtt 'LambdaExecutionRole.Arn' - Runtime: nodejs6.10 + Runtime: nodejs8.10 LambdaExecutionRole: Type: AWS::IAM::Role Properties: