opened
algh37
username_0
!!!Note
Unless you are Gluu staff, please first review and open an issue on https://support.gluu.org before opening an issue here. Thanks!


## Describe the issue
A clear and concise description of what the issue is.

## Steps To Reproduce
Steps to reproduce the behavior:
1) on server side:  install Gluu Server 3.1.6 on test *.dev domain. + Start the Gluu Server and Log In + Run setup.py
2) on server side: reboot Server OS -> $ sudo shutdown -r now
3) on client side: try to access into test *.dev domain. (that is impossible by reason https://stackoverflow.com/questions/33268264/chromethe-website-uses-hsts-network-errors-this-page-will-probably-work-late/33269424).
4) on server side: do https://gluu.org/docs/ce/3.1.5/installation-guide/install/#uninstallation
# sudo service gluu-server-3.1.6 stop
# sudo apt-get remove --purge gluu-server-3.1.6
5) on server side: change from *.dev to https://*.test zones via:  
$ sudo nano /etc/hostname
$ sudo nano /etc/hosts
6) on server side: reboot Server OS -> $ sudo shutdown -r now
7) on server side: reinstall again Gluu Server 3.1.6 on test *.dev domain. + Start the Gluu Server and Log In + Run setup.py.
8) on server side: reboot Server OS -> $ sudo shutdown -r now
9) on server side: do action as described in: https://github.com/GluuFederation/oxAuth/issues/1022
10) on client side: try to access into test https://*.test domain and sign in under admin user in normal mode.
11) on client side: sign out under admin user. - detect some problems (impossible to fully signout (screen 1) ) - **sub_bug1.**
12) on client side: clean all data from browser & close browser.
13) on client side: reopen browser.
14) on server side: -> $ sudo shutdown -r now
15) on server side: -> sign in under user.
16) on server side: -> check gluu server status:
$ sudo service –status-all
17) on client side: go on: https://*.test
18) on client side: try to sign in under admin user in normal mode.
18.1) See the error: 'Failed to authenticate'.  - **sub_bug2**
19) on client side: try again sign in under admin user
19.1) See the same error again: 'Failed to authenticate'.  - **sub_bug2**

## Expected behavior
Sign in under active admin user should be possible and error 'Failed to authenticate' should be absent.

## Actual behavior
Impossible to sign in under admin user on page 'https://**test_domain_name***/oxauth/login.htm' with error: 'Failed to authenticate.'

2019-02-25 12:26:07,781 INFO  [qtp804611486-9] [org.xdi.oxauth.auth.Authenticator] (Authenticator.java:209) - Authentication failed for 'admin'

## Screenshots


## Desktop:
* OS: Win 7 x64
* Browser = Chrome
* Version = 72.0.3626.109 (Official Build) (64-bit)

## Server:
* OS: Ubuntu Server 16.04.5 x64 LTS
* CE 3.1.6 (on test domain https://**test_domain_name***/)

## Smartphone (please complete the following information if applicable):
-

## Additional context
oxauth.log =
(Gluu Server CE 3.1.6) Impossible to sign in under admin user on page 'https://**test_domain_name***/oxauth/login.htm' with error: 'Failed to authenticate.'
issue
closed
willow9886
username_1
issue