I need help on Keycloak with django

118 views
Skip to first unread message

Raghavendra AK

unread,
Jun 12, 2020, 8:22:52 AM6/12/20
to Django users
I'm training to implement keycloak with django using https://github.com/jhuapl-boss/boss-oidc but getting error : Could not import 'path.to.function' for API setting 'LOAD_USER_ROLES'. ModuleNotFoundError: No module named 'path'

I really appreciate your help or any sample code

Kasper Laudrup

unread,
Jun 12, 2020, 10:19:01 AM6/12/20
to django...@googlegroups.com
Hi Raghavendra,

On 12/06/2020 12.00, Raghavendra AK wrote:
> I'm training to implement keycloak with django using
> https://github.com/jhuapl-boss/boss-oidc but getting error : *Could not
> import 'path.to.function' for API setting 'LOAD_USER_ROLES'.
> ModuleNotFoundError: No module named 'path'*
> *
> *

You need to actually modify the settings.py file according to the
comments in the file. Not just copy it and expect everything to
magically work however you want it.

Kind regards,

Kasper Laudrup
Reply all
Reply to author
Forward
0 new messages