Open Nithe14 opened 3 months ago
Sorry for the delayed response, I was on vacation. I can confirm the problem and will look into it.
I did some investigations, and indeed this seems to be caused by mytoken. I assume you use your own mytoken server. Can you test the version currently on the prerel branch?
Attempting to obtain a mytoken results in an error. When running the following command:
the browser opens with a mytoken creation approval page. After debugging, I noticed that the function assigned to the "Continue" button propably has an incorrect name:
_approve()
instead ofapprove()
, which is why the button doesn't work initially. After manually changing the function name in the HTML source and accepting the token creation, oidc-agent returns the error:I'm not certain if the problem might be related to the mytoken server itself, as there are no logs for this error on the server.
The profile was originally created using the following command:
Obtaining access_token works correctly.
As I understand the new mytoken should be created with capabilities no greater then the original mytoken stored in the profile.