最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

authentication - Open authenticed Wordpress page from mobile app

programmeradmin5浏览0评论

I have mobile app that uses Worpdress JWT Token Plugin API to login. It uses WP users to authenticate to the app. The token is used for other WP API calls. Now I need to open up authenticated page from mobile app and I need to pass authentication data of some kind so the user don't have to login once again. What options are ?

I have mobile app that uses Worpdress JWT Token Plugin API to login. It uses WP users to authenticate to the app. The token is used for other WP API calls. Now I need to open up authenticated page from mobile app and I need to pass authentication data of some kind so the user don't have to login once again. What options are ?

Share Improve this question edited Apr 1, 2020 at 12:18 fuxia 107k39 gold badges255 silver badges459 bronze badges asked Apr 1, 2020 at 10:04 SilverGeekSilverGeek 1
Add a comment  | 

1 Answer 1

Reset to default 0

Most often a Bearer token is sent in the request headers. Add the Authorization header with a value of Bearer ${authToken} (note the space between Bearer and ${authToken} variable). The plugin should verify the token automatically on each request.

发布评论

评论列表(0)

  1. 暂无评论