diff --git a/.github/ISSUE_TEMPLATE/.editorconfig b/.github/ISSUE_TEMPLATE/.editorconfig
new file mode 100644
index 00000000..d2204156
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/.editorconfig
@@ -0,0 +1,2 @@
+[*.md]
+indent_size = 2
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index a4171cba..00000000
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,38 +0,0 @@
----
-name: 🐛 Bug report
-about: Report a bug to help us improve Dex
----
-
-
-#### Expected behavior (what you expected to happen)
-
-#### Actual behavior (what actually happened)
-
-#### Steps to reproduce
-
-1. ...
-2. ...
-3. ...
-
-#### Environment
-
-- Dex version:
-- Storage type:
-- Installation type (official docker image, helm chart, etc.):
-
-#### Anything else we should know?
-
-#### Additional information for debugging (if necessary)
-
-Configuration
-
-
-
-Logs
-
-
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml
new file mode 100644
index 00000000..cf3d996b
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yaml
@@ -0,0 +1,102 @@
+name: 🐛 Bug report
+description: Report a bug to help us improve Dex
+body:
+- type: markdown
+ attributes:
+ value: |
+ Thank you for submitting a bug report!
+
+ Please fill out the template below to make it easier to debug your problem.
+
+ If you are not sure if it is a bug or not, you can contact us via the available [support channels](https://github.com/dexidp/dex/issues/new/choose).
+- type: checkboxes
+ attributes:
+ label: Preflight Checklist
+ description: Please ensure you've completed all of the following.
+ options:
+ - label: I agree to follow the [Code of Conduct](https://github.com/dexidp/dex/blob/master/.github/CODE_OF_CONDUCT.md) that this project adheres to.
+ required: true
+ - label: I have searched the [issue tracker](https://www.github.com/dexidp/dex/issues) for an issue that matches the one I want to file, without success.
+ required: true
+ - label: I am not looking for support or already pursued the available [support channels](https://github.com/dexidp/dex/issues/new/choose) without success.
+ required: true
+- type: input
+ attributes:
+ label: Version
+ description: What version of Dex are you running?
+ placeholder: 2.29.0
+ validations:
+ required: true
+- type: dropdown
+ attributes:
+ label: Storage Type
+ description: Which persistent storage type are you using?
+ options:
+ - etcd
+ - Kubernetes
+ - In-memory
+ - Postgres
+ - MySQL
+ - SQLite
+ validations:
+ required: true
+- type: dropdown
+ attributes:
+ label: Installation Type
+ description: How did you install Dex?
+ options:
+ - Binary
+ - Official container image
+ - Official Helm chart
+ - Custom container image
+ - Custom Helm chart
+ - Other (specify below)
+ multiple: true
+ validations:
+ required: true
+- type: textarea
+ attributes:
+ label: Expected Behavior
+ description: A clear and concise description of what you expected to happen.
+ validations:
+ required: true
+- type: textarea
+ attributes:
+ label: Actual Behavior
+ description: A clear description of what actually happens.
+ validations:
+ required: true
+- type: textarea
+ attributes:
+ label: Steps To Reproduce
+ description: Steps to reproduce the behavior if it is not self-explanatory.
+ placeholder: |
+ 1. In this environment...
+ 2. With this config...
+ 3. Run '...'
+ 4. See error...
+- type: textarea
+ attributes:
+ label: Additional Information
+ description: Links? References? Anything that will give us more context about the issue that you are encountering!
+- type: textarea
+ attributes:
+ label: Configuration
+ description: Contents of your configuration file (if relevant).
+ render: yaml
+ placeholder: |
+ issuer: http://127.0.0.1:5556/dex
+
+ storage:
+ # ...
+
+ connectors:
+ # ...
+
+ staticClients:
+ # ...
+- type: textarea
+ attributes:
+ label: Logs
+ description: Dex application logs (if relevant).
+ render: shell
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index 02d15f70..4e78de20 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -2,7 +2,7 @@ blank_issues_enabled: false
contact_links:
- name: ❓ Ask a question
url: https://github.com/dexidp/dex/discussions/new?category=q-a
- about: Ask and discuss questions with other Dex community members
+ about: Ask and discuss questions with other Dex community members
- name: 📚 Documentation
url: https://dexidp.io/docs/
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
deleted file mode 100644
index c8f46454..00000000
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ /dev/null
@@ -1,20 +0,0 @@
----
-name: 🚀 Feature request
-about: Suggest an idea for Dex
----
-
-
-#### Is your feature request related to a problem?
-
-
-#### Describe the solution you'd like to see
-
-
-#### Describe alternatives you've considered
-
-
-#### Additional context
-
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml
new file mode 100644
index 00000000..a0f21716
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.yaml
@@ -0,0 +1,40 @@
+name: 🚀 Feature request
+description: Suggest an idea for Dex
+body:
+- type: markdown
+ attributes:
+ value: |
+ Thank you for submitting a feature request!
+
+ Please describe what you would like to change/add and why in detail by filling out the template below.
+
+ If you are not sure if your request fits into Dex, you can contact us via the available [support channels](https://github.com/dexidp/dex/issues/new/choose).
+- type: checkboxes
+ attributes:
+ label: Preflight Checklist
+ description: Please ensure you've completed all of the following.
+ options:
+ - label: I agree to follow the [Code of Conduct](https://github.com/dexidp/dex/blob/master/.github/CODE_OF_CONDUCT.md) that this project adheres to.
+ required: true
+ - label: I have searched the [issue tracker](https://www.github.com/dexidp/dex/issues) for an issue that matches the one I want to file, without success.
+ required: true
+- type: textarea
+ attributes:
+ label: Problem Description
+ description: A clear and concise description of the problem you are seeking to solve with this feature request.
+ validations:
+ required: true
+- type: textarea
+ attributes:
+ label: Proposed Solution
+ description: A clear and concise description of what would you like to happen.
+ validations:
+ required: true
+- type: textarea
+ attributes:
+ label: Alternatives Considered
+ description: A clear and concise description of any alternative solutions or features you've considered.
+- type: textarea
+ attributes:
+ label: Additional Information
+ description: Add any other context about the problem here.