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

/sign_in metric counted twice if user redirects to primary #3970

Closed
shane-tomlinson opened this issue Oct 10, 2013 · 0 comments
Closed

/sign_in metric counted twice if user redirects to primary #3970

shane-tomlinson opened this issue Oct 10, 2013 · 0 comments

Comments

@shane-tomlinson
Copy link

With #3939, we have the ability to send kpiggybank the number of users who see the /sign_in dialog directly from the backend. There is a problem, users who redirect to a primary IdP are counted twice, the first time when they first open the dialog, the second time when they return to from the IdP.

@ghost ghost assigned shane-tomlinson Oct 10, 2013
shane-tomlinson pushed a commit that referenced this issue Nov 7, 2013
…ticating with their primary.

* Instead of using the #AUTH_RETURN* hash, use ?AUTH_RETURN*, which is sent to the backend and can be used to avoid double count.
* /sign_in?AUTH_RETURN logs an `idp.auth_return` message
* /sign_in?AUTH_RETURN_CANCEL logs an `idp.auth_cancel` message
* Update tests.

fixes #3970
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant