Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: php function to generate jwt #61

Open
rezarss opened this issue Nov 27, 2022 · 0 comments
Open

feature: php function to generate jwt #61

rezarss opened this issue Nov 27, 2022 · 0 comments
Labels
feature-request New feature or request

Comments

@rezarss
Copy link

rezarss commented Nov 27, 2022

Is your feature request related to a problem?

i have my custom login endpoint which logs in users using mobile number and otp (rest_route=/rad/v1/otp-login).

i want simple-jwt-login plugin a function to generate jwt.
then i control user login in my custom endpoint and return this jwt if user logged in with mobile and otp successfully.

(mobile number is stored in usermeta. like digits plugin. i mean that no email or password is required to login.)

i also provide bellow ways to login:

– login with mobile number and otp.
– login with username and password.
– login with email and password.

Describe the solution you'd like

Additional context (optional)

@rezarss rezarss added the feature-request New feature or request label Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant