Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P1284
swh auth error
Active
Public
Actions
Authored by
vlorentz
on Feb 11 2022, 2:43 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
$ swh auth --client-id swh-web generate-token vlorentz
Password:
Traceback (most recent call last):
File "/home/dev/.local/bin/swh", line 33, in <module>
sys.exit(load_entry_point('swh.core', 'console_scripts', 'swh')())
File "/home/dev/swh-environment/swh-core/swh/core/cli/__init__.py", line 185, in main
return swh(auto_envvar_prefix="SWH")
File "/usr/lib/python3/dist-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/dev/swh-environment/swh-auth/swh/auth/cli.py", line 84, in generate_token
oidc_info = ctx.obj["oidc_client"].login(
File "/home/dev/swh-environment/swh-auth/swh/auth/keycloak.py", line 127, in login
return self._keycloak.token(
File "/home/dev/.local/lib/python3.9/site-packages/keycloak/keycloak_openid.py", line 201, in token
return raise_error_from_response(data_raw, KeycloakGetError)
File "/home/dev/.local/lib/python3.9/site-packages/keycloak/exceptions.py", line 106, in raise_error_from_response
raise error(error_message=message,
keycloak.exceptions.KeycloakGetError: 500: b'{"error":"unknown_error"}'
Event Timeline
vlorentz
created this paste.
Feb 11 2022, 2:43 PM
2022-02-11 14:43:56 (UTC+1)
Log In to Comment