Skip to content

Commit ca01fd0

Browse files
committed
Add init call
1 parent 72cb3d5 commit ca01fd0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

box.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cbsso",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"location": "https://downloads.ortussolutions.com/ortussolutions/coldbox-modules/cbsso/@build.version@/[email protected]@.zip",
55
"author": "Ortus Solutions <[email protected]>",
66
"homepage": "https://github.com/coldbox-modules/cbsso",

models/providers/MicrosoftSAMLProvider.cfc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ component accessors="true" implements="cbsso.models.ISSOIntegrationProvider" {
3737
public any function processAuthorizationEvent( required any event ){
3838
var authResponse = wirebox.getInstance( "SSOAuthorizationResponse@cbsso" );
3939

40+
initializeOpenSAMLLib();
41+
4042
try {
4143
var decoded = binaryDecode( event.getValue( "SAMLResponse" ), "base64" );
4244
var data = charsetEncode( decoded, "utf-8" );
@@ -80,6 +82,8 @@ component accessors="true" implements="cbsso.models.ISSOIntegrationProvider" {
8082
private string function getRawSAMLRequest(){
8183
var id = "id" & createUUID();
8284

85+
initializeOpenSAMLLib();
86+
8387
return AuthNRequestGenerator.generateAuthNRequest( variables.clientId, id );
8488
}
8589

0 commit comments

Comments
 (0)