https://[::1/cai/oauth/authorize
https://[bad/authorize
