sched.org – making users auto login
-
Hello guys,
I have successfully installed and embedded sched event onto my wordpress site. Using sched api “https://your_conference.sched.org/api/user/get?api_key=secret&by=username&term=username&format=json” I am checking a user with mentioned username exists in sched.
If user doesn’t exist then I am creating user by “https://your_conference.sched.org/api/user/add?api_key=secret&username=desired_username&[email protected]“.
I tried hitting sched api “https://your_conference.sched.org/api/auth/login?api_key=secret&username=user_name&password=user_pw” through curl for making user login.
Now my problem arises that the user is not able to log-in after last used curl whereas if I hit this auth/login api url in another browser tab and refresh former tab, user is able to log in to sched embedded event.Is here a way to make user login onto the sched embedded event ?
I contacted sched guys and below is their response to my query.
The API does not enable you to log into the site. The site logon/auth is separate from API logon and is session based. API logon is token (session key) based.Using https://your_conference.sched.org/api/auth/login does not log you into the site itself – it returns a session key that enables you to access user-specific API endpoints (e.g. going/add, going/remove), by providing said key, thus authenticating you as that user.
Kindly help me out in resolving the issue.
- The topic ‘sched.org – making users auto login’ is closed to new replies.