Comments (4)
What does the server report?
On Jan 16, 2013, at 8:17 PM, GregTurner [email protected] wrote:
In short, sessions are lost if invoking the Agent on the phone using the custom schema (a2p3.net://token?request...).
When clicking on mobile logon from the email.local.a2p3:8080 site, the request is generated properly, agent fetches the token properly. Then the Agent does an invoke using the response URL. It appears that any previous cookies set by email.local are either not allowed or lost because the site reports Logon Error.
Here's the last two requests/responses:
GET http://email.local.a2p3.net:8080/login/response?token=eyJ0eXAiOiJKV0UiLCJhbGciOiJkaXIiLCJlbmMiOiJBMjU2Q0JDK0hTNTEyIiwia2lkIjoiRVZLRTBnTEt1ZmN1clZ3YyJ9..e4tAFFuvq0SJ66RagDVcaw.iNEAL20e8Xtdpc215IXdi6FITkYATF6gLyXocoIWpn2kCvlTpDKilUkZ8SV2o1KlO6jBIGaJhzSOZAjQ3TglGCTVRcC95QbYqxifg3whxHiVHl1kZCt9An73MRjxqfo6QwWYLN0W-e0NOQBJtqpdgm8 BB6_mHDvIX9QSmbh7I4ipa0pfHgRCuZX1Gsq6LIGo773lkmhcyovy7RR8SfYstHMwnB3oQmTW2L25pg5Ab8a1TK445fOL3797E-qYzowo8fi76T1-L4LkqQmDZATrzV_4KWxIuAz-4XP7Qnibz7-8OY8OLwUePer1U-yFNnMbKz8UT2sfN1gBog9BFuVHFHnUnXOhz7ASjrU12__xHtuCgO9PcbUYIrgQTOAKl1a9.367yBOfFI_vLbe7fqs6j1IMDb8217Y_O1tUBjF1MoXuZ6UFQzSbxkTgiYlwylsgizyHYH0vX_IzQVT1ZqaPfWw HTTP/1.1
Host: email.local.a2p3.net:8080
Connection: keep-alive
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Cookie: connect.sess=s%3Aj%3A%7B%7D.Wt76C0yi3QriWCH4wb0Dk9Ai5ffEzSZwFyqVCyJ%2FPts
Connection: keep-alive
Accept-Language: en-us
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 6_0_2 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A551 Safari/8536.25HTTP/1.1 302 Moved Temporarily
X-Powered-By: Express
Vary: Accept
Content-Type: text/html
Location: http://email.local.a2p3.net:8080/error?error=UNKNOWN&errorMessage=Session%20information%20lost
Content-Length: 252
Date: Thu, 17 Jan 2013 04:09:50 GMT
Connection: keep-aliveMoved Temporarily. Redirecting to http://email.local.a2p3.net:8080/error?error=UNKNOWN&errorMessage=Session%20information%20lost
GET http://email.local.a2p3.net:8080/error?error=UNKNOWN&errorMessage=Session%20information%20lost HTTP/1.1
Host: email.local.a2p3.net:8080
If-Modified-Since: Tue, 15 Jan 2013 05:41:43 GMT
If-None-Match: "189-1358228503000"
Connection: keep-alive
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-us
Cookie: connect.sess=s%3Aj%3A%7B%7D.Wt76C0yi3QriWCH4wb0Dk9Ai5ffEzSZwFyqVCyJ%2FPts
Connection: keep-alive
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 6_0_2 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A551 Safari/8536.25HTTP/1.1 304 Not Modified
X-Powered-By: Express
Accept-Ranges: bytes
ETag: "189-1358228503000"
Date: Thu, 17 Jan 2013 04:09:50 GMT
Cache-Control: public, max-age=0
Last-Modified: Tue, 15 Jan 2013 05:41:43 GMT
Connection: keep-alive—
Reply to this email directly or view it on GitHub.
from a2p3.
email.local.a2p3.net GET /login 302 3 ms - -
as.local.a2p3.net POST /token 200 2 ms - -
email.local.a2p3.net GET /login/response?token=eyJ0eXAiOiJKV0UiLCJhbGciOiJkaXIiLCJlbmMiOiJBMjU2Q0JDK0hTNT
EyIiwia2lkIjoiRVZLRTBnTEt1ZmN1clZ3YyJ9..e4tAFFuvq0SJ66RagDVcaw.iNEAL20e8Xtdpc215IXdi6FITkYATF6gLyXocoIWpn2kCvlTpDKilUkZ8
SV2o1KlO6jBIGaJhzSOZAjQ3TglGCTVRcC95QbYqxifg3whxHiVHl1kZCt9An73MRjxqfo6QwWYLN0W-e0NOQBJtqpdgm8BB6_mHDvIX9QSmbh7I4ipa0pfH
gRCuZX1Gsq6LIGo773lkmhcyovy7RR8SfYstHMwnB3oQmTW2L25pg5Ab8a1TK445fOL3797E-qYzowo8fi76T1-L4LkqQmDZATrzV_4KWxIuAz-4XP7Qnibz
7-8OY8OLwUePer1U-yFNnMbKz8UT2sfN1gBog9BFuVHFHnUnXOhz7ASjrU12__xHtuCgO9PcbUYIrgQTOAKl1a9.367yBOfFI_vLbe7fqs6j1IMDb8217Y_O
1tUBjF1MoXuZ6UFQzSbxkTgiYlwylsgizyHYH0vX_IzQVT1ZqaPfWw 302 2 ms - -
email.local.a2p3.net GET /error?error=UNKNOWN&errorMessage=Session%20information%20lost 304 2
ms - -
from a2p3.
Let me know if this is still an issue.
from a2p3.
Don't think so
from a2p3.
Related Issues (20)
- concurrent sample-app register caused errors HOT 1
- registrar server dies if user cancels logon
- Bank: IE returns to login page after accepting terms of service HOT 1
- Setup: Cancel button doesn't cancel - user is enrolled HOT 1
- Adding agent using QR code - mouse pointer location HOT 1
- Bank :: close API for Bank Mobile App
- Bank: Login button results in page without logout HOT 1
- Resource server login not working on IE HOT 1
- add ix property to Agent Request
- registrar /report returns invalid request to agent
- bank app fails on open account and login if you remove the authorizations
- on setup, stop the facebook auto logon.
- last access missing in responses to /authorizations/list
- Mobile Safari: Login with Facebook button opens new tab HOT 2
- invalid request from App -> Agent -> Registrar causes registrar to halt HOT 1
- agent gets 'MISSING_TOKEN' when user denies/cancels the logon on the agent HOT 3
- deleting an app may not clean up all of DB
- registries not showing application name
- Verify that cancel QR works HOT 2
- IIW feedback
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from a2p3.