[Fiware-tech-help] [Fiware-lab-help] Keyrock signup process authentication with gmail

Enrique Garcia Navalon garcianavalon at gmail.com
Thu Nov 26 10:52:10 CET 2015


Make sure those roles exist. You can use this call
http://docs.keyrock.apiary.io/#reference/keystone-extensions/rol/read-role-details

On Thu, 26 Nov 2015 at 10:49 zahos pap <zacpapac04 at gmail.com> wrote:

> Yes, the file local_settings.py contains the role as
>
> # Default FIWARE roles
> FIWARE_PURCHASER_ROLE_ID = 'e2bb7a63097a4a049956c5e89ca78c7b'
> FIWARE_PROVIDER_ROLE_ID = 'c8205243d642482587d4a9f8ad2a1de2'
>
>
>
> On Thu, Nov 26, 2015 at 11:27 AM, Enrique Garcia Navalon <
> garcianavalon at gmail.com> wrote:
>
>> In local_settings.py you should have a role configured under
>> e2bb7a63097a4a049956c5e89ca78c7b id. Make sure that role exists in
>> Keystone (which doesn't look like since you are getting a 404) Try fixing
>> taht and see if ther egistration works.
>>
>> BR,
>> Enrique
>>
>> On Thu, 26 Nov 2015 at 08:52 Giuseppe Cossu <
>> giuseppe.cossu at create-net.org> wrote:
>>
>>> Hi,
>>> I've forwarded the ticket to the GE owner, but I suppose Enrique can
>>> continue helping you.
>>>
>>> Regards,
>>> Giuseppe
>>>
>>> On Wed, Nov 25, 2015 at 7:27 PM, zahos pap <zacpapac04 at gmail.com> wrote:
>>>
>>>> Enrique,
>>>>
>>>> Unfortunately, we are trying to add to new user with no success.
>>>>
>>>> For example, the signup process for the user *zacpapac04 *has the
>>>> error as it described in page *ValueError at _sign_up_html*
>>>> Also we attach for you the result in page(back from signup to init page
>>>> with error *Error: *No Role found with id:
>>>> e2bb7a63097a4a049956c5e89ca78c7b (HTTP 404))
>>>>
>>>> Also we enable from the local_settings.py the next part of config
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'#
>>>> Configure these for your outgoing email hostEMAIL_HOST =
>>>> 'localhost'EMAIL_PORT = 25#EMAIL_HOST_USER = ''#EMAIL_HOST_PASSWORD = ''*
>>>> Any suggestions,
>>>>
>>>> Best Regards,
>>>> Zacharias,
>>>> BeeZon IoT Solutions,
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Nov 25, 2015 at 5:56 PM, Enrique Garcia Navalon <
>>>> garcianavalon at gmail.com> wrote:
>>>>
>>>>> Hi Zahos,
>>>>>
>>>>> The email sending uses Django's email module. The documentation here
>>>>> should cover all your questions
>>>>> https://docs.djangoproject.com/en/1.8/topics/email/#smtp-backend
>>>>>
>>>>> If you still find any problems let me know.
>>>>>
>>>>> Best regards,
>>>>> Enrique
>>>>>
>>>>>
>>>>> On Wed, 25 Nov 2015 at 16:52 zahos pap <zacpapac04 at gmail.com> wrote:
>>>>>
>>>>>> Hi Again Enrique,
>>>>>>
>>>>>> First of all we would like to thank you about the significant help in
>>>>>> our last issues about keyrock, and PiraeusN node performance.
>>>>>>
>>>>>> We have deployed the IDM-Keyrock in our lab (outside the FILAB) with
>>>>>> no problem.
>>>>>> Also we deployed an sending email application Postfix (very easily!)
>>>>>> and we got emails (gmail account).
>>>>>>
>>>>>> We would like to set the Keyrock to send email (used to sign-up
>>>>>> process and forget password)
>>>>>>
>>>>>> In setting.py and according to documentation we must unquote the next
>>>>>> lines
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *#EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'#
>>>>>> Configure these for your outgoing email host# EMAIL_HOST =
>>>>>> 'smtp.my-company.com <http://smtp.my-company.com>'# EMAIL_PORT = 25#
>>>>>> EMAIL_HOST_USER = 'djangomail'# EMAIL_HOST_PASSWORD = 'top-secret!'*
>>>>>>
>>>>>> to
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *# Configure these for your outgoing email host#EMAIL_HOST =
>>>>>> 'mail.beezon.gr <http://mail.beezon.gr>'#EMAIL_PORT = 25#EMAIL_HOST_USER =
>>>>>> ''???'#EMAIL_HOST_PASSWORD = '???*
>>>>>>
>>>>>> The question is in the user credential area what user and password
>>>>>> values we have to set?
>>>>>> The credentials of logged in user? (We are using the logged-in user
>>>>>> with admin privileges (root) and we can not connect to Postfix to send
>>>>>> email)
>>>>>>
>>>>>>
>>>>>> Thanks at all,
>>>>>>
>>>>>> Zacharias,
>>>>>> BeeZon IoT Solution
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>> Since January 1st, old domains won't be supported and messages sent to
>>>> any domain different to @lists.fiware.org will be lost.
>>>> Please, send your messages using the new domain (
>>>> Fiware-lab-help at lists.fiware.org) instead of the old one.
>>>> _______________________________________________
>>>> Fiware-lab-help mailing list
>>>> Fiware-lab-help at lists.fiware.org
>>>> https://lists.fiware.org/listinfo/fiware-lab-help
>>>>
>>>
>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20151126/e94cfd6b/attachment.html>


More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy