#Matthieu-OD
1 messages · Page 1 of 1 (latest)
Hi there, so you want to add a button that allows your user to open a page in a new tab?
Nope, I want to change the SignInView (from Stripe documentation) to avoid opening a new tab when clicking on the Sign in button.
Screenshot from the documentation.
The primaryAction doesn't have a target attribute at this moment.
A workaround would be adding a Link inside the SignInView and you can specify a target for the Link
I see this option but it doesn't remove the Sign in button of the SignInView so it doesn't resolve my issue.
And in the documentation it mentioned that we need to SignInView in case of login component.
https://github.com/stripe/stripe-apps/issues you can also put up a feature request in github and communicate with Stripe Apps team directly
Just curious, how do you manage the sign in if your customer is not navigated to a new tab for sign in
Thanks, I missed this part, I'm creating an issue and I will try to submit a PR.
I just want to redirect the user to a new page in the same tab. It allows me to redirect the user directly to the stripe app once the login is done.
OK.
<SignInView
footerContent={
<Button type="primary" css={{ width: 'fill', alignX: 'center' }}>
Sign in
</Button>
}
></SignInView>
I just quickly tested this out, and I'm able to add a custom button in the SignInView
It looks like this
I opened an issue https://github.com/stripe/stripe-apps/issues/769
And thanks, I'm going to try it out now !
Thank you very much for your solution and how fast you gave it! It will be an excellent work around for now.
Welcome! happy to help.