I implemented OAuth support for Gmail and it's working great but if I login using a Google apps account (custom domain) I run into some issues. For example providerForEmail: doesn't work. Is there a workaround for this? I can set my hostname and port manually when creating a session but I pass MCOMailProvider around several methods in my app and I would need to change a lot of code plus the data model to store hostname/port separately.
OAuth2 not working on Google Apps account with custom domain
295 Views Asked by AudioBubble At
1
There are 1 best solutions below
Related Questions in MAILCORE2
- MailCore2 - 'libetpan/libetpan.h' file not found
- MailCore 2 works on simulator but not on device
- Mailcore 2 unable to fetch messages in iOS swift
- What logging does mail core have to help me track down the source of "Domain=MCOErrorDomain Code=3 'Unable to parse response from server.'"
- Mailcore2 "unable to parse response from server" – how can I log the messages to/from the server so I can figure out what isn't parsing?
- How to seperate email body from a rendered thread through IMAP?
- I tried to connect and fetch mails using mailcore2 in iOS. But I got error
- how to fetch emails using Mailcore2 in ios swift?
- MAILCORE2 - A stable connection to the server could not be established
- How to send a reply to an email using MailCore2 in Swift?
- Building Mailcore2 on linux
- Implement MCOHTMLRendererIMAPDelegate in MailCore2 using Swift
- My react native android app got crashed when loggedin user trying to replay any mail for first time using react-native-mailcore library
- How to pass data from block in one view controller to another
- Check if connection for imapsession is established
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
To detect the email provider when the domain doesn't make it obvious, you need to do a DNS MX request. The result MX hostname can then be passed to
-[MCOMailProvidersManager providerForMX:].The following issue on github documents how to perform a MX request: https://github.com/MailCore/mailcore2/issues/182