Replies: 7 comments 2 replies
-
@jannyHou @mrmodise, could you please help with this question? Thanks. |
Beta Was this translation helpful? Give feedback.
-
@webafra You can create your own JWT service like this example, then bind it to binding key that |
Beta Was this translation helpful? Give feedback.
-
Can we create API without using model and repository in loopback4?? |
Beta Was this translation helpful? Give feedback.
-
@Arathy-sivan very possible. The default ping controller is a good example of such a case |
Beta Was this translation helpful? Give feedback.
-
Please see @jannyHou above and let me know if you still need help. I will be glad to help |
Beta Was this translation helpful? Give feedback.
-
how can we generate token without using model and repository in loopback4? |
Beta Was this translation helpful? Give feedback.
-
@Lipinalipi If you don't need persistence, you can just generate token using services like https://github.com/strongloop/loopback-next/blob/master/extensions/authentication-jwt/src/services/jwt.service.ts, see function generateToken. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I want to use this service to develop my own personalized authentication.
The code I wrote does not work because method (generateToken) inputs argument must be an email and a name.
I want to authenticate with a mobile number.
please help me.
Beta Was this translation helpful? Give feedback.
All reactions