Skip to content
This repository has been archived by the owner on Oct 31, 2019. It is now read-only.

Authentication fails if key contains special characters #40

Closed
Alanwe opened this issue Jan 12, 2017 · 0 comments
Closed

Authentication fails if key contains special characters #40

Alanwe opened this issue Jan 12, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@Alanwe
Copy link
Member

Alanwe commented Jan 12, 2017

The Authentication Key generated by Azure AD sometimes contains reserved characters which causes a 401 error when authenticated when passed in the authentication body

Validated error using Key <- URLencode(Key, reserved = TRUE) which then resulted in a successful 200.

Add URLencode by default into the Authenticate function

@Alanwe Alanwe self-assigned this Jan 12, 2017
@Alanwe Alanwe added the bug label Jan 12, 2017
@andrie andrie changed the title Azure Authenticate Issue Authentication fails if key contains special characters Feb 6, 2017
@andrie andrie added this to the v0.2.3 milestone Feb 6, 2017
andrie added a commit that referenced this issue Feb 6, 2017
* master:
  add updated docs namespace and description
  add rstudio-server tag for rserver hdI
  fix error message display
  fix and tests for rserver hdi
  clusterVersion fix and add r-server and edge node options
  camel case fix and add alias for AzureListRG
  fix `AzureListRG` -> `azureListRG`; camel case change in function name
  #40 ENCODE the client secret to avoid occasional 401
  Added Scale Sets functions Deploy Template handle FAIL condition
  Added 3 functions for ScaleSets Fixed Deploy template to manager FAILED status
@andrie andrie closed this as completed May 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants