Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

[Bug Hunt] "OK" message is seen on logging out of the application. #63

Closed
CreeyaSean opened this issue Jul 12, 2020 · 8 comments
Closed
Assignees
Labels
bug Something isn't working high priority Must-fix issue

Comments

@CreeyaSean
Copy link

Steps to reproduce:

  1. Go to URL https://skill-search.topcoder-dev.com/ and login with valid credentials.
  2. Click on the name on right top and click on "logout".

Actual results:
"Ok" message is seen.

Expected results:
User should be redirected back to login page.

Browser version: Chrome: Version 83.0.4103.116

Screen shots:
1

login credential:
tonyj / appirio123

@CreeyaSean CreeyaSean changed the title "OK" message is seen on logging out of the application. [Bug Hunt] "OK" message is seen on logging out of the application. Jul 12, 2020
@callmekatootie
Copy link
Collaborator

@wdprice Valid bug? I think this is a config in auth0...

@callmekatootie
Copy link
Collaborator

Discussed with PM - Valid bug. We need to take user to login page

@callmekatootie callmekatootie added bug Something isn't working and removed question Further information is requested labels Jul 17, 2020
@wdprice wdprice added the high priority Must-fix issue label Jul 20, 2020
@wdprice wdprice added this to the v1.0 - Initial Launch milestone Jul 20, 2020
@callmekatootie callmekatootie self-assigned this Jul 21, 2020
@callmekatootie
Copy link
Collaborator

@wdprice The Auth0 config needs to be updated to white list the redirect urls - Reference

You need to add the following urls:

@wdprice
Copy link

wdprice commented Jul 27, 2020

@cwdcwd - can you help with Auth0 config on this?

@cwdcwd
Copy link
Contributor

cwdcwd commented Jul 27, 2020

@callmekatootie all set

@callmekatootie
Copy link
Collaborator

@cwdcwd Thanks! However, something seems to be wrong.

When we logout out of https://skill-search.topcoder-dev.com/, it takes the user to login page - and after login, the user is taken to localhost:3000 instead of https://skill-search.topcoder-dev.com/ ...

I checked the logout url that we call on logout. It is:

https://topcoder-dev.auth0.com/v2/logout?redirect=https%3A%2F%2Fskill-search.topcoder-dev.com.....

The redirect url is correct - but even then the actual redirect seems to be localhost....

@cwdcwd
Copy link
Contributor

cwdcwd commented Jul 27, 2020

the logout param is returnTo not redirect. See docs

@callmekatootie
Copy link
Collaborator

I cannot conclude why we used redirect instead of returnTo ... changed it now and it's resolve the issue. Sorry for the trouble!

cagdas001 pushed a commit to cagdas001/u-bahn-app that referenced this issue Jul 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working high priority Must-fix issue
Projects
None yet
Development

No branches or pull requests

4 participants