• Resolved kowalskiisangry

    (@kowalskiisangry)


    Hello, ive a Problem.
    I Use for an WordPress Project an API Login.
    I configuret privet groups, for set assign groups to role and activate on login.
    But, if my Users login via API, the assign is not working.

    I must assaign eacch Profil manual. Next Problem is, the users who use API LOgin, dont have any emailadress entered. so i cant change the group / assign.

    is there any solution for my Problem? Such an function for the theme function?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Robin W

    (@robin-w)

    what is you api login call?

    Thread Starter kowalskiisangry

    (@kowalskiisangry)

    I use the WGAPIAuth API plugin.

    Plugin Author Robin W

    (@robin-w)

    hmm…. Not sure that I can help

    I’d suggest you ask the api plugin author if he has a way to hook to

    do_action (‘wp_login’)

    which is what I hook to.

    I must assaign eacch Profil manual. Next Problem is, the users who use API LOgin, dont have any emailadress entered. so i cant change the group / assign.

    I am unsure as to the problem here. groups are assigned to individual users or to roles, and email addresses are not involved. Can you explain further please ?

    Thread Starter kowalskiisangry

    (@kowalskiisangry)

    ok. i try to explain.
    the user dont get the groups ( wordpress and forom groups) automaticly. so i must go into ther profiles and set zb. forum group feldkommandant manuelly.
    but i cant.

    during the login via wgloginapi. there is no emailadress in the users profil… and wordpress neds to change profilsetings an emailadress. so i cant set the forum groups in the users profiles manuell.

    for the hook. the api author istnt avalibe. so i have more than one problem

    Plugin Author Robin W

    (@robin-w)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘privat groups + API Login’ is closed to new replies.