We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.2.0
If the app runs in a subdirectory (e.g. host.xy/subdir) the buttons on the login-page still point to host.xy/socialite/... resulting in errors.
Buttons should use relative targets and in this example point to host.xy/subdir/socialite/...
No response
Can be fixes with the following patch
index 8b8bee52..6c246d1e 100644 --- a/resources/js/views/auth/Login.vue +++ b/resources/js/views/auth/Login.vue @@ -130,10 +130,10 @@ {{ $t('auth.or_continue_with') }} </div> <div class="column py-1"> - <a v-if="$2fauth.config.sso.openid" id="lnkSignWithOpenID" class="button is-link is-outlined is-small ml-2" href="/socialite/redirect/openid"> + <a v-if="$2fauth.config.sso.openid" id="lnkSignWithOpenID" class="button is-link is-outlined is-small ml-2" href="./socialite/redirect/openid"> OpenID<FontAwesomeIcon class="ml-2" :icon="['fab', 'openid']" /> </a> - <a v-if="$2fauth.config.sso.github" id="lnkSignWithGithub" class="button is-link is-outlined is-small ml-2" href="/socialite/redirect/github"> + <a v-if="$2fauth.config.sso.github" id="lnkSignWithGithub" class="button is-link is-outlined is-small ml-2" href="./socialite/redirect/github"> Github<FontAwesomeIcon class="ml-2" :icon="['fab', 'github-alt']" /> </a> </div> @@ -171,10 +171,10 @@ {{ $t('auth.or_continue_with') }} </div> <div class="column py-1"> - <a v-if="$2fauth.config.sso.openid" id="lnkSignWithOpenID" class="button is-link is-outlined is-small mr-2" href="/socialite/redirect/openid"> + <a v-if="$2fauth.config.sso.openid" id="lnkSignWithOpenID" class="button is-link is-outlined is-small mr-2" href="./socialite/redirect/openid"> OpenID<FontAwesomeIcon class="ml-2" :icon="['fab', 'openid']" /> </a> - <a v-if="$2fauth.config.sso.github" id="lnkSignWithGithub" class="button is-link is-outlined is-small mr-2" href="/socialite/redirect/github"> + <a v-if="$2fauth.config.sso.github" id="lnkSignWithGithub" class="button is-link is-outlined is-small mr-2" href="./socialite/redirect/github"> Github<FontAwesomeIcon class="ml-2" :icon="['fab', 'github-alt']" /> </a> </div>
The text was updated successfully, but these errors were encountered:
Thx for the report, this will be fixed in the next version.
Sorry, something went wrong.
091129e
No branches or pull requests
Version
5.2.0
Details & Steps to reproduce
If the app runs in a subdirectory (e.g. host.xy/subdir) the buttons on the login-page still point to host.xy/socialite/... resulting in errors.
Expectation
Buttons should use relative targets and in this example point to host.xy/subdir/socialite/...
Error & Logs
No response
Execution environment
No response
Containerization
Additional information
Can be fixes with the following patch
The text was updated successfully, but these errors were encountered: