question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Session add new method: serializeToEsriAuthCookie

See original GitHub issue

Many esri apps are using esri_auth to save sign in session, so I think it would be great if session can be serialized to this cookie.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
patrickarltcommented, Jun 10, 2019

My understanding is the the esri_auth cookie is specific to Esri apps and should only be set by a properly configured sign in experience for an Esri app like ArcGIS Online, ArcGIS for Developers, ect…

Give what @MehulChoksey said in https://github.com/Esri/arcgis-rest-js/issues/578#issuecomment-500286045 it also looks like we should ignore this entirely so I’m going to close this.

1reaction
MehulChokseycommented, Jun 10, 2019

Not sure what the context is here… but it is important to note that in couple of releases, Esri auth cookies will be encrypted and it is strongly recommended to not have helper methods/functions for esri auth cookie. cc @lalitha4499 @rosso

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I serialize a custom class containing insta...
What I am trying to do is to take an instance of our custom class that is in a general format as shown...
Read more >
Solved: Cookies from request - Esri Community
I have an API that I want to access that stores the authentication information in a cookie. I can successfully make the initial...
Read more >
How do I serialize & de-serialize a AGSPolyline object?
I believe I need to JSON-SERIALIZE (and JSON-DE-SERIALIZE) my AGSPolyline object (a Geometry object) so I can insert it into my dictionary ...
Read more >
How To: Convert the SOAP Geometry object type between ...
Serialize the value object into a SOAP string. Code: Type valueType = outputPolygon.GetType(); System.Xml.Serialization.XmlSerializer xmlSerializer = new System ...
Read more >
Unable to serialize/deserialize FeatureLayer to/from Json
System.Runtime.Serialization.InvalidDataContractException was unhandled Message=Type 'ESRI.ArcGIS.Client.FeatureLayer' cannot be serialized.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found