Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author nicu_m



    Currently, the plugin does not generate tokens. But, I have this feature on my road map.

    I think that I will add it to the top of the todo list, and I will let you know when this is implemented. So, by the end of the next week, I will come with updates.

    Can you please explain more your scenario?

    Thank you.

    Thread Starter finderlars



    Thanks for the fast response and attention. I am using another plugin to create the token and i was going to combine it with your plugin for authentication. If your plugin was able to create the token itself, then i could discard the other one.

    I’ve exhaustively searched for authentication plugins and i found that your plugin is very well done. So please have a look into this suggestions that are based on what i’ve seen in another plugins:

    • Token creation from endpoint
    • Token validation from endpoint
    • It would be nice if we could create users with different roles instead of a pre-set one
    • A “forgot the password” mechanism for login. I found just one plugin which does this but it is buggy. It relies on an endpoint which you send your email with a 4-digit code, and another endpoint where you send the 4-digit code along with your email and new password.
    • Thanks

    Plugin Author nicu_m



    Version 2.0.0 was released.

    New routes have been added for generating and refreshing tokens.

    – for Token creation from endpoint:

    POST /simple-jwt-login/v1/auth&email=eYOUR_EMAIL&password=YOUR_PASSWORD

    and for Refreshing:

    POST /simple-jwt-login/v1/auth/refresh&jwt=YOUR_EXPIRED_JWT_HERE

    Please have a look and let me know if it fits your needs.

    Also, I will come with updates for the part where you can create users with different roles.

    For the forgot password mechanism, I think that this is not a feature that suits for this plugin. I think you can use the hooks that this plugin for this part. If you need more hooks, don’t hesitate to write to me.

    Also, if you like this plugin, please don’t forget to rate it.

    Best regards.

    Plugin Author nicu_m



    I’ve just released version 2.1.0 and added a new feature that allows you to create users with different roles.

    You can create multiple AUTH Codes, and set a custom role for each one of them.

    After that, when you create new users, simply add the AUTH code in your request, and the user will be created with this new role.

    I hope this helps you.

    Please don’t forget to rate this plugin.

    Best regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Login Example’ is closed to new replies.