You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main reason for this difference is just to make it easier to have both Standard `Devise` and this gem running at the same time.
94
+
Check [these files](app/views/graphql_devise/mailer) to see the available helper methods you can use in the views.
95
+
87
96
### Authenticating Controller Actions
88
97
Just like with Devise or DTA, you will need to authenticate users in your controllers.
89
98
For this you need to call `authenticate_<model>!` in a before_action hook of your controller.
@@ -125,6 +134,13 @@ you can use [our specs](https://github.com/graphql-devise/graphql_devise/tree/b5
125
134
Also, the [dummy app](https://github.com/graphql-devise/graphql_devise/tree/b5985036e01ea064e43e457b4f0c8516f172471c/spec/dummy) used in our specs will give you
126
135
a clear idea on how to configure the gem on your Rails application.
127
136
137
+
### Using Alongside Standard Devise
138
+
The DeviseTokenAuth gem allows experimental use of the standard Devise gem to be configured at the same time, for more
139
+
information you can check [this answer here](https://github.com/lynndylanhurley/devise_token_auth/blob/2a32f18ccce15638a74e72f6cfde5cf15a808d3f/docs/faq.md#can-i-use-this-gem-alongside-standard-devise).
140
+
141
+
This gem supports the same and should be easier to handle email templates due to the fact we don't override standard Devise
142
+
templates.
143
+
128
144
## Future Work
129
145
We will continue to improve the gem and add better docs.
0 commit comments