SSOExtensions

RSS for tag

Enable single sign-on for apps and websites for your business or school.

Posts under SSO Extensions tag

54 Posts

Post

Replies

Boosts

Views

Activity

SSO Extension access to Profile SCEP certificate
How does an SSO Extension access a SCEP certificate from its associated profile so that it can make a client SSL connection? We are creating a Credential SSO extension where the extension must make a client-auth SSL connection using a SCEP certificate to establish the identity of the user. The SCEP certificate is created as part of the MDM-provisioned profile that also includes the SSO extension configuration. The "certificateUUID" value in the extension data has the UUID of the SCEP payload. We have tried using SecItemCopyMatching to get the certificate from the KeyChain but it returns a "not found" error code. let query: [String: Any] = [kSecClass as String: kSecClassCertificate,                   kSecMatchSubjectContains as String: "user1",                   kSecMatchLimit as String: kSecMatchLimitOne,                   kSecReturnAttributes as String: true,                   kSecReturnData as String: true] var item: CFTypeRef? let status = SecItemCopyMatching(query as CFDictionary, &item) We also tried using an URLSession object without providing the client certificate, thinking that URLSession would get the certificate from the keychain on its own, but that didn't work. After installing the profile, we accessed the server successfully from Safari, so Safari is picking up the certificate from the keychain. The Kerberos SSO Extension is able to do a PKINIT certificate authentication using a SCEP certificate from its profile. So it seems as though any SSO extension should be able to do this. Or does the Kerberos SSO extension have some special permission that other SSO extensions do not have?
0
1
783
Aug ’22
callerBundleIdentifier in ASAuthorizationProviderExtensionAuthorizationRequest is different from actual App bundleId
I have an App with bundleId in Xcode as "com.companyname.abc.123" when using ASAuthorizationProviderExtensionAuthorizationRequest with Enterprise Sso plugin feature, the callerBundleIdentifier shows a different (com.companyname.abc without 123 in the end) which failed our validation. Do we know where the callerBundleIdentifier comes from? I noticed something called audittoken as well from console logs, but no idea how it is generated.
1
0
1.3k
Jul ’22
Does have anyway for turn off dialog confirm when using ASAuthenticationSession and still shared Cookies between apps.
I finding some for ways for turn off dialog popup when using ASAuthenticationSession. I also set prefersEphemeralWebBrowserSession = true for not display dialog confirm but it also turn off shared cookies between apps. So does Apple support anyway for still shared cookies and doesn't show any dialog confirm. Thank you very much.
0
0
710
Jul ’22
How to prepare app for submission which is dependent on another app (same organisation) for SSO login
We have an app (under development) which needs another app to login. Let's say App 1 already installed parent app on user device and we are developing App 2 which is dependent on App 1 for SSO login using oAuth. So my question is, If we submit app 2 for approval, how the review team will test it? will it be rejected ? what is the standard procedure in such cases?. Can we share the credentials of App 1 and Review team install App 1 and try ?
1
0
1.5k
Apr ’22
Using a Single Sign On (SSO) concept without violating Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage
Hi all We have recently had an issue with using a single sign on login concept in a submission which was flagged under Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage and we are wondering what the development best practices were in this circumstance. The reason being was because if the user did not already have an account, we provided a button which then loaded the 3rd parties registration form in a web frame. However the system we are using requires the users address and phone number for various reasons, although our app does not use that data at all - therefore we were told we are breaking the guidelines. Our app is not collecting, or storing any of this information (or even has visibility to it), and it is all covered in both ours, and the third parties privacy policies, however it seems that we are still violating the clause. My question to other developers and Apple support - is how is this dealt with in other apps that use larger SSO systems such as iCloud, Google and Facebook? If you use one of those for login, they require various fields, and personal data, which is then may not be used within apps themselves, however they seem not to violate the same policy, or at least may not have been flagged to do so. Our system is in context of holiday park bookings and this is an outline of the two processes that may happen: User already has account User books holiday on holiday parks booking system (The SSO Controller) This process includes the registration process so user will have email and password Before, or during the users holiday they download our app, and use this same username and password to add their booking information to our app User does not already have an account User books holiday in person, or over the phone They do not have a web account - but want to still download and use our app If they wish to login with their booking they need to then create an account on the booking system (SSO) - which for CRM and payment reasons, requires the users address and phone numbers Our app provides a button to load the registration in a web frame, and once the user is registered can then login to the app This second circumstance is the issue we are having, and for now have had to remove this to comply. Only people who originally booked their holiday online now being able to login with their booking. There are potentially other avenues we can explore with the booking system, but before we roadmap more development time for these, I was hoping the community, or Apple themselves could point us towards best practices, or documentation for this, and how others have dealt with it
0
0
851
Apr ’22
Certificate Authentication using Enterprise SSO
Hi, In a managed environment, will apps/enterprise SSO extensions have access to digital identities installed at a system-wide level? I did try with ASWebAuthentication/Safari, both of them can pick the certificate but the SSO extension with URLSession cannot. Is there a challenge that needs to be handled? I did try with redirect extension. Also, a native app that is only deployed in the managed environment can have access to the digital identity that is installed at the system level? What are my options to do a certificate authentication? Thanks
1
0
1.3k
Mar ’22
Enterprise SSO Extension for iOS
Hi I've built an SSO extension for my app. Now I would like to update the authsrv:login.myhost.com with additional associated domains generated by the MDM. The video here at 9:10 mark references the MDM associated domain ApplicationAttributes for iOS as the way to go. https://developer.apple.com/videos/play/tech-talks/301/ Is it just a matter of including: com.apple.developer.associated-domains.mdm-managed=YES in the entitlement file for both the app and the extension and having the MDM push down something like this in the profile? <dict> <key>AssociatedDomains</key> <array> <string>authsrv:login.myhost2.com</string> </array> </dict> Appreciate any guidance.
0
0
1.2k
Feb ’22
UserDefaults and SSO Extensions
Hi Have a question around extensions and app group capabilities. I have an existing app using UserDefaults and if I want to introduce an SSO extension; the extension doesn't use or need any of the data created by the app and saved to UserDefaults. Will the app still have access to the UserDefaults or do I have move to UserDefaults(suiteName: "group.com.YourCompany.YourApp") even if UserDefaults is only used by the app? Many thanks
2
0
1.2k
Feb ’22
Hybrid iOS app is not showing up auth-Prompt screen for New Kerberos SSO - credential based auth challenge.
We have a Hybrid iOS Application build on Cordova Plugin, and it worked with Old Kerberos SSO -credential based authentication. Recently, we have updated the New Kerberos based SSO by following the presentation ( https://developer.apple.com/videos/play/tech-talks/301/ ) . After which the hybrid app is not prompting for the HTTP response challenge, but it should support for the New Kerberos SSO – credential-based authentication. We could see the response header has the below attribute for SSO handshake challenge.   Www-Authenticate: Negotiate, Basic realm="IBM Security Access Manager for Web" But the auth prompt screen is not appearing, and connection is throwing with 401-unauthenticated response. Note : We can see this below prompt for Old Kerb -SSO but it’s not showing up after New Kerberos SSO. System Specification: XCode – 13 Cordova 6.2.0 iPad -15.0 Please let us know if any solution would solve this. Thanks
1
0
748
Jan ’22
SSO login using WKWebView with a Normal URL without callback feature
I need to perform SSO login using WkWebView and I am not using SFSafariViewController because the URL which I use is a normal web URL and I need to stop loading of next page as soon as I get a ID value in the URL as Query parameter. Now, When I use WKWebView I am unable to logout the previous session saved in WKWebView itself until I manually clear the cache of it. is there any way I can sync Safari and WkWebView sessions, So, if I login in WkWebView I can logout the same from Safari. I have tried using ASWebAuthenticateSession but as I said I need to stop the next page reload. HELP!!!
0
0
1.2k
Dec ’21
SSO Extension access to Profile SCEP certificate
How does an SSO Extension access a SCEP certificate from its associated profile so that it can make a client SSL connection? We are creating a Credential SSO extension where the extension must make a client-auth SSL connection using a SCEP certificate to establish the identity of the user. The SCEP certificate is created as part of the MDM-provisioned profile that also includes the SSO extension configuration. The "certificateUUID" value in the extension data has the UUID of the SCEP payload. We have tried using SecItemCopyMatching to get the certificate from the KeyChain but it returns a "not found" error code. let query: [String: Any] = [kSecClass as String: kSecClassCertificate,                   kSecMatchSubjectContains as String: "user1",                   kSecMatchLimit as String: kSecMatchLimitOne,                   kSecReturnAttributes as String: true,                   kSecReturnData as String: true] var item: CFTypeRef? let status = SecItemCopyMatching(query as CFDictionary, &item) We also tried using an URLSession object without providing the client certificate, thinking that URLSession would get the certificate from the keychain on its own, but that didn't work. After installing the profile, we accessed the server successfully from Safari, so Safari is picking up the certificate from the keychain. The Kerberos SSO Extension is able to do a PKINIT certificate authentication using a SCEP certificate from its profile. So it seems as though any SSO extension should be able to do this. Or does the Kerberos SSO extension have some special permission that other SSO extensions do not have?
Replies
0
Boosts
1
Views
783
Activity
Aug ’22
callerBundleIdentifier in ASAuthorizationProviderExtensionAuthorizationRequest is different from actual App bundleId
I have an App with bundleId in Xcode as "com.companyname.abc.123" when using ASAuthorizationProviderExtensionAuthorizationRequest with Enterprise Sso plugin feature, the callerBundleIdentifier shows a different (com.companyname.abc without 123 in the end) which failed our validation. Do we know where the callerBundleIdentifier comes from? I noticed something called audittoken as well from console logs, but no idea how it is generated.
Replies
1
Boosts
0
Views
1.3k
Activity
Jul ’22
Have any ways for share data between apps haven't same Development ID
I have a problem is we have some clients. And each client have difference Apple Development Id. But we want to share data between apps like Keychain Sharing or App Group but it require same Apple Development Id. So have any other ways for apps can share data with difference Apple Id?
Replies
0
Boosts
0
Views
1.1k
Activity
Jul ’22
Does have anyway for turn off dialog confirm when using ASAuthenticationSession and still shared Cookies between apps.
I finding some for ways for turn off dialog popup when using ASAuthenticationSession. I also set prefersEphemeralWebBrowserSession = true for not display dialog confirm but it also turn off shared cookies between apps. So does Apple support anyway for still shared cookies and doesn't show any dialog confirm. Thank you very much.
Replies
0
Boosts
0
Views
710
Activity
Jul ’22
How to prepare app for submission which is dependent on another app (same organisation) for SSO login
We have an app (under development) which needs another app to login. Let's say App 1 already installed parent app on user device and we are developing App 2 which is dependent on App 1 for SSO login using oAuth. So my question is, If we submit app 2 for approval, how the review team will test it? will it be rejected ? what is the standard procedure in such cases?. Can we share the credentials of App 1 and Review team install App 1 and try ?
Replies
1
Boosts
0
Views
1.5k
Activity
Apr ’22
Using a Single Sign On (SSO) concept without violating Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage
Hi all We have recently had an issue with using a single sign on login concept in a submission which was flagged under Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage and we are wondering what the development best practices were in this circumstance. The reason being was because if the user did not already have an account, we provided a button which then loaded the 3rd parties registration form in a web frame. However the system we are using requires the users address and phone number for various reasons, although our app does not use that data at all - therefore we were told we are breaking the guidelines. Our app is not collecting, or storing any of this information (or even has visibility to it), and it is all covered in both ours, and the third parties privacy policies, however it seems that we are still violating the clause. My question to other developers and Apple support - is how is this dealt with in other apps that use larger SSO systems such as iCloud, Google and Facebook? If you use one of those for login, they require various fields, and personal data, which is then may not be used within apps themselves, however they seem not to violate the same policy, or at least may not have been flagged to do so. Our system is in context of holiday park bookings and this is an outline of the two processes that may happen: User already has account User books holiday on holiday parks booking system (The SSO Controller) This process includes the registration process so user will have email and password Before, or during the users holiday they download our app, and use this same username and password to add their booking information to our app User does not already have an account User books holiday in person, or over the phone They do not have a web account - but want to still download and use our app If they wish to login with their booking they need to then create an account on the booking system (SSO) - which for CRM and payment reasons, requires the users address and phone numbers Our app provides a button to load the registration in a web frame, and once the user is registered can then login to the app This second circumstance is the issue we are having, and for now have had to remove this to comply. Only people who originally booked their holiday online now being able to login with their booking. There are potentially other avenues we can explore with the booking system, but before we roadmap more development time for these, I was hoping the community, or Apple themselves could point us towards best practices, or documentation for this, and how others have dealt with it
Replies
0
Boosts
0
Views
851
Activity
Apr ’22
Certificate Authentication using Enterprise SSO
Hi, In a managed environment, will apps/enterprise SSO extensions have access to digital identities installed at a system-wide level? I did try with ASWebAuthentication/Safari, both of them can pick the certificate but the SSO extension with URLSession cannot. Is there a challenge that needs to be handled? I did try with redirect extension. Also, a native app that is only deployed in the managed environment can have access to the digital identity that is installed at the system level? What are my options to do a certificate authentication? Thanks
Replies
1
Boosts
0
Views
1.3k
Activity
Mar ’22
Enterprise SSO Extension for iOS
Hi I've built an SSO extension for my app. Now I would like to update the authsrv:login.myhost.com with additional associated domains generated by the MDM. The video here at 9:10 mark references the MDM associated domain ApplicationAttributes for iOS as the way to go. https://developer.apple.com/videos/play/tech-talks/301/ Is it just a matter of including: com.apple.developer.associated-domains.mdm-managed=YES in the entitlement file for both the app and the extension and having the MDM push down something like this in the profile? <dict> <key>AssociatedDomains</key> <array> <string>authsrv:login.myhost2.com</string> </array> </dict> Appreciate any guidance.
Replies
0
Boosts
0
Views
1.2k
Activity
Feb ’22
UserDefaults and SSO Extensions
Hi Have a question around extensions and app group capabilities. I have an existing app using UserDefaults and if I want to introduce an SSO extension; the extension doesn't use or need any of the data created by the app and saved to UserDefaults. Will the app still have access to the UserDefaults or do I have move to UserDefaults(suiteName: "group.com.YourCompany.YourApp") even if UserDefaults is only used by the app? Many thanks
Replies
2
Boosts
0
Views
1.2k
Activity
Feb ’22
Hybrid iOS app is not showing up auth-Prompt screen for New Kerberos SSO - credential based auth challenge.
We have a Hybrid iOS Application build on Cordova Plugin, and it worked with Old Kerberos SSO -credential based authentication. Recently, we have updated the New Kerberos based SSO by following the presentation ( https://developer.apple.com/videos/play/tech-talks/301/ ) . After which the hybrid app is not prompting for the HTTP response challenge, but it should support for the New Kerberos SSO – credential-based authentication. We could see the response header has the below attribute for SSO handshake challenge.   Www-Authenticate: Negotiate, Basic realm="IBM Security Access Manager for Web" But the auth prompt screen is not appearing, and connection is throwing with 401-unauthenticated response. Note : We can see this below prompt for Old Kerb -SSO but it’s not showing up after New Kerberos SSO. System Specification: XCode – 13 Cordova 6.2.0 iPad -15.0 Please let us know if any solution would solve this. Thanks
Replies
1
Boosts
0
Views
748
Activity
Jan ’22
SSO login using WKWebView with a Normal URL without callback feature
I need to perform SSO login using WkWebView and I am not using SFSafariViewController because the URL which I use is a normal web URL and I need to stop loading of next page as soon as I get a ID value in the URL as Query parameter. Now, When I use WKWebView I am unable to logout the previous session saved in WKWebView itself until I manually clear the cache of it. is there any way I can sync Safari and WkWebView sessions, So, if I login in WkWebView I can logout the same from Safari. I have tried using ASWebAuthenticateSession but as I said I need to stop the next page reload. HELP!!!
Replies
0
Boosts
0
Views
1.2k
Activity
Dec ’21