admin管理员组文章数量:1356582
I'm experiencing an issue with Decap CMS OAuth integration. Here's the situation:
I have successfully set up Decap CMS with GitLab authentication.
When I authorize using GitLab, I'm correctly redirected to example/admin/ (GitLab authorization page).
However, after completing the authorization, I am being redirected to the homepage (example/) instead of the /admin/#/collections/home-page page where I expect to land.
Here's what I've tried so far: Verified that my config.yml file on the staging server is correctly set up with the site_url: "example/admin/".
Checked GitLab OAuth application settings, and the redirect URI is properly set.
I’ve tested this on my local environment, where it works correctly.
I’ve cleared browser cache and cookies and retried.
I’ve checked the server logs for any related errors (none found).
backend:
name: gitlab
repo: ""
branch: "decap_cms"
auth_type:"pkce" app_id: ""
api_root: "https://gitlab/api/v4"
base_url: "https://gitlab" use_graphql: false
use_proxy_url: false site_url: "/" authentication_error_callback: handleAuthError
Problem: After authorizing with GitLab, I am redirected to the homepage of the website (example/) instead of being taken to the admin page for content management (/admin/#/collections/home-page).
Any help or ideas on how I can resolve this issue?
Thanks!
本文标签:
版权声明:本文标题:azure - Decap CMS OAuth Redirect Issue - Redirecting to Homepage Instead of Admin Page After GitLab Authorization - Stack Overfl 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743949950a2567106.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论