1.5 KiB
1.5 KiB
layout | title | description | author | image | categories | comments | pic01 | pic02 | pic03 | pic04 | pic05 | pic06 | pic07 | pic08 | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
post | Portainer Oauth | Login into Portainer using your Github account or even better.. your private Gitea account (with 2FA) | sthope |
|
true | /assets/images/portainer_oauth/1.png | /assets/images/portainer_oauth/2.png | /assets/images/portainer_oauth/3.png | /assets/images/portainer_oauth/4.png | /assets/images/portainer_oauth/5.png | /assets/images/portainer_oauth/6.png | /assets/images/portainer_oauth/7.png | /assets/images/portainer_oauth/8.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
Create your app details
Application name
: Whatever you wanna call it
Homepage URL
: eg: http://IP:9000
Application description
: can be empty
Authorization callback URL
: eg: http://IP:9000
After Github creates the application click on Generate a new client secret
and copy Client ID
and the Secret
it created.
This is it Github Part is finish!
Portainer
Open Portainer UI and go to Settings
on the right side menu then click on Authentication
under it.
Gitea
Enter https://git.sthope.dev/user/settings and go to Applications