is there a way in hydra to prevent the [ period ....
# talk-hydra
f
is there a way in hydra to prevent the [ period . ] character in the authorization code ?
m
Hm I dont know of an easy way to do this. What do you mean by
arent conducive to using periods in the code in a visible url
?
f
the auth code is visible in the client browser after the redirect . The security teams of some companies aren't happy with the period character in the the URL. It was a show stopper for some of them. I can only guess that may be because it may make it difficult to detect attacks coz a period would mess up their regular expressions.
so in the config of hydra if there was an option to specify the character set allowed in the returned authorization_code, that would resolve this issue, else we would have an adapter in front of hydra to customize before pushing to hydra.
we really need to switch the CodeGenerationStrategy to one that does not include period. How do I bring forward this request ?
m
Hey @flaky-book-52582 We can probably solve the problem very quickly and efficiently if you become an Ory Network customer. You can also create a feature request or design document in GitHub, but that might take longer. It depends on your timeline and budget; I would suggest to reach out to sales@ory.sh.