Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
raiuli opened this issue Aug 8, 2018 · 4 comments
Open

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

raiuli opened this issue Aug 8, 2018 · 4 comments

Comments

@raiuli
Copy link

raiuli commented Aug 8, 2018

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
Copy link
Contributor

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

@raiuli
Copy link
Author

raiuli commented Mar 19, 2019

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

@fdelavega
Copy link
Contributor

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
Copy link
Author

raiuli commented Mar 20, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants