I set up successfully <atreya2011/go-kratos-test> ...
# talk-hydra
c
I set up successfully atreya2011/go-kratos-test in a pre-existing docker-compose & it works. Now i have a follow-up question. Is it possible to auto-grant some scopes? I would like for • hydra to be on a separate host • after kratos registration, to auto-consent to access the owner's own scope(graphql) without asking for a consent here (it's a grant for the user's own scope.)
I suppose this needs to be done after registration via a hook. Is there a post-registration hook configurable or a
jsonnet
definition available for adding
hydra/oauth
grants through admin using krato's
web_hook
?
b
Auto consent is possible :) you just to have accept the consent request without showing the consent UI
git checkout hydra
branch has an example for automatically accepting the consent request
c
Hi Thank you for answering. I relly need to get my slack straight [only now seeing this]
b
No problem. Let me know if you get it working properly 🙏