Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login process in Epic Games account stuck on "Request Permissions" page #1048

Open
BushuevEvgeny opened this issue Dec 9, 2024 · 3 comments
Assignees
Labels
bug Something isn't working tracked This issue has a corresponding task in our internal bug tracking system

Comments

@BushuevEvgeny
Copy link

BushuevEvgeny commented Dec 9, 2024

I am using the AuthAndFriends scene from the samples. When I attempt to log in, the following issue occurs:

  • Clicked Login button on the AuthAndFriends scene in the built application
  • Enter email and password.
  • "Request Permissions" page appears
  • I click Allow button, and the "Allow" text changes to a loading indicator.
  • Nothing else happens after this step.

page

This issue does not occur with plugin version 3.3.3, where everything works as expected. The EOS config is filled in correctly, I copied it from the working project.
I also noticed that the URL of the permissions page differs between versions of the plugin:

With version 3.3.3:
https://www.epicgames.com/id/authorize?client_id=***&response_type=code&scope=offline_access%20openid%20basic_profile%20friends_list%20presence&redirect_uri=eos.***%3A%2F%2Fepic%2Fauth&display=popup%20guided&flow=login

With version 3.3.4:
https://www.epicgames.com/id/authorize?client_id=***&response_type=code&scope=basic_profile%20friends_list%20presence%20offline_access%20openid&redirect_uri=eos.***%3A%2F%2Fepic%2Fauth&display=popup%20guided&flow=login

Steps to reproduce the behavior:

  1. Install plugin v3.3.4 in Unity 2022.3.51f1 from .tgz file
  2. Complete the required fields in the EOS Configuration
  3. Build an app with the AuthAndFriends scene
  4. Click Login button in the application
  5. Enter email and password
  6. Click Allow
  • Plugin version 3.3.4
  • Unity 2022.3.51f1
  • Android

Permissions settings in the developer portal:
permissions
Log:
334 login fail.txt

@paulhazen paulhazen added the bug Something isn't working label Dec 9, 2024
@WispyMouse
Copy link
Collaborator

WispyMouse commented Dec 10, 2024

Ahoy @BushuevEvgeny ! I have a couple of questions, and a request for more debug information.

When you're logging in, do you use "Account Portal" as the login type? Have you ever successfully logged in using Android and the samples in previous plugin versions? Do the samples work for you when run from within the Editor? If you can log in using Account Portal from the Editor, can you use the same account for your phone's login? Which version of the Android API are you targeting?

To help debug, let's get another build going with logs. It looks like you already have it, but make sure ENABLE_DEBUG_EOSMANAGER is defined in your build symbols. Use the Tools > EOS Plugin > Log Level Configuration and set AllCategories to Verbose.

image

@WispyMouse
Copy link
Collaborator

I was able to login using that version of Unity with this new version of the plugin. Hopefully that means this'll be possible to resolve for you, with a bit more info!

@domlaurenti domlaurenti added the tracked This issue has a corresponding task in our internal bug tracking system label Dec 13, 2024
@REFFER69
Copy link

Is there a solution to this issue because I'm currently having the same problem in mobile. I can get to the permissions page and then it doesn't continue after that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tracked This issue has a corresponding task in our internal bug tracking system
Projects
None yet
Development

No branches or pull requests

5 participants