Giter Site home page Giter Site logo

Wrong Account Image with MS about scoold HOT 3 CLOSED

erudika avatar erudika commented on May 17, 2024
Wrong Account Image with MS

from scoold.

Comments (3)

albogdano avatar albogdano commented on May 17, 2024

from scoold.

albogdano avatar albogdano commented on May 17, 2024

This seems to be related to this: https://social.msdn.microsoft.com/Forums/en-US/843fe8c7-ff7c-4e75-8b23-b956e193177c/windows-live-user-unique-id-using-windows-live-sdk?forum=messengerconnect

My user id is short with a length of 16 characters, yours is a UUID, it seems. Try editing signin.js file and replace the code for the "Sign in with Microsoft" button with this:

	onClick('ms-login-btn', function () {
		window.location = "https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize?" +
                "response_type=code&client_id=" + MICROSOFT_APP_ID +
                "&scope=openid&state=" + APPID +
                "&redirect_uri=" + ENDPOINT + "/microsoft_auth";
		return false;
	});

I can't reproduce it on my machine, because our accounts have different id types for some reason.

from scoold.

albogdano avatar albogdano commented on May 17, 2024

This is fixed in Scoold 1.24.9, Para 1.24.4. Profile picture is fetched through the Microsoft Graph API using https://graph.microsoft.com/beta/me/photo/$value and stored as Base64 string inside the picture fileld of the user object.

from scoold.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.