#Can't "Log In With Microsoft" to install the Unity SDK

1 messages ยท Page 1 of 1 (latest)

jolly path
#

My playfab account authentification just got linked to Microsoft, i don't have a a PlayFab password per say anymore : so when I try to login after installing the playfab extension in Unity editor, the standard login gives me a "email or password erro", and "log in with microsoft" gives me a null exception : "Microsoft.Identity.Client.PlatformsCommon.Shared.DesktopOsHelper.GetWindowsVersionStringInterna"

It's a very frustrating situation, any help would be appreciated ๐Ÿ™‚

Update : i'm running Unity on mac os, and I think the issue is related.

cerulean crater
jolly path
#

Hi thanks for the update.
I kinda worked around this, since it was my first time on PlayFab I deleted my account, created a new account directly from the extension in the unity editor and i was able to create an actual username/password credential and skip the Microsoft login

Still pretty uncomfortable though, took me a while ^^

cerulean crater
jolly path
#

I have conflicts between 2 versions of "Microsoft.IdentityModel.Tokens" and "System.IdentityModel.Tokens.Jwt"

My other plugin needs those.

I don't seem to be able to keep both :/

cerulean crater
jolly path
#

cool, I suppose that now that I did the setup through the editor extension, i don't even need to follow those instructions right ?

#

I guess it implies some scriptable objects setup that have been populated once and for all via the editor extension, now i'm good to go ?

cerulean crater
#

I think that's the case, but if you're going to uninstall the editor extensions I'd recommend getting familiar with which object has that setting populated in case you need to debug later

jolly path
#

thanks, appreciate the help.

just in case, do you know if I can keep 2 same assmelbies in any way ?

#

liek reference specifically one for the relevant plugin

cerulean crater
#

I don't have experience doing this myself, I use the C# SDK directly and set the title id in code

PlayFabSettings.TitleId = "144";

jolly path
#

and the other for the other ?

jolly path
cerulean crater
#

I don't know, the way unity handles plugins is sort of a mystery to me. But I'm sure there are others around the discord who have experience with this.

cerulean crater
jolly path
jolly path
cerulean crater
#

That's right, for the most part I'd expect whatever you throw into Unity should be client only. I guess you could do your server build in Unity but its not how I would do it. So there should never be a need for the secret key to be in Unity.

You can start another support channel here with the updated topic or ask in the playfab-chat channel. ๐Ÿคž

This is also a sort of generic unity question about conflicts between plugins, so you could also try the unity discord/subreddit.

jolly path
#

Thanks mate, appreciate the help