ging / fiware-idm-deprecated

DEPRECATED - Identity Manager - Keyrock
Apache License 2.0
18 stars 25 forks source link

Docker image logging issues #87

Open emepetres opened 6 years ago

emepetres commented 6 years ago

Using the latest docker image, I encounter two problems:

The pertinent logs for each issue can be found here.

zabuTNT commented 6 years ago

From my experience I can report these: 1) the user have to be confirmed by email. So you have to edit your setting to enable email.

edit this file (accessing from docker volume)

/horizon/openstack_dashboard/local/local_settings.py

and change emails settings with your smtp server, or gmail in my case:

EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'myemail@gmail.com'
EMAIL_HOST_PASSWORD = 'mypassword'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_USE_TLS = True 

EMAIL_USE_TLS could not exist in the file so if you need it, add this setting.

Now ask to resend the confirmation email with "Didn't receive confirmation instructions?" below the login form. You receive the email and validate the new user.

2) if you change idm user password you broke the horizon authentication with the backend (keyrock). You have to edit the setting file as before, and this time change the IDM user credential.

IDM_USER_CREDENTIALS = {
    'username': 'idm',
    'password': 'Your_New_Password',
    'project': 'idm',
}

Then reload the page in you browser and you can now login with the new password.

I hope these can help someone.