Spatial-hub/service has sign in/sign out issue
Opened this issue · 0 comments
Reproduce on https://spatial-dev.ala.org.au:
1, Make sure we sign out. Suggestion: Sign out from Spatial-service.
2, Go to https://spatial-dev.ala.org.au. Spatial will redirect to cognito-test for login, and it will pop up an error page with url: https://spatial-dev.ala.org.au/callback?client_name=OidcClient&code=b83a4db7-42aa-4b6f-9982-56454bb63374&state=84e8fc1eba
.
3, However, if we delete the 'callback', the Spatial-hub page shows up and it shows we sign in successfully.
4, then we go to: spatial-dev.ala.org.au/ws. The headers in common-ui shows we signed in properly, but when we click 'logout' button, it won't logout
5, However, if we go back to spatial-hub spatial-dev.ala.org.au
, we can logout properly. And if we go back to spatial-dev.ala.org.au/ws
, it will ask to sign in
Summary:
1, If we sign in from spatial-hub, we can only sign out from spatial-hub. we cannot sign out from spatial-service
2, if we sign in from spatial-service, it will have a callback error when we access spatial-hub. We can manually remove the 'callback' to access spatial-hub, and also it LOOKS we can sign out from spatial-hub, however, the header of spatial-service still show 'logout' button, and we still can use all functions which requires 'login'