conwetlab / FIWARE-CKAN-Extensions

This repository includes the documentation and links to the different CKAN extensions developed within FIWARE
GNU Affero General Public License v3.0
8 stars 7 forks source link

Getting error of The user is not currently logged... #3

Open raiuli opened 6 years ago

raiuli commented 6 years ago

I am getting the following error. I am also attaching my Ckan Configuration file. any suggestion will be very helpful productionCopy.ini.txt

.

[Wed Aug 08 00:05:02.564198 2018] [:error] [pid 1404:tid 139937779115776] 2018-08-08 00:05:02,564 INFO [ckan.config.environment] Loading static files from public [Wed Aug 08 00:05:02.706584 2018] [:error] [pid 1404:tid 139937779115776] 2018-08-08 00:05:02,706 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/default/src/ckan/ckan/templates [Wed Aug 08 00:05:03.365378 2018] [:error] [pid 1404:tid 139937779115776] 2018-08-08 00:05:03,365 DEBUG [ckanext.oauth2.plugin] Init OAuth2 extension [Wed Aug 08 00:05:03.379666 2018] [:error] [pid 1404:tid 139937779115776] 2018-08-08 00:05:03,379 DEBUG [ckanext.oauth2.plugin] Init OAuth2 extension [Wed Aug 08 00:05:03.671262 2018] [:error] [pid 1404:tid 139937779115776] 2018-08-08 00:05:03,670 DEBUG [ckanext.oauth2.plugin] Setting up the redirections to the OAuth2 service [Wed Aug 08 00:05:03.681636 2018] [:error] [pid 1404:tid 139937779115776] 2018-08-08 00:05:03,681 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/default/src/ckan/ckan/templates [Wed Aug 08 00:05:04.017839 2018] [:error] [pid 1404:tid 139937779115776] 2018-08-08 00:05:04,017 DEBUG [ckanext.oauth2.plugin] identify [Wed Aug 08 00:05:04.018480 2018] [:error] [pid 1404:tid 139937779115776] 2018-08-08 00:05:04,018 WARNI [ckanext.oauth2.plugin] The user is not currently logged... [Wed Aug 08 00:05:06.961530 2018] [:error] [pid 1405:tid 139937686705920] 2018-08-08 00:05:06,961 INFO [ckan.config.environment] Loading static files from public [Wed Aug 08 00:05:07.030103 2018] [:error] [pid 1405:tid 139937686705920] 2018-08-08 00:05:07,029 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/default/src/ckan/ckan/templates [Wed Aug 08 00:05:07.147341 2018] [:error] [pid 1405:tid 139937686705920] 2018-08-08 00:05:07,147 DEBUG [ckanext.oauth2.plugin] Init OAuth2 extension [Wed Aug 08 00:05:07.158965 2018] [:error] [pid 1405:tid 139937686705920] 2018-08-08 00:05:07,158 DEBUG [ckanext.oauth2.plugin] Init OAuth2 extension [Wed Aug 08 00:05:07.295533 2018] [:error] [pid 1405:tid 139937686705920] 2018-08-08 00:05:07,295 DEBUG [ckanext.oauth2.plugin] Setting up the redirections to the OAuth2 service [Wed Aug 08 00:05:07.304313 2018] [:error] [pid 1405:tid 139937686705920] 2018-08-08 00:05:07,304 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/default/src/ckan/ckan/templates [Wed Aug 08 00:05:07.492859 2018] [:error] [pid 1405:tid 139937686705920] 2018-08-08 00:05:07,492 DEBUG [ckanext.oauth2.plugin] identify [Wed Aug 08 00:05:07.493156 2018] [:error] [pid 1405:tid 139937686705920] 2018-08-08 00:05:07,493 WARNI [ckanext.oauth2.plugin] The user is not currently logged...

fdelavega commented 5 years ago

Not an error, just logging that the user making the request is not logged yet

raiuli commented 5 years ago

But why the user is not getting connected ? I have given right credential

fdelavega commented 5 years ago

Well, from you config the first point that I see is that the setting ckan.oauth2.authorization_header should be Bearer rather than Authorization, but that should not prevent your user to sign in.

What version of the extension are you using? Did you made a local CKAN deployment or are you using Docker? Can you share the CKAN configuration in the IDM?

When you click on sign in in CKAN, the redirection to the IDM works correctly? What happens after going back to CKAN, does it show some error in the screen?

raiuli commented 5 years ago

Hi,

Thanks for replying after a such a long time. We stopped using the Extensions as it was not working. We were using keyrock and had local CKAN deployment

Best regards, Raihan

From: Francisco de la Vega notifications@github.com Reply-To: conwetlab/FIWARE-CKAN-Extensions reply@reply.github.com Date: Wednesday, 20 March 2019 at 08:29 To: conwetlab/FIWARE-CKAN-Extensions FIWARE-CKAN-Extensions@noreply.github.com Cc: Raihan Ul islam raihan.ul.islam@ltu.se, Author author@noreply.github.com Subject: Re: [conwetlab/FIWARE-CKAN-Extensions] Getting error of The user is not currently logged... (#3)

Are you using Keyrock, what version are you using? Can you share the plugin configuration?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/conwetlab/FIWARE-CKAN-Extensions/issues/3#issuecomment-474473644, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOJbeegcIYu5BYfA5hVwSLBYFaGf55UXks5vYRmTgaJpZM4VzEpM. {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/conwetlab/FIWARE-CKAN-Extensions","title":"conwetlab/FIWARE-CKAN-Extensions","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/conwetlab/FIWARE-CKAN-Extensions"}},"updates":{"snippets":[{"icon":"PERSON","message":"@fdelavega in #3: Are you using Keyrock, what version are you using?\r\nCan you share the plugin configuration?"}],"action":{"name":"View Issue","url":"https://github.com/conwetlab/FIWARE-CKAN-Extensions/issues/3#issuecomment-474473644"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/conwetlab/FIWARE-CKAN-Extensions/issues/3#issuecomment-474473644", "url": "https://github.com/conwetlab/FIWARE-CKAN-Extensions/issues/3#issuecomment-474473644", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]