I use the Firebase SDK in my React-App. If a user wants to reset his password, he will be redirected to a page within my app. Firebase requires the code to be inserted in the URL for password reset.
The Code will be saved in this.props.location.search
When i log this prop, i get his:
?mode=resetPassword&oobCode=3ckTC8-xBAzTUCbrWQCrg4i0kD6F2_wOmuaeiHLsQH8AAAFmERVurw&apiKey=AIzaSyDC3GXJ2rcONeBYTu9FBjZEfJbEsaJMWNo&lang=en
How can i get only the Code from this URL Parameters?
Thanks for your answer and for your help