Closed JannemanDev closed 5 years ago
I didn't use composer, just copied and included the library in my project.
@JanOonk composer will pull in a the dependancies! You should definitely be using it.
That I know but that still doesn't answer my question.
Is this fix an omission in your source or am I doing something wrong?
Apologies. I'm not sure I fully understand. Composer includes an autoloader that configures path dependencies. (Similar to what you're doing above.) Can you rephrase the question?
For all people that can not use composer and just like me, in this instance, won't use composer and just follow the procedure I described. The fact that I had to insert require "Crypt/RSA.php";
is that a bug/omission in the source?
In the case you describe, it's an omission. Not a bug.
Ok not a bug, it's more like a dependency missing. Consider it documented by this issue :)
I am using the latest version v0.7. I didn't use composer, just copied and included the library in my project. But I had to add this line before the class_exists lines to get the library up and running:
I copied the phpseclib subdirectory from the src installation package into my lib folder. In my application I then use the openidconnect library as follows:
Is this fix an omission in your source or am I doing something wrong?