---
layout: post
title: "Portainer Oauth"
description: "Login into Portainer using your Github account or even better.. your private Gitea account (with 2FA)"
author: sthope
image: 
categories: [ Docker, Portainer, OAuth ]
comments: true
pic01: "/assets/images/portainer_oauth/1.png"
pic02: "/assets/images/portainer_oauth/2.png"
pic03: "/assets/images/portainer_oauth/3.png"
pic04: "/assets/images/portainer_oauth/4.png"
pic05: "/assets/images/portainer_oauth/5.png"
pic06: "/assets/images/portainer_oauth/6.png"
pic07: "/assets/images/portainer_oauth/7.png"
---


# Github

Login into Github and go to https://github.com/settings/profile on the right side menu near the end enter `Developer settings` and select `OAuth Apps` 
<img src="{{page.pic02}}"/>
<img src="{{page.pic03}}"/>
Create your app details 
<img src="{{page.pic04}}"/>

<br>
<br>
<br>
# Gitea

Enter https://git.sthope.dev/user/settings and go to `Applications`