lib/client.rb in navi_client-1.0.4 vs lib/client.rb in navi_client-1.0.5
- old
+ new
@@ -7,10 +7,10 @@
# login
#
# login to the navi-cloud and get the authentication token
#
def login
- url = "#{@sso_web_url/oauth/token}"
+ url = "#{@sso_web_url}/oauth/token"
provider_url = url
@token = HTTParty.post(provider_url,
body: {
client_id: config["uid"], # get from sso_web application
client_secret: config["secret_key"],