Open lemmycaution opened 7 years ago
Seeing the same issue. @lemmycaution did you ever resolve this?
No, sorry. I ended up with using some other platform.
On Mon, Jul 3, 2017 at 3:48 PM, akrulwich notifications@github.com wrote:
Seeing the same issue. @lemmycaution https://github.com/lemmycaution did you ever resolve this?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AzureAD/azure-activedirectory-library-for-ruby/issues/55#issuecomment-312665105, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVcvXzXXMxzK4RFF5y7Ueq9uOOJk1dvks5sKP8vgaJpZM4M4B70 .
@lemmycaution Thanks
I had this it's an easy fix - if you look through the code of the dotnet version, it uses a different JWT_BEARER string:
Someone's already done a pull request too: https://github.com/AzureAD/azure-activedirectory-library-for-ruby/pull/39
In the meantime you can monkey patch the gem to fix:
module ADAL
class TokenRequest
module GrantType
JWT_BEARER = 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer'
end
end
end
Hi there,
I'm trying to run client_assertation_certificate_example but stuck with below error. It seems I'm missing something in configuration but cannot find it. Any tip most welcome, thanks a lot.