Describe the bug
Mailers include a link to be clicked and the base url for these is always fixed to the gem's graphql controller. This won't work when you mount the auth schema in your very own GQL schema.
We need to find a way to capture the currentUrl on the signUp, sendPasswordReset and resendConfirmation mutations.
If anyone is facing an issue with this, until fixed I would recommend also mounting this gem in your routes file. This way the path will be available when you click on the links. You can pass the only option as you only need the query operations available.
mount_graphql_devise_for('User', only: [: check_password_token, : send_password_reset])
The route will be mounted at /graphql_auth but the mailer will pick this up and generate the right url.
Describe the bug
Mailers include a link to be clicked and the base url for these is always fixed to the gem's graphql controller. This won't work when you mount the auth schema in your very own GQL schema.
We need to find a way to capture the currentUrl on the signUp, sendPasswordReset and resendConfirmation mutations.
If anyone is facing an issue with this, until fixed I would recommend also mounting this gem in your routes file. This way the path will be available when you click on the links. You can pass the only option as you only need the query operations available.
The route will be mounted at
/graphql_authbut the mailer will pick this up and generate the right url.