A 302 redirect is a temporary redirect. It passes 0% of link juice (ranking power) and, in most cases, should not be used.
HTTP response status code 302 Moved Permanently is used for permanent URL redirection you can use 301 HTTPS. hope it will help you.
Here's an SEO primer from Moz on best practices concerning redirects: https://moz.com/learn/seo/redirection
The HTTP response status code 302 Found is a common way of performing URL redirection. An HTTP response with this status code will additionally provide a URL in the location header field. The user agent (e.g. a web browser) is invited by a response with this code to make a second, otherwise identical, request to the new URL specified in the location field. The HTTP/1.0 specification (RFC 1945) initially defined this code, and gives it the description phrase "Moved Temporarily". You can read more here: https://en.wikipedia.org/wiki/HTTP_302 Or see at the Moz as @JeffMichaels said before: https://moz.com/learn/seo/redirection Good luck to you,
A 302 redirect is a temporary redirect from one page to another and is considered bad for SEO. On the other hand, a 301 redirect is good for SEO. 301 redirects can be used to redirect users from the root domain of your website to a subdomain of your website (e.g. www) Hope that helps.