Where can I enter my app specific password on appcenter.ms testflight integration? - testflight

With the new apple rule explained at https://developer.apple.com/support/account/authentication/:
In an effort to keep your account more secure, two-factor authentication will be required for Account Holders of a developer program to sign in to their Apple Developer account and Certificates, Identifiers & Profiles starting February 27, 2019. This extra layer of security for your Apple ID helps ensure that you're the only person who can access your account.
I am getting the following error when trying to publish my iOS app on the store through the CI at https://appcenter.ms :
{
"mandatory_update": false,
"release_notes": "feature/navigator profile (#467)",
"destinations": [
{
"id": "678b39eb-7040-43ca-b903-REDACTED",
"name": "App Store Connect Users",
"message": "Failed to publish to store. Error: App specific password is mandatory for 2fa enabled account in service connection id: 5b1a378c-d7bc-4492-5ad6-REDACTED",
"code": "app_specific_password_missing"
}
],
"code": "partially_succeeded",
"message": "Failed to publish to store. Error: App specific password is mandatory for 2fa enabled account in service connection id: 5b1a378c-d7bc-4492-5ad6-REDACTED"
}
I have looked everywhere online and crawled around the different menus without finding anything of interest.
Do you know where I should enter my app-specific password?

You can follow the instructions here: https://learn.microsoft.com/en-us/appcenter/distribution/stores/apple#adding-two-factor-authentication
Specifically:
Adding Two-factor authentication
If your Apple account has two-factor authentication enabled, App Store Connect requires an app-specific password as security. You can add an App-specific password to your account by navigating to Developer accounts in your Account settings.
Hover over an item in the Accounts list.
Click the three vertical dots on the right side of the list
Select Update app-specific password.
Generate an app-specific password using the Apple ID portal.
The name is for you to remember which service or app is using the app-specific password.
Copy the generated app-specific password and paste it into the dialogue.
Save by clicking Update.

This error is coming because of 2 factor authentication, you need to enter OTP for your apple app store ID.
Step 1: https://appcenter.ms/ open the app center click on distribute navigation link.
Step 2: Click on stores
Step 3: you can see the error message to reenter your Apple connect credentials for the verification, it will ask for OTP.
Now you can publish your app on app store.

I resolved this issue by navigating to https://appcenter.ms/settings/accounts.

Related

How to get permanent token for using whatsapp cloud api?

The access token provided by Whatsapp cloud API expires in 24 hours. Is there a way to get a permanent access token?
There is an official link for getting a permanent token on the whatsapp website : Learn how to create a permanent token but it is another rabbit hole which does not state how to get permanent access token.
If someone has done this successfully, please help me and other frustrated developers :)
You need to set up a system user as the admin of your app. You can then generate never expiring access tokens for this system user.
Step by step guide to set it up:
Add a system user to your facebook app if it doesn't exist yet. Make sure it has the admin role.
On the same page, in the "Assigned Assets" section, check whether your app is listed here. If not, add your app via the "Add asset" button, granting "Full control" over your app.
Add the system user to your Whatsapp account in the "People" section, granting "Full control" over your Whatsapp account
Now click the "Generate new token" button for above system user which reveals a "Generate token" popup. Select the 2 permissions whatsapp_business_management and whatsapp_business_messaging and confirm
A new access token is presented to you as a link. Click it and then store the generated token safely as it will not be stored for you by facebook. This token will not expire.
You can get user access token from Facebook oauth using this link: https://www.facebook.com/v8.0/dialog/oauth?client_id=<app_id>&response_type=code%20token&redirect_uri=<redirect_url>&scope=whatsapp_business_management
client_id: App ID of your app on developer.facebook.com
redirect_url: your url where access token will be appended (note: you have to add to "valid oauth redirect urls" of your app "Facebook Login => Settings")
scope: whatsapp_business_management
Once the process is completed the access tokens will be appended to your redirect url.

How to verify identity for google play console as individual?

Google play console is requesting to verify my identity.
The problem is that the verification form is asking for an organization info and docs while the account is for individual and that is provided in the account details screen.
So what am I missing? Where to go? Or how to contact google support?
I had this after emailing googleplay-developer-support#google.com. Solution: Your payment profile shouldn't be set as organization if your developer profile is set to individual and vice-versa.
Per checking, the payments profile associated with your account is set as an organization. You may choose to verify your account as an organization with the following documents that our system accepts: Certificate of Organization, and a valid ID of the organization's Official Representative.
If you would like to verify as an individual and change the entity type on your payments profile, you would have to create a new account in order to change from organization to individual. You may view your payments profile via pay.google.com
To change the entity type on your Payment Profile, it would need to be deleted and created again. Since a Play Console account can only be associated with one Payment Profile, it will need to be deleted and recreated as well.
To resolve the issue, we can close your Play Console account and refund the registration fee. Then, you can delete your payment profile at pay.google.com before you sign-up for a new Play Developer account. To proceed, please provide confirmation by responding with “I confirm to have my Play Console Developer account closed and have its registration fee refunded.” Also, please remove the existing draft app from the Developer account
I had this issue recently and it turned out it was because I had an old Payment Profile with Account Type of 'Organisation'.
You need to go here: https://pay.google.com/gp/w/u/0/home/settings
Personally, I had two payment profiles; one was for an Individual and one was for an Organisation. Maybe the Organisation one was the default or whatever.
In the end I managed to close that payment profile and create a new developer account after having the first one refunded.
There were a few emails to Google Support going back and forth but that solved it in the end and now I have an app on the Play Store.

Accept the "Play App Signing Terms" without uploading a certificate first

I am migrating a few apps to App Signing, and to Android App Bundle. But since I'm not an account owner or account admin I can't do it.
In order to do it, you need to:
Upload the signing key (and optionally the upload key)
Accept the terms
The problem is that I am the developer, an admin only of my specific app. The terms have to be accepted by the account owner/admin. The account owner does not have the signing key, and shouldn't. So not sure how to proceed, as neither of us has all prerequisites for completing the process.
Q: Can the account owner somehow just accept the "Play App Signing Terms of Service", without having to upload a key?
P.S. There's the option to ask the account owner to make me account admin, which allows me to accept these specific terms (I'm currently only app admin). However, the account owner is not comfortable with giving me such high privileges, as they also have other apps on the same account. Not a solution.
Yes.
Ask Owner to go to Google Play Console, from left menu select Setup > App integrity
Click on Create release button
Then click on change app signing key
Choose use Google-generated key
Accept license agreement
And voila, now you can use it without admin privileges.
Note: This is tested many times before.

Why can't I login to gitlab on visual studio after signing up with email?

I just created a GitLab account, I signed up by using the "Using google" option, and it just prompted me for my gmail credentials. The email in question is a company email I was given by my administrators.
When I wanted to use these credentials in Visual Studio, it asked me with this screen for my credentials:
I entered my company email and its password, but I received this error from Visual Studio:
Fetching from origin
Remote: HTTP Basic: Access denied
Error encountered while fetching: Git failed with a fatal error.
Authentication failed for 'https://gitlab.com/xxxxxxx/xxxxx/xxxxxxx.git/
I wanted to make sure the credentials were properly set, so I went to gitlab page and signed out. When trying to sign in, same thing happens. I am allowed to sign in to gitlab if I use "Using google" option, but not via email + password.
Is this a problem?, do you know any workaround I could use to sing into my gitlab account within Visual Studio?
When you created your account, it's bound to your google credentials. You can see it's connected by clicking on your profile icon in the upper right corner and clicking "Preferences > Account". Under Social Sign-in, you'll see that the google button now shows "Disconnect Google". When you do this, GitLab does not assign you a username by default (honestly, it may now, but it didn't when I created my account several years ago). However, you can change your username on that same "Preferences > Account" page under the "Change username" heading, so go ahead and assign yourself one if you don't have one there. If you already have one, go ahead and take note of that.
Once you have your username, you can likely authenticate using an access token instead of a password. Create an access token under "Preferences > Access Token" and assign the privileges you want depending on what you are going to do with VS.
If you really want to use a password instead (or if the VS plugin doesn't work with an access token), you can set a password under "Preferences > Password", and use that instead.
Hopefully this helps!
Go to https://gitlab.com/-/profile/personal_access_tokens
Result
Use this token as password for you enter to the form what you seen.

Can I upload iOS App to the App Store if Role is Member not Admin?

I have member role accordingly Apple Developer Program Team Roles described here: https://developer.apple.com/support/roles/
And Developer role as App Storer connect user for the same team.
Every time I try to Distribute the app by uploading to the AppStore I have an error message that says "Role is Member, but at least Admin is required"
For other accounts, I have Admin rights and don't have such problems and it is unclear is it really possible to upload builds for Developer + Member role combination.
I found that in some cases the reason for the error is missed certificate, but for this account, certificates are on the place:
The same error happens if I try to add the project to the Xcode server for CI. What seems correct, because in all the documents Admin role is asked for this action.

Resources