# SFSafariViewController provider

**URL:** <https://community.auth0.com/t/sfsafariviewcontroller-provider/101289>\
**Category:** Get Help\
**Tags:** prompts, management-api\
**Created:** [February 25, 2023, 6:48pm UTC](https://community.auth0.com/t/sfsafariviewcontroller-provider/101289 "2023-02-25T18:48:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![boyan.p.pavlov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/boyan.p.pavlov/32/44934_2.png) [@boyan.p.pavlov](https://community.auth0.com/u/boyan.p.pavlov)\
**Post date:** [February 25, 2023, 6:48pm UTC](https://community.auth0.com/t/sfsafariviewcontroller-provider/101289/1 "2023-02-25T18:48:30Z")

</div>

Hello community!  
I have a really simple question and it concerns the problem about iOS SSO alert box. The Devs have written this Q&A: [Auth0.swift/FAQ.md at master · auth0/Auth0.swift · GitHub](https://github.com/auth0/Auth0.swift/blob/master/FAQ.md). The problem is that they state that when using `.provider(WebAuthentication.safariProvider())` I have to manually return to my app which is something I don’t know how to do. I would be really happy to find out how. I am using SwiftUI.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 27, 2023, 8:14am UTC](https://community.auth0.com/t/sfsafariviewcontroller-provider/101289/2 "2023-02-27T08:14:41Z")

</div>

Hey there!

Actually you have three points listed here:

> <https://github.com/auth0/Auth0.swift/blob/master/FAQ.md#use-sfsafariviewcontroller>

under three sections (depends on your current implementation):

- Using the UIKit app lifecycle
- Using the UIKit app lifecycle with Scenes
- Using the SwiftUI app lifecycle

No matter what option you use I believe the only change you need to make is to provide an appropriate URL

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 13, 2023, 8:14am UTC](https://community.auth0.com/t/sfsafariviewcontroller-provider/101289/3 "2023-03-13T08:14:43Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
