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

how to get dynamicaly user data with main auth token and token secrete #221

Open
tushar4monto opened this issue Dec 13, 2018 · 0 comments
Open

Comments

@tushar4monto
Copy link

Hello,

Currently, when I run this function get_current_user_id() it returns current authenticated user data like We have used header authorization. Please check below link.

http://prntscr.com/luhp1v

if we have call login API, then we want to get this login user ID with get_current_user_id()

We have generated this OAuth keys with main administrator user User id 1 now using this key when we call any API we want get_current_user_id() function will return the user ID which we want, like what we need to do with login API or every API call how we can pass parameters which set user.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant