Open edx sign in or SSO implementation issue - openedx

Hi i am trying to implement open edx sign on in my application using open edx api's but failed. How can we create session of open edx by passing user id password of specific user? I am able to register the user but sign in is causing the problem.

Related

How do I implement single sign on for my ASP.NET MVC web application

The single sign on (SSO) I mean is at my login page, I do have a button login with window directory or SSO but without typing my username in the login page just a sign in button, my browser able to know my window user id and login successful with my window user id by authenticate with my company Active Directory, I find years of solutions for this but is hard to get

Facebook login two users

I am working on an app idea and I am curious if a procedure I am thinking of will work.
When a user opens my app he/ she should login with his Facebook credentials and confirms to some permissions. Then a second user should login with his/ her credentials and confirms to the same permissions.
After the two confirmations I would want to save both credentials (and access tokens?) for future use of the app. So every time the app starts, both users get verified with their Facebook accounts and the app gets activated and can be used.
If I understand the Facebook iOS API correctly, it is not possible to login two accounts at once. So how do I:
Start app
Login user 1
Save name and gender for user 1 in a dictionary (do I need to save username and password?)
Logout user 1
Login user 2
Save name and gender for user 2 in a dictionary (do I need to save username and password?)
Logout user 2
Activate app
Above procedure should run every time an app starts.
I looked at the example app with the iOS SDK (SwitchUser) but I just do not understand where the access tokens are saved and how they can be accessed/ used to accomplish above described procedure.
All the help would be appreciated! Thanks!

Salesforce OAUTH implementation

I'm developing Salesforce iOS application.
From application frequently the user has to modify data which is available on Salesforce.com.
When user tap on edit I'm launching salesforce login screen and prompt to enter username and password all the time.
So I have decided to implement SSO using Salesforce Oauth. I have done everything I'm able to receive a access_token once user authenticate with Salesforce.com.
My question is lets say "If the user want to edit a lead with id as 0097hjy7" , URL to edit this lead will be "https://sales.mysalesforce.com/0097hjy7" when this URL launch on browser it prompt to enter username and password again.
How can I navigate the user to "https://sales.mysalesforce.com/0097hjy7" this URL without asking username and password all the time by using the access_token available with me.
Thanks in advance.
I resolved this issue by adding Salesforce iOS SDK to my project and using some classes like SFOauthCoordinator and SFOauthCredentials. At the end we need to prepare a frontDoorUrlWithReturnUrl which is available on "SFAuthenticationManager" class.

How can i show an inputdialogbox in blackberry where it asks for Username and Password before my application is opened

My requirement is to create a Blackberry Application Where it needs Authentication to open. Right now I created an Simple Blackberry Application Which can be opened by anyone. But I need to put a Dialogbox where it asks for username and Password. Once the credentials are valid then only the app should load. For the time being i need a dialgbox when the my app is clicked. Validation of the credentials can be done at later point of time.

How can I force re-authentication with the Windows Live OAuth API?

Is there a parameter I can pass to https://oauth.live.com/authorize that will force the user to login again?
The problem is if the user is logged in, it will redirect transparently back to my site, even if the user wants to use a different Windows Live account.
Twitter's OAuth API accepts "force_redirect=true", and Facebook accepts "auth_type=reauthenticate", but I can't find one for Windows Live.
First redirect your user to:
https://login.live.com/oauth20_logout.srf?client_id={$Client_Id}&redirect_uri={$Redirect_URI}
It will log him off and then continue your coding !

Resources