Ruoyi-vue-pig
RuoYi Vue Pig is an open-source server designed to manage user authentication and security in applications by integrating front-end and back-end systems. It simplifies the login process using a secure OAuth client setup, allowing easy user management.
Author

568163103
MIT License
Quick Info
Tools 1
Last Updated 2026-02-19
Actions
Tags
oauthapispigvue pigapis httppig ruoyi
PIGX 整合前后端分离项目登录

插入客户端
INSERT INTO `pig`.`sys_oauth_client_details`(`client_id`, `resource_ids`, `client_secret`, `scope`, `authorized_grant_types`, `web_server_redirect_uri`, `authorities`, `access_token_validity`, `refresh_token_validity`, `additional_information`, `autoapprove`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES ('ruoyi', '', 'ruoyi', 'server', 'authorization_code', '', '', 17800000, 17800000, '', 'false', '2023-01-17 10:37:32', '2023-01-17 10:37:32', 'admin', 'admin');
RuoYi 后端信息
配置 RuoYi 前端地址 默认 1024 端口 配置 PIG 认证中心地址

RuoYi 前端配置
-
登录页面配置

-
退出页面配置

