You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My app only requires authentication in certain contexts, but if oidc configuration is omitted from the AuthProvider, I get the error "No authority or metadataUrl configured on settings". I can't conditionally render AuthProvider because it's required for useAuth() and react doesn't allow the conditional use of hooks.
Is there any way to omit authentication in the AuthProvider without getting this error?
The text was updated successfully, but these errors were encountered:
My app only requires authentication in certain contexts, but if oidc configuration is omitted from the AuthProvider, I get the error "No authority or metadataUrl configured on settings". I can't conditionally render AuthProvider because it's required for useAuth() and react doesn't allow the conditional use of hooks.
Is there any way to omit authentication in the AuthProvider without getting this error?
The text was updated successfully, but these errors were encountered: