Discord OAuth2 Redirect URI says "Invalid OAuth2 redirect_uri"

Also, setting it in the OAuth2 tab in the Developer page, it doesn’t change anything.
I also want the redirect uri to be slightly different everytime, so that’s why I have to do it in the url, not the oauth2 tab.
Also, it doesn’t matter if the scope is “bot” or “email”, “guilds” etc., neither work.