It could cause you a lot of problems.
A comprehensive developer guide to implementing secure authentication in modern applications. Covers OAuth 2.0, OIDC, ...