Skip to content

Problem authenticating with OAuth when login cookie is sent #156

@PudyJapan

Description

@PudyJapan

Hi,

I am using a unity client with webview on iOS/Android. It works great on Android, but had problem with iOS.
I spent a lot of time trying to figure out what is the problem, and I found out that iOS sends the cookie it received when logged into the webview along with the rest api call.
That prevents OAuth to determine current user, and is_logged_in becomes false.
I fixed it by setting a dummy cookie header with my rest api call to prevent the disruption of the authorization and determination of user flow, but that's too much hacky.

I am not sure what is the ideal solution, but perhaps the cookie authentication should work?

Any help is greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions