From 43e7899c446d84246b1851cf99aa25346036b2e3 Mon Sep 17 00:00:00 2001 From: Patrik Ragnarsson Date: Wed, 11 Mar 2015 18:59:45 +0100 Subject: [PATCH] Fix typo; open_id => openid According to https://auth0.com/docs/protocols it's "openid" --- lib/auth0/api/authentication_endpoints.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/auth0/api/authentication_endpoints.rb b/lib/auth0/api/authentication_endpoints.rb index 40671168..a8cf8724 100644 --- a/lib/auth0/api/authentication_endpoints.rb +++ b/lib/auth0/api/authentication_endpoints.rb @@ -14,7 +14,7 @@ def obtain_access_token end # {https://auth0.com/docs/auth-api#!#post--delegation} - def delegation(id_token, target, scope = "open_id") + def delegation(id_token, target, scope = "openid") request_params = { client_id: @client_id, grant_type: "urn:ietf:params:oauth:grant-type:jwt-bearer",