Hello! Welcome to our community.
We noticed that you are in the right path. The second option is the recommended solution since this is the best option from a user experience and from a security perspective. Why do you think that option does not suit you accordingly?
Thanks.