Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by gtziazas · Oct 04, 2016 at 09:53 PM · sdksAuthentication

UE4 Steam Ticket

Hello. I have been trying to detect where I can get the Steam Ticket from Unreal Engine 4 but I cant seem to be able to locate it. I have set up PlayFab plugin on our project and on the developer site of PlayFab with our Greenlit game's AppId and Api. I am trying to utilise the LoginWithSteam.

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Brendan · Oct 04, 2016 at 09:58 PM

You can get the ticket via SteamUser()->GetAuthSessionTicket(). It's down in the section on authentication with backend servers in their auth docs: https://partner.steamgames.com/documentation/auth.

Specifically in Unreal, I don't see anywhere they expose this in their online subsystem integration. From reviewing their docs, it would appear that to access this API call, you will need to link the library in directly, so that you can access the SteamUser functionality. https://wiki.unrealengine.com/Linking_Static_Libraries_Using_The_Build_System

Comment

People who like this

0 Show 2 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image gtziazas · Oct 05, 2016 at 03:31 PM 0
Share
@Brendan

Not Helpful! I had already gone through that process to no avail. I guessed that in order to ask for that in your plugin you surely knew a way to get it, otherwise why ask for that particular parameter? Seems I was mistaken. I can not find a way to mark your answer as not an answer but I guess that is censored through you.

avatar image Brendan ♦♦ gtziazas · Oct 05, 2016 at 04:14 PM 0
Share

Unfortunately, we can't control what methods Epic exposes in their Unreal Steam implementation. As I said, your best bet would be to link the Steam SDK library directly, in order to make the call to GetAuthSesionTicket in your own code.

avatar image

Answer by JoshuaLyons · Feb 21, 2019 at 05:46 AM

I know this is an old ticket but found it while I was searching for the same information. I was able to find this: https://www.youtube.com/watch?v=4CgeAxiS19s It tells you how to get the session ticket from steam by adding a little bit of c++ magic to your game. Hope this helps.

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Donald Rogers · Aug 31, 2019 at 04:39 PM

Using UE4 Online Subsystem For Steam


steam-ticket.png (202.0 kB)
Comment

People who like this

0 Show 2 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image cooltom2013 · May 22, 2020 at 11:32 AM 0
Share

Very helpful image thanks, does game title ID in this context refer to your playfab game ID, or your steam App ID?

avatar image Donald Rogers cooltom2013 · May 23, 2020 at 07:23 PM 0
Share

PlayFab game ID

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    4 People are following this question.

    avatar image avatar image avatar image avatar image

    Related Questions

    PHP example for Client Connection not Working 2 Answers

    Authentication Ticket Validation Question 2 Answers

    Unity Game Center Authentication Failed 4 Answers

    Steam WebAPI error: 102 (Ticket for other app) 1 Answer

    How to use Loggin with apple 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges