login form okie
This commit is contained in:
@@ -152,6 +152,16 @@ spring:
|
||||
enabled: true
|
||||
security:
|
||||
oauth2:
|
||||
client:
|
||||
registration:
|
||||
google:
|
||||
client-id: 416910503373-de8dpds39j5klabamn7e9lqcku29okeh.apps.googleusercontent.com
|
||||
client-secret: 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
|
||||
authorization-uri: https://accounts.google.com/o/oauth2/v2/auth?prompt=select_account
|
||||
scope:
|
||||
- openid
|
||||
- email
|
||||
- profile
|
||||
resourceserver:
|
||||
jwt:
|
||||
authority-prefix: ''
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<databaseChangeLog
|
||||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">
|
||||
|
||||
<changeSet id="20260629084709-1" author="antigravity">
|
||||
<addColumn tableName="sis_page">
|
||||
<column name="layout" type="varchar(20)" defaultValue="STANDARD">
|
||||
<constraints nullable="false" />
|
||||
</column>
|
||||
</addColumn>
|
||||
</changeSet>
|
||||
|
||||
</databaseChangeLog>
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<databaseChangeLog
|
||||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
|
||||
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd
|
||||
http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
|
||||
|
||||
<!--
|
||||
Added WordPress-like roles to jhi_authority.
|
||||
-->
|
||||
<changeSet id="20260629163500-1" author="jhipster">
|
||||
<preConditions onFail="MARK_RAN">
|
||||
<sqlCheck expectedResult="0">SELECT COUNT(*) FROM jhi_authority WHERE name = 'ROLE_EDITOR'</sqlCheck>
|
||||
</preConditions>
|
||||
<insert tableName="jhi_authority">
|
||||
<column name="name" value="ROLE_EDITOR"/>
|
||||
</insert>
|
||||
<insert tableName="jhi_authority">
|
||||
<column name="name" value="ROLE_AUTHOR"/>
|
||||
</insert>
|
||||
<insert tableName="jhi_authority">
|
||||
<column name="name" value="ROLE_CONTRIBUTOR"/>
|
||||
</insert>
|
||||
<insert tableName="jhi_authority">
|
||||
<column name="name" value="ROLE_SUBSCRIBER"/>
|
||||
</insert>
|
||||
</changeSet>
|
||||
</databaseChangeLog>
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<databaseChangeLog
|
||||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
|
||||
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd
|
||||
http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
|
||||
|
||||
<changeSet id="20260629165300-1" author="jhipster">
|
||||
<addColumn tableName="jhi_user">
|
||||
<column name="using_2fa" type="boolean" defaultValueBoolean="false">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="totp_secret" type="varchar(255)"/>
|
||||
</addColumn>
|
||||
</changeSet>
|
||||
</databaseChangeLog>
|
||||
@@ -1,3 +1,8 @@
|
||||
name
|
||||
ROLE_ADMIN
|
||||
ROLE_USER
|
||||
ROLE_EDITOR
|
||||
ROLE_AUTHOR
|
||||
ROLE_CONTRIBUTOR
|
||||
ROLE_SUBSCRIBER
|
||||
ROLE_PRE_AUTH_2FA
|
||||
|
||||
|
@@ -23,6 +23,9 @@
|
||||
<include file="config/liquibase/changelog/20260625120000_add_page_type.xml" relativeToChangelogFile="false"/>
|
||||
<include file="config/liquibase/changelog/20260628100000_add_post_category_tag.xml" relativeToChangelogFile="false"/>
|
||||
<include file="config/liquibase/changelog/20260628151700_add_post_layout.xml" relativeToChangelogFile="false"/>
|
||||
<include file="config/liquibase/changelog/20260629084709_add_page_layout.xml" relativeToChangelogFile="false"/>
|
||||
<include file="config/liquibase/changelog/20260629163500_add_wordpress_roles.xml" relativeToChangelogFile="false"/>
|
||||
<include file="config/liquibase/changelog/20260629165300_add_totp_to_user.xml" relativeToChangelogFile="false"/>
|
||||
<!-- jhipster-needle-liquibase-add-changelog - JHipster will add liquibase changelogs here -->
|
||||
<!-- jhipster-needle-liquibase-add-constraints-changelog - JHipster will add liquibase constraints changelogs here -->
|
||||
<!-- jhipster-needle-liquibase-add-incremental-changelog - JHipster will add incremental liquibase changelogs here -->
|
||||
|
||||
Reference in New Issue
Block a user