Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(auth): toCredential/fromCredential #227

Merged
merged 1 commit into from
Jun 19, 2018
Merged

feat(auth): toCredential/fromCredential #227

merged 1 commit into from
Jun 19, 2018

Conversation

jgravois
Copy link
Contributor

to support passing arcgis-rest-js and jsapi credentials back and forth

AFFECTS PACKAGES:
@esri/arcgis-rest-auth

ISSUES CLOSED: #208

…i auth

AFFECTS PACKAGES:
@esri/arcgis-rest-auth

ISSUES CLOSED: #208
@jgravois jgravois requested a review from tomwayson June 19, 2018 19:03
@coveralls
Copy link

coveralls commented Jun 19, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling ea64da9 on feat/more-cred into 106c7b3 on master.

@tomwayson tomwayson merged commit 1ca31f7 into master Jun 19, 2018
@tomwayson tomwayson deleted the feat/more-cred branch June 19, 2018 19:17
@jgravois
Copy link
Contributor Author

ugh. this actually doesn't work.

esriId.getCredential("https://www.arcgis.com/sharing/rest")
  .then(jsapiCreds => {
    jsapiCreds.server // "https://www.arcgis.com"
  })

@tomwayson
Copy link
Member

I mean, it makes sense, that is the server.

Can we be smart about appending /sharing/rest if needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants