File tree Expand file tree Collapse file tree
main/docs/get-started/universal-components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ Nest `Auth0ComponentProvider` in your authentication provider (`Auth0Provider`).
4040 domain = " your-tenant.auth0.com"
4141 clientId = " YOUR_CLIENT_ID"
4242 authorizationParams = { { redirect_uri: window .location .origin }}
43+ interactiveErrorHandler = ' popup' // Required to handle step-up auth challenges via Universal Login popup
4344 >
4445 <Auth0ComponentProvider domain = " your-tenant.auth0.com" >
4546 { /* Your app with Auth0 Universal Components */ }
@@ -968,6 +969,7 @@ All custom methods are optional. Only implement the ones you need. Methods recei
968969 domain = " your-tenant.auth0.com"
969970 clientId = " YOUR_CLIENT_ID"
970971 authorizationParams = { { redirect_uri: window .location .origin }}
972+ interactiveErrorHandler = ' popup' // Required to handle step-up auth challenges via Universal Login popup
971973 >
972974 <Auth0ComponentProvider domain = " your-tenant.auth0.com" >
973975 { /* Your app with Auth0 Universal Components */ }
Original file line number Diff line number Diff line change @@ -131,7 +131,9 @@ domain={domain}
131131clientId = " your-client-id"
132132authorizationParams = { {
133133 redirect_uri: window .location .origin ,
134- }} >
134+ }}
135+ interactiveErrorHandler = ' popup' // Required to handle step-up auth challenges via Universal Login popup
136+ >
135137<Auth0ComponentProvider domain = { domain } >
136138<DomainsManagementPage />
137139</Auth0ComponentProvider >
@@ -1250,7 +1252,9 @@ domain={domain}
12501252clientId = " your-client-id"
12511253authorizationParams = { {
12521254 redirect_uri: window .location .origin ,
1253- }} >
1255+ }}
1256+ interactiveErrorHandler = ' popup' // Required to handle step-up auth challenges via Universal Login popup
1257+ >
12541258<Auth0ComponentProvider domain = { domain } >
12551259<DomainsManagementPage />
12561260</Auth0ComponentProvider >
Original file line number Diff line number Diff line change @@ -114,7 +114,9 @@ return (
114114<Auth0Provider
115115domain = { domain }
116116clientId = " your-client-id"
117- authorizationParams = { { redirect_uri: window .location .origin }} >
117+ authorizationParams = { { redirect_uri: window .location .origin }}
118+ interactiveErrorHandler = ' popup' // Required to handle step-up auth challenges via Universal Login popup
119+ >
118120<Auth0ComponentProvider domain = { domain } >
119121<CreateSsoProviderPage />
120122</Auth0ComponentProvider >
@@ -316,7 +318,9 @@ return (
316318<Auth0Provider
317319domain = { domain }
318320clientId = " your-client-id"
319- authorizationParams = { { redirect_uri: window .location .origin }} >
321+ authorizationParams = { { redirect_uri: window .location .origin }}
322+ interactiveErrorHandler = ' popup' // Required to handle step-up auth challenges via Universal Login popup
323+ >
320324<Auth0ComponentProvider domain = { domain } >
321325<CreateSsoProviderPage />
322326</Auth0ComponentProvider >
Original file line number Diff line number Diff line change @@ -153,7 +153,9 @@ domain={domain}
153153clientId = " your-client-id"
154154authorizationParams = { {
155155 redirect_uri: window .location .origin ,
156- }} >
156+ }}
157+ interactiveErrorHandler = ' popup' // Required to handle step-up auth challenges via Universal Login popup
158+ >
157159<Auth0ComponentProvider domain = { domain } >
158160<EditProviderPage />
159161</Auth0ComponentProvider >
@@ -2128,7 +2130,9 @@ domain={domain}
21282130clientId = " your-client-id"
21292131authorizationParams = { {
21302132 redirect_uri: window .location .origin ,
2131- }} >
2133+ }}
2134+ interactiveErrorHandler = ' popup' // Required to handle step-up auth challenges via Universal Login popup
2135+ >
21322136<Auth0ComponentProvider domain = { domain } >
21332137<EditProviderPage />
21342138</Auth0ComponentProvider >
Original file line number Diff line number Diff line change @@ -145,7 +145,9 @@ domain={domain}
145145clientId = " your-client-id"
146146authorizationParams = { {
147147 redirect_uri: window .location .origin ,
148- }} >
148+ }}
149+ interactiveErrorHandler = ' popup' // Required to handle step-up auth challenges via Universal Login popup
150+ >
149151<Auth0ComponentProvider domain = { domain } >
150152<ProvidersManagementPage />
151153</Auth0ComponentProvider >
@@ -1530,7 +1532,9 @@ domain={domain}
15301532clientId = " your-client-id"
15311533authorizationParams = { {
15321534 redirect_uri: window .location .origin ,
1533- }} >
1535+ }}
1536+ interactiveErrorHandler = ' popup' // Required to handle step-up auth challenges via Universal Login popup
1537+ >
15341538<Auth0ComponentProvider domain = { domain } >
15351539<ProvidersManagementPage />
15361540</Auth0ComponentProvider >
Original file line number Diff line number Diff line change @@ -146,7 +146,9 @@ domain={domain}
146146clientId = { clientId }
147147authorizationParams = { {
148148 redirect_uri: window .location .origin ,
149- }} >
149+ }}
150+ interactiveErrorHandler = ' popup' // Required to handle step-up auth challenges via Universal Login popup
151+ >
150152<Auth0ComponentProvider domain = { domain } >
151153<OrganizationSettingsPage />
152154</Auth0ComponentProvider >
@@ -1260,7 +1262,9 @@ domain={domain}
12601262clientId = { clientId }
12611263authorizationParams = { {
12621264 redirect_uri: window .location .origin ,
1263- }} >
1265+ }}
1266+ interactiveErrorHandler = ' popup' // Required to handle step-up auth challenges via Universal Login popup
1267+ >
12641268<Auth0ComponentProvider domain = { domain } >
12651269<OrganizationSettingsPage />
12661270</Auth0ComponentProvider >
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ function App() {
7777 authorizationParams = { {
7878 redirect_uri: window .location .origin ,
7979 }}
80+ interactiveErrorHandler = ' popup' // Required to handle step-up auth challenges via Universal Login popup
8081 >
8182 <Auth0ComponentProvider domain = { domain } >
8283 { /* Your app components */ }
@@ -278,6 +279,7 @@ function App() {
278279 authorizationParams = { {
279280 redirect_uri: window .location .origin ,
280281 }}
282+ interactiveErrorHandler = ' popup' // Required to handle step-up auth challenges via Universal Login popup
281283 >
282284 <Auth0ComponentProvider domain = { domain } >
283285 { /* Your app components */ }
You can’t perform that action at this time.
0 commit comments