openid / openid/AppAuth-iOS

Mac use window of certain size to authenticate

Open
#583 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
2k
Forks
867
Avg merge
4d 48m
Merged PRs (30d)
1

Description

I am creating a macOS app.
NOTE TO MAKER: With all the "iOS" names (including logos), I avoided this library for ages.

When a user chooses to authorise with Microsoft, my app is directed to (what seems to be) a new browser window that is near center with size about 600x1000pixels. Then the usual auth process happens...

How can I cause, when asking to authorise other API providers (eg. Google, Dropbox), to open a window of specific dimensions? Similar to how MS does it.
I believe the app developer can specify a user agent... I can open a web page inside a certain frame, but I heard that OAuth2 cannot be done in this way. (But I don't want to monitor the window .. only set it's size and location.)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name a file, test, or entry point. Start by locating the macOS authorization flow and its browser-window presentation handling, then determine whether provider authorization windows can have their dimensions set; done should establish and document the supported behavior for Google, Dropbox, and similar providers.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c
Domain
authentication, desktop-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.