Redirect URI error when testing login in solara app
Hi, I am trying to test an auth example in solara via okta. I have configured my app in okta following the solara docs and I am trying to test (locally) a simple login button. The relevant part of the snippet is
I see the
which is missing the main base url (what sets that value?)? Am I missing something in the configuration? I am setting these in my
and in okta I have set application login url as:
and allowed callback urls as:
authorize:
logout:
is this correct?
I see the
login button appear in my app but when I click on it a get a invalid_request error in the browser saying that the redirect_uri parameter in the request did not match any of the Login redirect URIs configured in the client application settings. If I print the output of get_login_url I get/_solara/auth/login?redirect_uri=http%3A//localhost%3A8080which is missing the main base url (what sets that value?)? Am I missing something in the configuration? I am setting these in my
.envand in okta I have set application login url as:
http://localhost:8080/_solara/auth/loginand allowed callback urls as:
authorize:
http://localhost:8080/_solara/auth/authorizelogout:
http://localhost:8080/_solara/auth/logoutis this correct?
