doutan1970 2014-09-24 22:13
浏览 61

如何从php外部站点登录drupal

I'm new in drupal I want to login to my drupal site from a php site, I'm using the service and oauth module. Already tried login with session authentication and returns the ssesion id and name what I don't know is how to redirect to the drupal site logged. I also try the 3 legged authentication using my own consummer but if the user is not logged in drupal it ask to login and then do the token authentication so I'm stuck in how to login the user before the 3 legged authentication. Thank for your help in advance.

  • 写回答

1条回答 默认 最新

  • dongtuojuan8998 2014-09-25 09:09
    关注

    Install services module in Drupal. Configure the same to expose the login service. Once enabled you can call it in your php application. Refer this link for example.

    评论

报告相同问题?

悬赏问题

  • ¥15 求大家看看Nonce如何配置
  • ¥15 Matlab怎么求解含参的二重积分?
  • ¥15 苹果手机突然连不上wifi了?
  • ¥15 cgictest.cgi文件无法访问
  • ¥20 删除和修改功能无法调用
  • ¥15 kafka topic 所有分副本数修改
  • ¥15 小程序中fit格式等运动数据文件怎样实现可视化?(包含心率信息))
  • ¥15 如何利用mmdetection3d中的get_flops.py文件计算fcos3d方法的flops?
  • ¥40 串口调试助手打开串口后,keil5的代码就停止了
  • ¥15 电脑最近经常蓝屏,求大家看看哪的问题