Plots2: Planning Issues: Cross Domain Session Management for MK & SWB

Created on 2 May 2019  ·  116Comments  ·  Source: publiclab/plots2

Sequence of workflow:

These three prs are dependent. They can't be made independent.

  • [x] Step 5: Deploy the changes for MK, SWB and Plots2 on the production SIMULTANEOUSLY.
  • [x] Step 5.5 2. copy recaptcha key to production environment file
  • [x] Step 6: Check the functionality at the production level.
planning

Most helpful comment

Yeah I look forward to solving this with @VladimirMikulic :smile:

All 116 comments

@jywarren it will be great if you can change https://github.com/publiclab/spectral-workbench/blob/9f9ca3cf759678e00b3283054cdf78d51d364d43/app/controllers/sessions_controller.rb#L5 and https://github.com/publiclab/mapknitter/blob/ccd6317f7752dc5c86259c40d4854cee423bfe85/app/controllers/sessions_controller.rb#L7 to localhost:3000/people at YOUR LOCAL BRANCH and test the system instead of unstable branch pushing and checking.

I am asking you to run mapknitter at localhost:3002, plots2 at localhost:3000 and swb at localhost:3004 instead of unstable branches as there is some routing constraint which routes openid request at unstable.publiclab.org to publiclab.org and we are not able to test our system at unstable branch.

Step 2 to 4 needs to be executed one after another without delay whenever you feel that it is suitable time.

I have already pushed the changes to MK and plots2. I am not able to push the changes to the SWB. As there is no unstable branch at SWB.

As written earlier, unstable.publiclab.org gets routed to publiclab.org by openid so it's better to test thing at your local @jywarren. Also, please see the dbms dump at the rails server to know what's going on at the dbs of MK, Plots and SWB.

Thanks.

OK, testing now, i hope... let's see how it goes! Thanks!

Also, how are we on the oauth prompt UI on MapKnitter? can you link me to the latest? Thanks!

I noticed these branches' sessions_controller.rb are pointed at https://unstable.publiclab.org - can you adjust that in SWB? I haven't checked MK but let's be sure there too.

SWB looks good, even in not-quite-finished state:

image

even in not-quite-finished state:

Frontend is broken into ftos and is implemented by folks. So, we don't need to worry much there. We have really supportive community Jeff this year. :smile:

For testing at local please follow https://github.com/publiclab/plots2/issues/5652#issuecomment-489143992. Thanks

how are we on the oauth prompt UI on MapKnitter? can you link me to the latest?

Click on login on the header
OR
go to localhost:3002/login
Both will work.
Frontend is going separately in other prs. I made frontend is separate pr as those prs does not need us to run 3 server simultaneously.

I noticed these branches' sessions_controller.rb are pointed at https://unstable.publiclab.org - can you adjust that in SWB? I haven't checked MK but let's be sure there too.

Done for both MK and SWB

OK, i'm almost installed all gems and running the local tests, i'll follow that, thank you.

I clicked Log in in SWB in the above screenshot and was directed to:

http://localhost:3001/session/new?authenticity_token=5BKc7Cnm5kaWKslIv%2BcDMsg5ciDXYRBbmF7CgYLf2G8%3D&back_to=%2F&return_to=%2F

NoMethodError in SessionsController#new
undefined method `split' for nil:NilClass
Rails.root: /home/warren/sites/spectral-workbench

Application Trace | Framework Trace | Full Trace
app/controllers/sessions_controller.rb:90:in `block in openid_authentication'
app/controllers/sessions_controller.rb:88:in `openid_authentication'
app/controllers/sessions_controller.rb:45:in `new'
Request
Parameters:

{"authenticity_token"=>"5BKc7Cnm5kaWKslIv+cDMsg5ciDXYRBbmF7CgYLf2G8=",
 "back_to"=>"/",
 "return_to"=>"/"}

OK, looks like it's getting nil for identity_url - did I do something wrong?

   88     authenticate_with_open_id(openid_url, :required => [:nickname, :email, :fullname]) do |result, identity_url, registration|                   
   89       dummy_identity_url = identity_url             

Ensure two things. First, the plots2 server is running simultaneously at
localhost: 3000. Second, user session controller should have local
host:3000 instead of publiclab.org at MK and SWK.
Then it will work.

On Wed, May 8, 2019, 11:24 PM Jeffrey Warren notifications@github.com
wrote:

OK, i'm almost installed all gems and running the local tests, i'll follow
that, thank you.

I clicked Log in in SWB in the above screenshot and was directed to:

http://localhost:3001/session/new?authenticity_token=5BKc7Cnm5kaWKslIv%2BcDMsg5ciDXYRBbmF7CgYLf2G8%3D&back_to=%2F&return_to=%2F

NoMethodError in SessionsController#new
undefined method `split' for nil:NilClass
Rails.root: /home/warren/sites/spectral-workbench

Application Trace | Framework Trace | Full Trace
app/controllers/sessions_controller.rb:90:in block in openid_authentication' app/controllers/sessions_controller.rb:88:inopenid_authentication'
app/controllers/sessions_controller.rb:45:in `new'
Request
Parameters:

{"authenticity_token"=>"5BKc7Cnm5kaWKslIv+cDMsg5ciDXYRBbmF7CgYLf2G8=",
"back_to"=>"/",
"return_to"=>"/"}


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652#issuecomment-490586460,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFAAEQ6MDSTJRFZBHC37XVLPUMHW7ANCNFSM4HKGL2SQ
.

Also ensure that all the three repos have my PRS. In case either of three
will not have my PR then it will not work

On Wed, May 8, 2019, 11:26 PM Jeffrey Warren notifications@github.com
wrote:

OK, looks like it's getting nil for identity_url - did I do something
wrong?

88 authenticate_with_open_id(openid_url, :required => [:nickname, :email, :fullname]) do |result, identity_url, registration|
89 dummy_identity_url = identity_url


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652#issuecomment-490587055,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFAAEQ3CGNBRZBBS7765BVDPUMH5RANCNFSM4HKGL2SQ
.

I believe I have all those conditions true... let me double-check...

oh haha, hadn't started local mysql. 😅

No problem. Its like time consuming to set and operate these 3 servers
simultaneously. But happy to learn how to execute processes when
applications are running concurrently.

On Wed, May 8, 2019, 11:34 PM Jeffrey Warren notifications@github.com
wrote:

oh haha, hadn't started local mysql. 😅


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652#issuecomment-490589973,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFAAEQ7EFI7INO7W66VXDOLPUMI3VANCNFSM4HKGL2SQ
.

In case you find any other difficulty in setting it up, then pls feel free
to ping me.
Also, I will request you to check the server logs for all the three repos
before merging those PRS.

On Wed, May 8, 2019, 11:36 PM Sidharth Bansal bansal.sidharthcode@gmail.com
wrote:

No problem. Its like time consuming to set and operate these 3 servers
simultaneously. But happy to learn how to execute processes when
applications are running concurrently.

On Wed, May 8, 2019, 11:34 PM Jeffrey Warren notifications@github.com
wrote:

oh haha, hadn't started local mysql. 😅


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652#issuecomment-490589973,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFAAEQ7EFI7INO7W66VXDOLPUMI3VANCNFSM4HKGL2SQ
.

I mean server log for your local when the request of open id is executed
correctly.

On Wed, May 8, 2019, 11:51 PM Sidharth Bansal bansal.sidharthcode@gmail.com
wrote:

In case you find any other difficulty in setting it up, then pls feel free
to ping me.
Also, I will request you to check the server logs for all the three repos
before merging those PRS.

On Wed, May 8, 2019, 11:36 PM Sidharth Bansal <
[email protected]> wrote:

No problem. Its like time consuming to set and operate these 3 servers
simultaneously. But happy to learn how to execute processes when
applications are running concurrently.

On Wed, May 8, 2019, 11:34 PM Jeffrey Warren notifications@github.com
wrote:

oh haha, hadn't started local mysql. 😅


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652#issuecomment-490589973,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFAAEQ7EFI7INO7W66VXDOLPUMI3VANCNFSM4HKGL2SQ
.

Great. Finally getting time to do this fully.

This is really nice:

image

However, the URL shows: http://localhost:3000/dashboard (which is still plots2). If I manually get the session openid_return_to from the logs, that URL works. But it's not getting inserted properly into the alert. Aha! Here's the bug:

```html

If you registered in order to use SpectralWorkbench.org or MapKnitter.org, click here to continue »

 ```

Solved and pushed a commit!

I can't test OAuth login from SWB locally, because locally i am not approved:

image

@SidharthBansal is there any way to test that?

Please check looking forward email for keys and passwords. Thanks

On Thu, May 9, 2019, 3:12 AM Jeffrey Warren notifications@github.com
wrote:

I can't test OAuth login from SWB locally, because locally i am not
approved:

[image: image]
https://user-images.githubusercontent.com/24359/57410368-a0f76600-71b8-11e9-934c-14880086cb29.png

@SidharthBansal https://github.com/SidharthBansal is there any way to
test that?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652#issuecomment-490661676,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFAAEQZZ2DQIOHHVRHO3HA3PUNCMVANCNFSM4HKGL2SQ
.

I'm trying on GitHub with the right env keys now, and it did lead me through the GitHub OAuth approval, which was great. But I got this error:

App 22225 output: Validation failed: Email has already been taken

So, we should display that, i think?

Great, it works for unique emails! 🎉

Moving my checklist here:

  • [x] log in from SWB > PL with existing account
  • [x] log in from SWB > PL with no existing account
  • [x] log in from SWB > PL with GitHub account
  • [x] log in from MK > PL with existing account
  • [x] log in from MK > PL with no existing account
  • [x] log in from MK > PL with GitHub account
  • [ ] need to display validation errors

Great! All tested and good! I just want to check about showing an alert for the validation error, but otherwise this looks great.

Tremendous job on getting it all right, Sidharth!

It's SUCH a smooth process compared to before!!!

So, we need to wait then until MapKnitter's new version publishes to production before actually doing this deployment. We haven't yet actually published MapKnitter for quite a while. This will also give us time to finish up the UI as well. Does this sound good then?

Great

On Thu, May 9, 2019, 5:05 AM Jeffrey Warren notifications@github.com
wrote:

So, we need to wait then until MapKnitter's new version publishes to
production before actually doing this deployment. We haven't yet actually
published MapKnitter for quite a while. This will also give us time to
finish up the UI as well. Does this sound good then?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652#issuecomment-490689052,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFAAEQ6PIHXHQ2YYKGNISVLPUNPS3ANCNFSM4HKGL2SQ
.

Actually these three PRS needs to be merged and deployed to production
simultaneously. Other work can be done after these PRS get merged. They can
be merged and deployed at any time. So,
I think UI should be done in separate PRS. What do you think?

On Thu, May 9, 2019, 5:21 AM Sidharth Bansal bansal.sidharthcode@gmail.com
wrote:

Great

On Thu, May 9, 2019, 5:05 AM Jeffrey Warren notifications@github.com
wrote:

So, we need to wait then until MapKnitter's new version publishes to
production before actually doing this deployment. We haven't yet actually
published MapKnitter for quite a while. This will also give us time to
finish up the UI as well. Does this sound good then?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652#issuecomment-490689052,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFAAEQ6PIHXHQ2YYKGNISVLPUNPS3ANCNFSM4HKGL2SQ
.

Great, noting that since https://github.com/publiclab/spectral-workbench/pull/455 is merged, we shouldn't publish Spectral Workbench until this checklist is completed.

Yeah, I mean to say this. We will deploy changes to the SWB when all 3 prs are merged. Before that we should not set them to production.

Sorry, I used wrong word. I should use deploy instead of merge. Apologies. You did correctly.
We are doing things correctly in correct order.

Just wanna know one thing, can we merge all the 3 prs and deploy them later simultaneously when the time comes (after bootstrap prs are merged)?
We are not deploying things so this will not break any consistency. What do you suggest Jeff?

Hmm, maybe! But how long can we wait, maximum?

On Thu, May 9, 2019, 2:22 PM Sidharth Bansal notifications@github.com
wrote:

Just wanna know one thing, can we merge all the 3 prs and deploy them
later simultaneously when the time comes (after bootstrap prs are merged)?
We are not deploying things so this will not break any consistency. What
do you suggest Jeff?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652#issuecomment-491012946,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAF6JYDP3N3JSUL6UJAIMDPURTTJANCNFSM4HKGL2SQ
.

I mean like worst case scenario :-)

On Thu, May 9, 2019, 2:41 PM Jeffrey Warren jeff@unterbahn.com wrote:

Hmm, maybe! But how long can we wait, maximum?

On Thu, May 9, 2019, 2:22 PM Sidharth Bansal notifications@github.com
wrote:

Just wanna know one thing, can we merge all the 3 prs and deploy them
later simultaneously when the time comes (after bootstrap prs are merged)?
We are not deploying things so this will not break any consistency. What
do you suggest Jeff?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652#issuecomment-491012946,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAF6JYDP3N3JSUL6UJAIMDPURTTJANCNFSM4HKGL2SQ
.

We can wait as much as we want. We just need these 3 prs to be merged at any time before deployment(plots, mk, & swb). Does this makes sense?

yep, thanks! Just trying to coordinate all the scheduling and proper
checking :-)

On Thu, May 9, 2019 at 2:50 PM Sidharth Bansal notifications@github.com
wrote:

We can wait as much as we want. We just need these 3 prs to be merged at
any time before deployment(plots, mk, & swb). Does this makes sense?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652#issuecomment-491022638,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAF6J46CKLIUSFMWK3SGYDPURW4JANCNFSM4HKGL2SQ
.

No hurry!!! Take your time Jeff.
Reviewing some PRs and issues. Trying to coordinate and make groups for people in the meantime.
I hope this will help you a little.
Thanks

thank you!

On Thu, May 9, 2019 at 3:04 PM Sidharth Bansal notifications@github.com
wrote:

No hurry!!! Take your time Jeff.
Reviewing some PRs and issues. Trying to coordinate and make groups for
people in the meantime.
I hope this will help you a little.
Thanks


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652#issuecomment-491027553,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAF6J65GZFNJCAWNART3K3PURYTRANCNFSM4HKGL2SQ
.

OK, we are going to try to do this tomorrow.

Thanks @jywarren for merging all the three PRs.

OK, we weren't able to complete this; a range of issues held us back on MapKnitter; we fixed a number of bugs and configuration issues, but ultimately ran out of time for today. We've scheduled to try again on Monday at 4pm ET (8pm UTC).

We got the point where we are testing that MapKnitter exports work on this map: http://mapknitter-stable.laboratoriopublico.org/maps/test--226

We completed upgrading the slider UI, the Dockerfile, export folder creation, and we got exports to run, although we didn't confirm that they completed.

I believe the spot we're stuck at is getting MapKnitter to boot properly using Passenger in the container, and getting this page to load:

http://mapknitter-stable.laboratoriopublico.org/maps/test--226

Once we resolve that, we can move forward with:

  • [x] testing that exports generate properly
  • [x] deploying MapKnitter, SWB, and PublicLab.org together
  • [x] testing all three for basic login
  • [ ] testing all three for OAuth login
  • [x] testing MapKnitter exporting in production

Then we'll be good! That's it for today, folks, thanks for your patience and we'll give it another go on Monday afternoon.

Great
Best of luck

On Sat, May 11, 2019, 4:44 AM Jeffrey Warren notifications@github.com
wrote:

OK, we weren't able to complete this; a range of issues held us back on
MapKnitter; we fixed a number of bugs and configuration issues, but
ultimately ran out of time for today. We've scheduled to try again on
Monday at 4pm ET (8pm UTC).

We got the point where we are testing that MapKnitter exports work on this
map: http://mapknitter-stable.laboratoriopublico.org/maps/test--226

We completed upgrading the slider UI, the Dockerfile, export folder
creation, and we got exports to run, although we didn't confirm that they
completed.

I believe the spot we're stuck at is getting MapKnitter to boot properly
using Passenger in the container, and getting this page to load:

http://mapknitter-stable.laboratoriopublico.org/maps/test--226

Once we resolve that, we can move forward with:

  • testing that exports generate properly
  • deploying MapKnitter, SWB, and PublicLab.org together
  • testing all three for basic login
  • testing all three for OAuth login
  • testing MapKnitter exporting in production

Then we'll be good! That's it for today, folks, thanks for your patience
and we'll give it another go on Monday afternoon.


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652#issuecomment-491454845,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFAAEQ5IMJORE7TTICRPM4LPUX6WNANCNFSM4HKGL2SQ
.

Deployment is complete! All live now.

I did find one odd thing. When logging in via GitHub OAuth from MapKnitter, i keep getting directed to Spectral Workbench's dashboard. The sequence is this:

  1. go to MK.org and press github oauth button
  2. log into github
  3. directed to (logged in) PL.org/dashboard
  4. went to SWB, logged in with github button
  5. got back to SWB dash
  6. tried to open MK.org but wasn't logged in there. Pressed GitHub again
  7. directed to SWB dashboard
  8. repeated 6 and 7 with same result

This was a complex path so I'll try again with a simpler sequence.

Repeated just using GH OAuth to log in from MapKnitter. I got sent to PL.org/dashboard.

Good news is that Log in with PL.org is working for both MK and SWB. That's perfect. Looks like there are some oddities with Oauth login however.

On Twitter OAuth from SWB, I got to this page and got stuck in an infinite refresh loop:

image

Same for MK using Twitter OAuth:

image

I don't have a FB account so didn't test that.

Using Google Oauth login from SWB got me to PL.org/dashboard. Interestingly it redirected through this URL: https://accounts.youtube.com/accounts/SetSID.

Google OAuth from MK.org also got me logged into PL.org and left at the dashboard.

OK, so to sum up:

  1. both OpenID logins to PL.org work fine!
  2. Google Oauth logs into PL.org but leaves you at the dashboard
  3. GitHub OAuth logs into PL.org but leaves you at the dashboard
  4. Twitter OAuth gets into an infinite refresh loop

This is pretty good, @SidharthBansal ! It looks like just some minor things to work out, but overall I'm really happy with how this went!

Oh, and also clicking PL button at SWB and /creating/ a new account worked fine too! Same with MK.

I also tried the same. It is really weird behaviour.
I will check whats going on after my NLP exam today.
Apologies for the errors. Will fix it in the evening.

Please check the fields which are completed.
Thanks

OK, collecting all leftover checklist items:

  • [x] MK production recaptcha key
  • [x] testing all three for OAuth login (GH/Google for leaving you at the dashboard)
  • [x] figure out Twitter OAuth refresh loop
  • [x] need to display validation errors in MK/SWB (https://github.com/publiclab/plots2/issues/5734)

Thanks, and good luck with your exam!!!!

@jywarren the following are also working fine.

  • [x] User is logged in at PL and tries to login at MK through Twitter(Twitter is logged in)
  • [x] User is logged in at PL and tries to login at MK through Facebook(Facebook is logged in)
  • [x] User is logged in at PL and tries to login at MK through Github(Github is logged in)
  • [x] User is logged in at PL and tries to login at MK through Google(Google is logged in)
  • [x] User is logged in at PL and tries to login at MK through Login Via PL

  • [x] User is logged in at PL and tries to login at SWB through Twitter(Twitter is logged in)

  • [x] User is logged in at PL and tries to login at SWB through Google(Google is logged in)
  • [x] User is logged in at PL and tries to login at SWB through Facebook(Facebook is logged in)
  • [x] User is logged in at PL and tries to login at SWB through Github(Github is logged in)

  • [x] User is logged in at PL and tries to login at MK through Twitter(Twitter is not logged in)

  • [x] User is logged in at PL and tries to login at MK through Facebook(Facebook is not logged in)
  • [x] User is logged in at PL and tries to login at MK through Github(Github is not logged in)
  • [x] User is logged in at PL and tries to login at MK through Google(Google is not logged in)

  • [x] User is logged in at PL and tries to login at MK through Login Via PL

  • [x] User is logged in at PL and tries to login at SWB through Twitter(Twitter is not logged in)

  • [x] User is logged in at PL and tries to login at SWB through Google(Google is not logged in)
  • [x] User is logged in at PL and tries to login at SWB through Facebook(Facebook is not logged in)
  • [x] User is logged in at PL and tries to login at SWB through Github(Github is not logged in)

Other flows for MK

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses Login form at PL for logging in
  • [x] User is not logged in at PL and tries to use Login Via PL. Uses Signup form at PL for logging in

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses Google Provider at PL for logging in.
    Google Provider already linked to some account. Then that account is logged in at PL and MK

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses Google Provider at PL for logging in.
    Google Provider is not linked to any account. Check for email linked with Google Provider. Link with the PL account having same email if email exists in the PL database
  • [x] User is not logged in at PL and tries to use Login Via PL. Uses Google Provider at PL for logging in.
    Google Provider is not linked to any account. Check for email linked with Google Provider. Email doesn't exist in the PL database then create an account with that email and link provider with that email. Login MK user.

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses Twitter Provider at PL for logging in.
    Twitter Provider already linked to some account. Then that account is logged in at PL and MK

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses Twitter Provider at PL for logging in.
    Twitter Provider is not linked to any account. Check for email linked with Twitter Provider. Link with the PL account having same email if email exists in the PL database
  • [x] User is not logged in at PL and tries to use Login Via PL. Uses Twitter Provider at PL for logging in.
    Twitter Provider is not linked to any account. Check for email linked with Twitter Provider. Email doesn't exist in the PL database then create an account with that email and link provider with that email. Login MK user.

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses GH Provider at PL for logging in.
    GH Provider already linked to some account. Then that account is logged in at PL and MK

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses GH Provider at PL for logging in.
    GH Provider is not linked to any account. Check for email linked with GH Provider. Link with the PL account having same email if email exists in the PL database
  • [x] User is not logged in at PL and tries to use Login Via PL. Uses GH Provider at PL for logging in.
    GH Provider is not linked to any account. Check for email linked with GH Provider. Email doesn't exist in the PL database then create an account with that email and link provider with that email. Login MK user.

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses FB Provider at PL for logging in.
    FB Provider already linked to some account. Then that account is logged in at PL and MK

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses FB Provider at PL for logging in.
    FB Provider is not linked to any account. Check for email linked with FB Provider. Link with the PL account having same email if email exists in the PL database
  • [x] User is not logged in at PL and tries to use Login Via PL. Uses FB Provider at PL for logging in.
    FB Provider is not linked to any account. Check for email linked with FB Provider. Email doesn't exist in the PL database then create an account with that email and link provider with that email. Login MK user.

Other flows for SWB

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses Login form at PL for logging in
  • [x] User is not logged in at PL and tries to use Login Via PL. Uses Signup form at PL for logging in

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses Google Provider at PL for logging in.
    Google Provider already linked to some account. Then that account is logged in at PL and MK

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses Google Provider at PL for logging in.
    Google Provider is not linked to any account. Check for email linked with Google Provider. Link with the PL account having same email if email exists in the PL database
  • [x] User is not logged in at PL and tries to use Login Via PL. Uses Google Provider at PL for logging in.
    Google Provider is not linked to any account. Check for email linked with Google Provider. Email doesn't exist in the PL database then create an account with that email and link provider with that email.

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses Twitter Provider at PL for logging in.
    Twitter Provider already linked to some account. Then that account is logged in at PL and MK

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses Twitter Provider at PL for logging in.
    Twitter Provider is not linked to any account. Check for email linked with Twitter Provider. Link with the PL account having same email if email exists in the PL database
  • [x] User is not logged in at PL and tries to use Login Via PL. Uses Twitter Provider at PL for logging in.
    Twitter Provider is not linked to any account. Check for email linked with Twitter Provider. Email doesn't exist in the PL database then create an account with that email and link provider with that email.

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses GH Provider at PL for logging in.
    GH Provider already linked to some account. Then that account is logged in at PL and MK

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses GH Provider at PL for logging in.
    GH Provider is not linked to any account. Check for email linked with GH Provider. Link with the PL account having same email if email exists in the PL database
  • [x] User is not logged in at PL and tries to use Login Via PL. Uses GH Provider at PL for logging in.
    GH Provider is not linked to any account. Check for email linked with GH Provider. Email doesn't exist in the PL database then create an account with that email and link provider with that email.

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses FB Provider at PL for logging in.
    FB Provider already linked to some account. Then that account is logged in at PL and MK

  • [x] User is not logged in at PL and tries to use Login Via PL. Uses FB Provider at PL for logging in.
    FB Provider is not linked to any account. Check for email linked with FB Provider. Link with the PL account having same email if email exists in the PL database
  • [x] User is not logged in at PL and tries to use Login Via PL. Uses FB Provider at PL for logging in.
    FB Provider is not linked to any account. Check for email linked with FB Provider. Email doesn't exist in the PL database then create an account with that email and link provider with that email.

As per https://github.com/publiclab/plots2/issues/5652#issuecomment-492480385, shall I assume that all the above flows are tested by you?
I hope these all are working properly.
I have ticked those which I checked are working correctly.

Other flows to be tested OR giving errors for MK

Consider PL is not logged in for sure. User will use provider buttons at MK directly

  • [x] User is not logged in at PL and tries to use Google Provider
    Google Provider already linked to some account. Then that account is logged in at PL and MK
  • [x] User is not logged in at PL and tries to use Google Provider
    Google Provider is not linked to any account. Check for email linked with Google Provider. Link with the PL account having same email if email exists in the PL database
  • [x] User is not logged in at PL and tries to use Google Provider
    Google Provider is not linked to any account. Check for email linked with Google Provider. Email doesn't exist in the PL database then create an account with that email and link provider with that email.

  • [x] User is not logged in at PL and tries to use Twitter Provider
    Twitter Provider already linked to some account. Then that account is logged in at PL and MK

  • [x] User is not logged in at PL and tries to use Twitter Provider.
    Twitter Provider is not linked to any account. Check for email linked with Twitter Provider. Link with the PL account having same email if email exists in the PL database
  • [x] User is not logged in at PL and tries to use Twitter Provider
    Twitter Provider is not linked to any account. Check for email linked with Twitter Provider. Email doesn't exist in the PL database then create an account with that email and link provider with that email.

  • [x] User is not logged in at PL and tries to use GH Provider
    GH Provider already linked to some account. Then that account is logged in at PL and MK

  • [x] User is not logged in at PL and tries to use GH Provider
    GH Provider is not linked to any account. Check for email linked with GH Provider. Link with the PL account having same email if email exists in the PL database
  • [x] User is not logged in at PL and tries to use GH Provider
    GH Provider is not linked to any account. Check for email linked with GH Provider. Email doesn't exist in the PL database then create an account with that email and link provider with that email.

  • [x] User is not logged in at PL and tries to use FB Provider
    FB Provider already linked to some account. Then that account is logged in at PL and MK

  • [x] User is not logged in at PL and tries to use FB Provider
    FB Provider is not linked to any account. Check for email linked with FB Provider. Link with the PL account having same email if email exists in the PL database
  • [x] User is not logged in at PL and tries to use FB Provider
    FB Provider is not linked to any account. Check for email linked with FB Provider. Email doesn't exist in the PL database then create an account with that email and link provider with that email.

I am considering whether or not provider(GH,FB etc) is logged in can be taken as single test case. Their sign up/login should depend on their architecture so we can't play with that.

Other flows to be tested OR giving errors for SWB

Consider PL is not logged in for sure. User will use provider buttons at SWB directly

  • [x] User is not logged in at PL and tries to use Google Provider
    Google Provider already linked to some account. Then that account is logged in at PL and MK
  • [x] User is not logged in at PL and tries to use Google Provider
    Google Provider is not linked to any account. Check for email linked with Google Provider. Link with the PL account having same email if email exists in the PL database
  • [x] User is not logged in at PL and tries to use Google Provider
    Google Provider is not linked to any account. Check for email linked with Google Provider. Email doesn't exist in the PL database then create an account with that email and link provider with that email.

  • [x] User is not logged in at PL and tries to use Twitter Provider
    Twitter Provider already linked to some account. Then that account is logged in at PL and MK

  • [x] User is not logged in at PL and tries to use Twitter Provider.
    Twitter Provider is not linked to any account. Check for email linked with Twitter Provider. Link with the PL account having same email if email exists in the PL database
  • [x] User is not logged in at PL and tries to use Twitter Provider
    Twitter Provider is not linked to any account. Check for email linked with Twitter Provider. Email doesn't exist in the PL database then create an account with that email and link provider with that email.

  • [x] User is not logged in at PL and tries to use GH Provider
    GH Provider already linked to some account. Then that account is logged in at PL and MK

  • [x] User is not logged in at PL and tries to use GH Provider
    GH Provider is not linked to any account. Check for email linked with GH Provider. Link with the PL account having same email if email exists in the PL database
  • [x] User is not logged in at PL and tries to use GH Provider
    GH Provider is not linked to any account. Check for email linked with GH Provider. Email doesn't exist in the PL database then create an account with that email and link provider with that email.

  • [x] User is not logged in at PL and tries to use FB Provider
    FB Provider already linked to some account. Then that account is logged in at PL and MK

  • [x] User is not logged in at PL and tries to use FB Provider
    FB Provider is not linked to any account. Check for email linked with FB Provider. Link with the PL account having same email if email exists in the PL database
  • [x] User is not logged in at PL and tries to use FB Provider
    FB Provider is not linked to any account. Check for email linked with FB Provider. Email doesn't exist in the PL database then create an account with that email and link provider with that email.

I am considering whether or not provider(GH,FB etc) is logged in can be taken as single test case. Their sign up/login should depend on their architecture so we can't play with that.

In above 70+ test cases, all should land to the MK or SWB.
They all are similar but little different. So, we need to ensure all of them.

On clicking on the icons on the SWB the following error comes SOMETIMES
image

I really don't know why it is SOMETIMES.
I have invested 7 hours trying to debug it but in vain.

@jywarren please see https://github.com/publiclab/plots2/pull/5640. I don't know why there are 45 files .

I checked there is no overlapping area in that PR with the changes you introduce. Trying to get what happened and where.

When we will deploy the code of PL next time? I think my little PR will work out many test cases.

@jywarren found this error in SWB
image

google ask me to refer
a2bd770f6d3b402dfb70ae24460014bf44c41abe
image
Trying to debug it. It has been 8-9 hours today. Very tough to know what has happened. But I hope we will find what's behind the scenes.
One strange thing
image
but
image
please explain this to me. I can't understand many things are going on simultaneously. Sorry for the inconvinience.

Oh goodness, first - thank you! I think given that people can log in with
PL.org and the other methods are new, we are no longer at extreme urgency -
one thing we could do is to hide the OAuth logins that /don't/ work, for
now. So, you can focus on your exams too.

Second, the validation - it's a small thing, not high priority. I think it
was that when logging in with OAuth and when it uses your email from your
OAuth provider, if the email already exists as an account in MK/SWB, it
doesn't validate because the email is not unique. But we don't display any
validation errors when redirecting back to MK. Honestly i don't really know
how this would be the case unless someone somehow managed to have 2 PL
accounts, but switched their PL email or something? I think it's small
enough that we could probably ignore it, i just thought displaying
validation messages in flash might be nice.

Not sure what sequence brought you to the SWB error but indeed it also
looks like a validation error due to an already-used email address. I think
this is unlikely to happen in production since most people have only one
account.

Hmm. On session type missing, i really don't know!

Please review it tomorrow or next week in your free time. No hurry.

hide the OAuth logins that /don't/ work,

I have merged #5731 in plots2. I think we will not require to hide the icons. Major issues will be resolved by this PR, I guess. Localhost is working for major portions now.

Point to note
image
THis is for MK and we are able to login with the GH perfectly fine.

image
This is for SWB but we are not able to do the login successfully.

Problem is here with SWB
image

image
Please check the image carefully @jywarren. In the identity url we stored HTTS://PUBLICLAB.ORG/openid/user_name.
Now I came to know what's going on with these 3 environments(unstable, prod and dev). We use localhost:3000/openid/username for the development, which is different and hence 2 identity url for same email, which is ambigous.

Query Resolved it was really tough this time. It took 2 days to resolve validation query.
image

Try the following.

  1. Login with SWB with PL any provider with help of localhost connected in user_session_controller
  2. Login with SWB with PL any provider with help of publiclab connected in user_session_controller
    You will be logged in atmost one time. Identity url can take either production or dev url which creates the problem and shows 2 Emails can't be taken.
    One possible solution to this existing problem is creation of array of identity url instead of string.

But I have never saved arrays in the database. I think we cannot do it. Yeah we can't do it.

I assume the system will be corrected once you deploy plots2 again. I checked Google, GH and FB are working fine.
I am not able to login to pl.org with twitter. Are you also facing the same problem?
I think there is a problem with the twitter app which we created, in case you are also not able to login to pl.org from twitter provider. We may need to update it.

OK, publication is almost complete on production after i triggered it an hour or so ago. We should loop back and check these!

Please send the server logs.
Kindly follow:

  1. Public Lab is not logged in
  2. Click on Google on MK.
    Please place the screeshot of the server output here.

https://github.com/publiclab/plots2/issues/5652#issuecomment-495925964
please follow these steps after pushing https://github.com/publiclab/plots2/pull/5791 to prod. I am really sorry about the trouble you are facing. As this is only happening on prod we need to bear with it until it gets resolved.

When are you planning to publish the source code next time to prod?

We can check these test cases that day. All above test cases are working fine on the localhost. I checked it yesterday.

Great, we'll be publishing any minute!

On Tue, May 28, 2019 at 8:25 AM Sidharth Bansal notifications@github.com
wrote:

We can check these test cases that day. All above test cases are working
fine on the localhost. I checked it yesterday.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652?email_source=notifications&email_token=AAAF6J5PUFWI77WZ7JZJVOLPXUQAJA5CNFSM4HKGL2S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWL6MNY#issuecomment-496494135,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAF6J2HJBS4DENA43M6GILPXUQAJANCNFSM4HKGL2SQ
.

I have checked around 25 flows. They are functioning properly.

Investigating on it since many days.
Observation till now: Sign in through provider redirects to the home page of Public Lab always.
To do: Redirect to the existing page.

I think that the above problem is priority one for completion of the issue.
Trying to fix it.

6233 will solve major bugs in this issue!

@Uzay-G kindly read this in your free time

@VladimirMikulic @Uzay-G let's quickly close this bigger issue this GCI
Thanks both of you for working on parts of Login/Signup and OAuth milestone. I really appreciate your help

@SidharthBansal no problem. Together we are going to complete this milestone 💎

Yeah I look forward to solving this with @VladimirMikulic :smile:

This was almost solved. We are just having some trouble at the production.
I resolved and ticked a lot of checkboxes to narrow it down.

On Sun, Jan 12, 2020 at 9:07 PM Uzay-G notifications@github.com wrote:

Yeah I look forward to solving this 😄


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652?email_source=notifications&email_token=AFAAEQ4KHRJGHY65C23X6HTQ5M2K5A5CNFSM4HKGL2S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIW4YNY#issuecomment-573426743,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAAEQZPCQYVSAKX64Z6AN3Q5M2K5ANCNFSM4HKGL2SQ
.

I think this issue is resolved now. Just we need to check them

I think we can close this.
Kindly check the above errors if they still exists. If no error is present then feel free to close it

Yeah I think we can close this @SidharthBansal

Can you please check through the unresolved comments?
If still something is unresolved then we can fix it.

On Wed, 15 Jan 2020, 11:44 pm Uzay-G, notifications@github.com wrote:

Yeah I think we can close this @SidharthBansal
https://github.com/SidharthBansal


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652?email_source=notifications&email_token=AFAAEQ6WNXOMOHGDU32QIZTQ55G7LA5CNFSM4HKGL2S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJBILEI#issuecomment-574784913,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAAEQZS6QWTESKWSX624XTQ55G7LANCNFSM4HKGL2SQ
.

I assume the system will be corrected once you deploy plots2 again. I checked Google, GH and FB are working fine.
I am not able to login to pl.org with twitter. Are you also facing the same problem?
I think there is a problem with the twitter app which we created, in case you are also not able to login to pl.org from twitter provider. We may need to update it.

I can't check this one because I have no twitter account... The other problems seem to be resolved.
Could you just explain this one:

One error is now it is triggering

https://github.com/publiclab/plots2/blob/d06f59460edf0424a6edbfc4000ac8444145fc5d/app/controllers/openid_controller.rb#L78

this line not the Signed in line.

Do you remember what the error was?

You can create a Twitter account too and test if you want
Thanks

On Thu, 16 Jan 2020, 12:03 am Uzay-G, notifications@github.com wrote:

I assume the system will be corrected once you deploy plots2 again. I
checked Google, GH and FB are working fine.
I am not able to login to pl.org with twitter. Are you also facing the
same problem?
I think there is a problem with the twitter app which we created, in case
you are also not able to login to pl.org from twitter provider. We may
need to update it.

I can't check this one because I have no twitter account... The other
problems seem to be resolved.
Could you just explain this one:

One error is now it is triggering

https://github.com/publiclab/plots2/blob/d06f59460edf0424a6edbfc4000ac8444145fc5d/app/controllers/openid_controller.rb#L78

this line not the Signed in line.

Do you remember what the error was?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652?email_source=notifications&email_token=AFAAEQ6SIPSE33C5SWN7SZLQ55JIZA5CNFSM4HKGL2S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJBKJCY#issuecomment-574792843,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAAEQ34VULV3JI26YG7JB3Q55JIZANCNFSM4HKGL2SQ
.

No infinite looping of twitter right now. However, there will be some looping at twitter.

Noticeable problems:
1) User SIGNS IN at MK OR SWB should result in dashboard at Public Lab. Flash notices are missing
2) Session url missing should not come
3) Redirects to MK page instead of pl.org page
4) Twitter looping for some time(not infinite looping)
5) Recaptcha hash
6) User is redirecting to MK after signing in to SWB or vice versa

Noticeable problems:

1. User SIGNS IN at MK OR SWB should result in dashboard at Public Lab. Flash notices are missing

2. Session url missing should not come

3. Redirects to MK page instead of pl.org page

4. Twitter looping for some time(not infinite looping)

5. Recaptcha hash

6. User is redirecting to MK after signing in to SWB or vice versa

Are these problems people have noticed recently that we need to fix or should we check if they still exist?

We found these problems few month ago so we need to fix

On Fri, 17 Jan 2020, 1:29 am Uzay-G, notifications@github.com wrote:

Noticeable problems:

  1. User SIGNS IN at MK OR SWB should result in dashboard at Public Lab. Flash notices are missing

  2. Session url missing should not come

  3. Redirects to MK page instead of pl.org page

  4. Twitter looping for some time(not infinite looping)

  5. Recaptcha hash

  6. User is redirecting to MK after signing in to SWB or vice versa

Are these problems people have noticed recently that we need to fix or
should we check if they still exist?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652?email_source=notifications&email_token=AFAAEQ2GZM56WVGLUSN5FKLQ6C4AXA5CNFSM4HKGL2S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJFLAXA#issuecomment-575320156,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAAEQYIHG3LGQXXWUHIJOLQ6C4AXANCNFSM4HKGL2SQ
.

@VladimirMikulic you can help @Uzay-G here too. I know it is rails stuff and may be complicated for you to handle. But I think we can do it together 😊

Thank you for inviting me to the party. I'll be glad to assist you :)

Lol

On Mon, 20 Jan 2020, 9:21 am Vladimir Mikulic, notifications@github.com
wrote:

Thank you for inviting me to the party. I'll be glad to assist you :)


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652?email_source=notifications&email_token=AFAAEQYJMDVSYEZJHW7SE43Q6UNURA5CNFSM4HKGL2S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJLILDQ#issuecomment-576095630,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAAEQ6QDOQ2Z2JKHWLBTFLQ6UNURANCNFSM4HKGL2SQ
.

Noticeable problems:

1. User SIGNS IN at MK OR SWB should result in dashboard at Public Lab. Flash notices are missing

2. Session url missing should not come

3. Redirects to MK page instead of pl.org page

4. Twitter looping for some time(not infinite looping)

5. Recaptcha hash

6. User is redirecting to MK after signing in to SWB or vice versa

When you helped me setup the oauth system locally, I saw that 1 and 6 were not a problem. When I logged in or signed up through MK or SWB the redirection was working correctly. What is the problem with no 3?

I think 3 is solved. Let's focus on the rest then

On Tue, 21 Jan 2020, 3:06 am Uzay-G, notifications@github.com wrote:

Noticeable problems:

  1. User SIGNS IN at MK OR SWB should result in dashboard at Public Lab. Flash notices are missing

  2. Session url missing should not come

  3. Redirects to MK page instead of pl.org page

  4. Twitter looping for some time(not infinite looping)

  5. Recaptcha hash

  6. User is redirecting to MK after signing in to SWB or vice versa

When you helped me setup the oauth system locally, I saw that 1 and 6 were
not a problem. When I logged in or signed up through MK or SWB the
redirection was working correctly. What is the problem with no 3?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652?email_source=notifications&email_token=AFAAEQ3WFBE5DVQJKOYX2BLQ6YKNRA5CNFSM4HKGL2S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJN3YCQ#issuecomment-576437258,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAAEQ5W4FV52IZXL3SUW3TQ6YKNRANCNFSM4HKGL2SQ
.

Alright :+1:. Number 2 is an error when logging in through MK or SWB?

Yes

On Wed, 22 Jan 2020, 3:24 am Uzay-G, notifications@github.com wrote:

Alright 👍. Number 2 is an error when logging in through MK or SWB?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652?email_source=notifications&email_token=AFAAEQ4XDLOILGFKBQTKZ3TQ65VJ3A5CNFSM4HKGL2S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJRM4TQ#issuecomment-576900686,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAAEQ3PUM224O7ILQENYBLQ65VJ3ANCNFSM4HKGL2SQ
.

Oh wait. I actually have noticed a problem. I could not find the session error but currently, logging in through MK or SWB with oauth redirects to dashboard. Normal login does not.

I am going to setup the multi-oauth system again locally to see if I have the same problem :+1:

You found the problem. Great! Let's fix this

On Wed, Jan 22, 2020 at 12:15 PM Uzay-G notifications@github.com wrote:

Oh wait. I actually have noticed a problem. I could not find the session
error but currently, logging in through MK or SWB with oauth redirects to
dashboard. Normal login does not.

I am going to setup the multi-oauth system again locally to see if I have
the same problem 👍


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652?email_source=notifications&email_token=AFAAEQ2T5JMSO4DXLB7MJBDQ67TSJA5CNFSM4HKGL2S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJSNK3A#issuecomment-577033580,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAAEQYTSYYNUZMUGSE4JI3Q67TSJANCNFSM4HKGL2SQ
.

The redirection is working for MK locally. Maybe we haven't deployed to
production for fixes to take effect?

On Wed, Jan 22, 2020 at 10:33 AM Sidharth Bansal notifications@github.com
wrote:

You found the problem. Great! Let's fix this

On Wed, Jan 22, 2020 at 12:15 PM Uzay-G notifications@github.com wrote:

Oh wait. I actually have noticed a problem. I could not find the session
error but currently, logging in through MK or SWB with oauth redirects to
dashboard. Normal login does not.

I am going to setup the multi-oauth system again locally to see if I have
the same problem 👍


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/publiclab/plots2/issues/5652?email_source=notifications&email_token=AFAAEQ2T5JMSO4DXLB7MJBDQ67TSJA5CNFSM4HKGL2S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJSNK3A#issuecomment-577033580
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AFAAEQYTSYYNUZMUGSE4JI3Q67TSJANCNFSM4HKGL2SQ

.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652?email_source=notifications&email_token=AMTREYKYQPZNFUE4EC7B6Z3Q7AHF3A5CNFSM4HKGL2S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJS3UVI#issuecomment-577092181,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMTREYPLBXJFG2MUCWGEZS3Q7AHF3ANCNFSM4HKGL2SQ
.

Yeah we haven't deployed plots2 yet.
You can try to complete the system test task until the GCI deadline. We can
come back here again :-)
Let's focus on it.

On Wed, Jan 22, 2020 at 10:39 PM Uzay-G notifications@github.com wrote:

The redirection is working for MK locally. Maybe we haven't deployed to
production for fixes to take effect?

On Wed, Jan 22, 2020 at 10:33 AM Sidharth Bansal >
wrote:

You found the problem. Great! Let's fix this

On Wed, Jan 22, 2020 at 12:15 PM Uzay-G notifications@github.com
wrote:

Oh wait. I actually have noticed a problem. I could not find the
session
error but currently, logging in through MK or SWB with oauth redirects
to
dashboard. Normal login does not.

I am going to setup the multi-oauth system again locally to see if I
have
the same problem 👍


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<

https://github.com/publiclab/plots2/issues/5652?email_source=notifications&email_token=AFAAEQ2T5JMSO4DXLB7MJBDQ67TSJA5CNFSM4HKGL2S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJSNK3A#issuecomment-577033580

,
or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AFAAEQYTSYYNUZMUGSE4JI3Q67TSJANCNFSM4HKGL2SQ
>

.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/publiclab/plots2/issues/5652?email_source=notifications&email_token=AMTREYKYQPZNFUE4EC7B6Z3Q7AHF3A5CNFSM4HKGL2S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJS3UVI#issuecomment-577092181
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AMTREYPLBXJFG2MUCWGEZS3Q7AHF3ANCNFSM4HKGL2SQ

.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/5652?email_source=notifications&email_token=AFAAEQZLDRPB2VRP4DIR753Q7B4WFA5CNFSM4HKGL2S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJULSHI#issuecomment-577288477,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAAEQ7VLOWPM24OY6AXIMLQ7B4WFANCNFSM4HKGL2SQ
.

SWB working perfectly fine now. No redirecting back to publiclab.org :tada:

mapknitter working perfectly fine now 🚀

:rocket: :tada:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shapironick picture shapironick  ·  3Comments

divyabaid16 picture divyabaid16  ·  3Comments

noi5e picture noi5e  ·  3Comments

grvsachdeva picture grvsachdeva  ·  3Comments

grvsachdeva picture grvsachdeva  ·  3Comments