Conversation
Codecov Report
@@ Coverage Diff @@
## master #3451 +/- ##
==========================================
+ Coverage 76.81% 76.83% +0.02%
==========================================
Files 123 123
Lines 9069 9069
==========================================
+ Hits 6966 6968 +2
+ Misses 1660 1659 -1
+ Partials 443 442 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
75796db to
87e9ad1
Compare
71072a3 to
8183092
Compare
8183092 to
b383582
Compare
This adds a new boolean parameter `skip_consent` to the admin APIs of the OAuth clients. This parameter will be forwarded to the consent app as `client.skip_consent`. It is up to the consent app to act on this parameter, but the canonical implementation accepts the consent on the user's behalf, similar to when `skip` is set.
b383582 to
23e08bc
Compare
kmherrmann
left a comment
There was a problem hiding this comment.
Amazing, thanks!
My review is obviously superficial wrt. to implementation details
| "github.com/gofrs/uuid" | ||
|
|
||
| jose "gopkg.in/square/go-jose.v2" // Naming the dependency jose is important for go-swagger to work, see https://github.com/go-swagger/go-swagger/issues/1587 | ||
| "gopkg.in/square/go-jose.v2" // Naming the dependency jose is important for go-swagger to work, see https://github.com/go-swagger/go-swagger/issues/1587 |
There was a problem hiding this comment.
This change seems to conflict with the comment
There was a problem hiding this comment.
Yea IDK, my IDE (Goland) does this automatically. I think this is not needed anyways (because the package is named jose already), but we can remove the comment. OK?
| var ret bool | ||
| return ret |
There was a problem hiding this comment.
| var ret bool | |
| return ret | |
| return false |
There was a problem hiding this comment.
This is generated code.
|
how to use skip_consent? |
This adds a new boolean parameter `skip_consent` to the admin APIs of the OAuth clients. This parameter will be forwarded to the consent app as `client.skip_consent`. It is up to the consent app to act on this parameter, but the canonical implementation accepts the consent on the user's behalf, similar to when `skip` is set.
Related issue(s)
Checklist
introduces a new feature.
contributing code guidelines.
vulnerability. If this pull request addresses a security vulnerability, I
confirm that I got the approval (please contact
[email protected]) from the maintainers to push
the changes.
works.
Further Comments