Is there a D2L Valence API for SSO (Single Sign-on)? - desire2learn

Sorry, I'm just new with Valence API and I was reading all the forums and blogs of valence and have not seen anything or a code snippets on how this is done using Valence API. We have a Parent webapp (parents register and pay their school fees), from this webapp we want Parents to utilize the Parent Auditor functionality of D2L by allowing them to SSO using their credentials going to their Auditor homepage (by-passing D2L Login page). I was able to do with valence api to register/enroll them in D2L LMS as auditor role and their audittee (chidren). Can you provide a code snippets how I could do the SSO part after I enrolled them through valence api? Is there really such thing as SSO for valence?

We have something like this that is currently only available to internal apps. I will find out why it is restricted, and can find out what it would take to get it opened up.

Related

Microsoft Graph API auhetication for service apps

We are developing a web application using Microsoft Graph, where the signed in user can, Export all the calendar events to a third party calendar Application. After this initial export, we need to keep the exported data in sync with calendar changes via service app (a scheduled task running on server). This need to be a multi tenant application, as people from different organizations should be able to use this service.
Right now we did the authentication using OAuth 2.0 and OpenID Connect as described in this sample. Later we understood that the access token we get using this method cannot be used in the service app without user interaction. Considering our scenario what is the best way to achieve this?
I have read about App-only authorization method to do this. If we use this authentication method, the app need to be consented by a tenant administrator and the these applications are quite powerful in terms of what data they can access in the Office 365 organization. Considering we are developing a product used by different organizations, will it be feasible to use this method?
To use the client credentials OAuth2.0 flow (aka "App-only" or service account access depending on who's documentation you're reading) the admin for each tenancy will need to specify which scopes your daemon process can have for users in their tenancy. The end users can't give these scoping rights to your code themselves (as far as I know at least).
One thing to watch out for is that currently Graph API doesn't allow you to mess about with calendars that are attached to Office 365 Groups if you're using the client credentials flow. This is a pain for us, so we've raised it as an issue that needs fixing in the Office 365 feedback system. if that's an issue for you or anyone else, please throw a few votes at it so that it gets more attention at Microsoft. :-)

Is it possible to integrate Outlook Social Connector with Rails?

I'm currently investigating the possibility to connect rails applicatrion with exchange for getting user information. I think to create rails page with user profile, and get profile information from exchange.
I found this: Outlook Social Connector
As I understand, this is an API for getting information about user (contact list, updates, new e.g.) from exchange, isn't it?
So, please, help me to understand this thing...
Is it possible to get facebook-updates of my outlook-contacts using some of EWS/Social Connector APIs ?
No, the Outlook Social Connector is a way that Outlook can connect to social networks. It sounds like you want to access data in the Exchange server. Have you looked at the REST APIs? There's a Rails sample here: https://github.com/jasonjoh/o365-vcftool. The code from that sample is also wrapped in the ruby_outlook gem.

Usage Data via Valence API

Is there a way to pull user usage data from the Valence API?
In particular I want to know if a user has ever logged in or accessed a certain course.
No, sorry, currently that information is not available through the Valence APIs. If you'd like the Valence APIs to provide that information, and you're affiliated with a D2L customer, please use their account management chain to report your request. If you're not directly affiliated with a D2L account manager, then you can report your request through the Valence support chain.
This particular request is something that other partners and customers have indicated an interest for.

How to receive user information when user is authenticated with Google Adwords OAuth

I'm building a web application with the google adwords API (ASP.NET Client library v14.5.0).
I'm using the builtin OAuth libraries to authenticate a user. Everything is working fine, but now I want to get user information, such as emailaddress and name from the user thats logged in.
Does somebody knows how this works?
Thanks!
Patrick
AdWords API doesn't provide this information, you could try getting the User profile information instead. See https://developers.google.com/accounts/docs/OAuth2Login#userinfocall for details.

How to use OAuth in Coldfusion application?

I want to authorize my web-application for all users landing on it with a common google account. I am using google Document List API and want other users to get authorized by the common google account whenever they want to access the document.
Thanks
OAuth only connects your application to the target authenticator (Google). You would still need your application to proxy for the end user, your application cannot create a direct connection between Google and the end-user.
That said, http://oauth.riaforge.org/index.cfm is pretty easy to use. I used it to connect to a third party application from mine and, once I figured out the basics of OAuth, it was pretty easy. I then wrote a wrapper for all the internal functions to ease integration.
So, the OAuth package at RIAForge will make it pretty easy to authenticate your application to Google, but will not create a direct line between Google and your end-user.

Resources