Add scope on reauthenticate - #664
Conversation
|
While it is an easy and small fix, I'm not sure if it should be done.
If one would like to have |
|
No. This is not what one (I) wants. This creates an unnecessarily large number of configurations, simply because I want to add or remove a scope. Currently, with ssh-oidc scopes need to be adjusted. When I try 10 times, I end up with 10 different configs. Also, |
|
I do not really understand. This should not create additional configurations. With |
|
An alternative proposal (but I also did not fully understand the use case yet): Would it be helpful to allow performing token exchange with As far as I know, |
|
Pushing a lot of work on the user is what I try to avoid. |
|
The oidc-gen will prompt the user for all information so he can change it, if he does not want to change some aspect, just hit enter to keep the current value (suggested in brackets). For public clients include |
|
Imagine I'm a client app (oinit, mccli) that uses the oidc-agent lib. I find that the AT does not have the sufficient I want to tell the user: "claim_x is missing, please add it by running Is this realistic? I know I'll probably need to maintain the "scope -> claims" list in every client app. Of course, I could |
|
I understand the use case. But I think the solution approach is slightly wrong. If one needs to make modifications to the config this is done with However there are still some caveats:
|
|
And I need logic to understand if the client was created via a public client or not. |
|
As I have written
That's something that needs to be changed. But with that the |
|
We discussed this out of band. I will add support for auto detecting the pubclient with existing account configs. And then oidc-gen -m is sufficient. |
No description provided.