WW II P-08 Lugers were made by Mauser and Krieghoff.
The P-38 was a Walther design but it was also made by Mauser and Spreewerke.
Germany used numerous other sidearms as available; Walther, Mauser, and J. P. Sauer .32s. Mauser Broomhandles, too. Browning High Powers after they invaded Belgium and took over the FN plant, Radom VIS 35s after they invaded Poland, 1914 (1911) Norwegian .45s after they invaded Norway. Also Czech CZ 24 and 27 and Hungarian M37 after they invaded those countries and took over their arms industries. Star Model B and Astra 300, 400, and 600 in trade deals with Spain. Probably more, but those are the ones I recall at the moment.