Unity and browser interaction - c#

I am writing a Mac application on Unity. I need to do authentication, this can only be done through a third-party site. Can I open the browser, let the user log in, and then return the login to Unity. So how can I interact with the browser? Can I somehow get a variable from an open site?

Related

Auto login to itslearning using C#

I want to auto login to a website (itslearning.com) and then display it in my Windows Forms Application with CefSharp.
It would be easy to do this with itslearning eLogin (https://developer.itslearning.com/Single_Sign-On_and_Authentication.html#284208891), but unfortunately my school doesn't support it.
Is there any other way to automatically login to my schools itslearning page?
May be save the login cookies? Or doing the same thing as the itslearning native app for mobile phones. The app uses OAuth2 for authentication. When you click on a link in the app (e.g. for the Dashobard) it opens the browser and you are automatically logged in.
I figured it out.
You can just use the itslearning Rest API:
www.itslearning.com/restapi/help

"You should avoid this app" when trying to connect Google Analytics to our app

We are receiving this popup (in multiple browsers, not just Chrome) when our users are trying to connect Google Analytics from inside of our web application. Previously, the user could hit Advanced and just acknowledge the popup and move on, but that isn't possible any longer. If you've received this popup, how did you get around it?
This is an Angular 1.7 app on the client-side and a C# web API on the back-end.
You can get your app Google Verified, that's the absolute best way to solve it.
You can try adding one of the users (yourself, or someone you can trust?) to the API IAM with the role of "Editor" which should allow that person to access it at least.

Configure Active Directory with desktop application

I am working on a desktop application that needs to configure user authentication and authorization with the AD. I am developing this application as Windows Form Application.
I faced following issues and I am looking for the right direction.
In my research, I saw that there is no session state like in web application. So once I configure the AD with desktop, How to manage the user token that provides by AD?
Once the user closes the application without log out, when the next time that user should be able to open the application without login. So what is the approach to achieve that?

integrate paypal payment with unity

i want to add Paypal payment through unity without direct the users to the web browser at all.
https://devtools-paypal.com/guide/pay_paypal/dotnet?interactive=OFF&env=sandbox
I looked at this tutorial but at step 3 the user is asked to go through the web browser to log in,
There is any way do the log in process directly with .net / c# code through unity
thank you
As far as I know this is only possible by including a browser (cause security reasons). C# has a WebBrowser class, which you could modify, so the user thinks it's in the game.
An other thing you can try is a http request via c# where you pass the username and the password to the website (but I don't know if this is possible with paypal).

Facebook API Application Permissions

I want to write application which allows me to send video on Facebook wall.
I was writing app in Winforms C#.
I was creating application in Facebook developers (without Platform, just simple application).
For my credidentials everything works fine. But when I'm using another, I've got information that application doesn't has permissions to post on Facebook. In Winforms app I set permissions: publish_actions, manage_pages. I've heard that my Facebook app must ask for these permissions. To do this, I must to create web page. I don't want to create web page for review, because I don't have time for that and I can't write pages. Is there any way to just send movie to Facebook after login in Winforms application? I thought this should be easy, but for now, it's a nightmare. Please, help me.

Categories

Resources