Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to save: pq: value too long for type character varying(1000) #3057

Closed
trapperl opened this issue Jul 16, 2024 · 2 comments
Closed

Failed to save: pq: value too long for type character varying(1000) #3057

trapperl opened this issue Jul 16, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@trapperl
Copy link

We found that there appears to be a limit to the number of combined characters of all the Redirect URLs

When I add up all the redirects, we can have a total of 942 characters at 943, I get this error:

Failed to save: pq: value too long for type character varying(1000)

There are a total of 18 redirects.

@casbin-bot
Copy link
Contributor

@casbin-bot casbin-bot added the bug Something isn't working label Jul 16, 2024
@trapperl
Copy link
Author

As a work around I went to the Db, found the application table and set the redirect_uris Limit to 5000

@hsluoyz hsluoyz closed this as completed Jul 17, 2024
@hsluoyz hsluoyz added question Further information is requested and removed bug Something isn't working labels Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants